File tree 3 files changed +19
-10
lines changed
3 files changed +19
-10
lines changed Original file line number Diff line number Diff line change 50
50
# sphinxext.
51
51
52
52
extensions = [
53
- "sphinx.ext.autodoc" ,
54
- "sphinx.ext.autosummary" ,
55
- "sphinx.ext.doctest" ,
56
- "sphinx.ext.extlinks" ,
57
- "sphinx.ext.todo" ,
58
- "numpydoc" , # handle NumPy documentation formatted docstrings
53
+ "contributors" , # custom pandas extension
59
54
"IPython.sphinxext.ipython_directive" ,
60
55
"IPython.sphinxext.ipython_console_highlighting" ,
61
56
"matplotlib.sphinxext.plot_directive" ,
62
- "sphinx.ext.intersphinx" ,
57
+ "numpydoc" ,
58
+ "sphinx_copybutton" ,
59
+ "sphinx_panels" ,
60
+ "sphinx_toggleprompt" ,
61
+ "sphinx.ext.autodoc" ,
62
+ "sphinx.ext.autosummary" ,
63
63
"sphinx.ext.coverage" ,
64
- "sphinx.ext.mathjax" ,
64
+ "sphinx.ext.doctest" ,
65
+ "sphinx.ext.extlinks" ,
65
66
"sphinx.ext.ifconfig" ,
67
+ "sphinx.ext.intersphinx" ,
66
68
"sphinx.ext.linkcode" ,
69
+ "sphinx.ext.mathjax" ,
70
+ "sphinx.ext.todo" ,
67
71
"nbsphinx" ,
68
- "sphinx_panels" ,
69
- "contributors" , # custom pandas extension
70
72
]
71
73
72
74
exclude_patterns = [
144
146
# already loads it
145
147
panels_add_bootstrap_css = False
146
148
149
+ # https://sphinx-toggleprompt.readthedocs.io/en/stable/#offset
150
+ toggleprompt_offset_right = 35
151
+
147
152
# Add any paths that contain templates here, relative to this directory.
148
153
templates_path = ["../_templates" ]
149
154
Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ dependencies:
103
103
- pytest-cython # doctest
104
104
- sphinx
105
105
- sphinx-panels
106
+ - sphinx-copybutton
106
107
- types-python-dateutil
107
108
- types-PyMySQL
108
109
- types-pytz
@@ -128,3 +129,4 @@ dependencies:
128
129
- jupyterlab >=3.4,<4
129
130
- pip :
130
131
- jupyterlite==0.1.0b10
132
+ - sphinx-toggleprompt
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ pydata-sphinx-theme==0.8.0
80
80
pytest-cython
81
81
sphinx
82
82
sphinx-panels
83
+ sphinx-copybutton
83
84
types-python-dateutil
84
85
types-PyMySQL
85
86
types-pytz
98
99
requests
99
100
jupyterlab >= 3.4 ,< 4
100
101
jupyterlite == 0.1.0b10
102
+ sphinx-toggleprompt
101
103
setuptools >= 51.0.0
You can’t perform that action at this time.
0 commit comments