diff --git a/docs/source/_static/css/custom.css b/docs/source/_static/css/custom.css index 7b67808..d4d7a90 100644 --- a/docs/source/_static/css/custom.css +++ b/docs/source/_static/css/custom.css @@ -6,6 +6,29 @@ ul { text-align: left } +/* widen main content area */ +.bd-page-width { + max-width: 100rem; +} + +/* make versionadded smaller and inline with param name */ +/* don't do for deprecated / versionchanged; they have extra info (too long to fit) */ +div.versionadded>p { + margin-top: 0; + margin-bottom: 0; +} + +div.versionadded { + margin: 0; + margin-left: 0.5rem; + display: inline-block; +} + +/* when FF supports :has(), change to → dd > p:has(+div.versionadded) */ +dd>p { + display: inline; +} + @media (max-width: 1199.98px) { .bd-header .navbar-header-items__start { flex-shrink: 1; diff --git a/src/pybispectra/utils/utils.py b/src/pybispectra/utils/utils.py index 9ab2080..0ba7134 100644 --- a/src/pybispectra/utils/utils.py +++ b/src/pybispectra/utils/utils.py @@ -207,10 +207,10 @@ def compute_tfr( output : ``"power"`` | ``"complex"`` (default ``"power"``) Type of TFR output to return. + .. versionadded:: 1.3 .. note:: If ``output = "complex"`` and ``tfr_mode = "multitaper"``, returning weights for each taper requires MNE version 1.10 or higher. - .. versionadded:: 1.3 n_jobs : int (default ``1``) Number of jobs to run in parallel. If ``-1``, all available CPUs are used.