Skip to content

Commit 7b46c70

Browse files
Merge pull request #6441 from jorisvandenbossche/doc-sphinxext-readme
DOC: add explanation to doc/sphinxext
2 parents 888c8ea + 1eed83b commit 7b46c70

File tree

5 files changed

+19
-2
lines changed

5 files changed

+19
-2
lines changed

doc/source/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
'sphinx.ext.extlinks',
4141
'sphinx.ext.todo',
4242
'numpydoc', # used to parse numpy-style docstrings for autodoc
43-
'ipython_directive',
44-
'ipython_console_highlighting',
43+
'ipython_sphinxext.ipython_directive',
44+
'ipython_sphinxext.ipython_console_highlighting',
4545
'sphinx.ext.intersphinx',
4646
'sphinx.ext.todo',
4747
'sphinx.ext.coverage',

doc/sphinxext/README.rst

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
sphinxext
2+
=========
3+
4+
This directory contains copies of different sphinx extensions in use in the
5+
pandas documentation. These copies originate from other projects:
6+
7+
- ``numpydoc`` - Numpy's Sphinx extensions: this can be found at its own
8+
repository: https://github.com/numpy/numpydoc
9+
- ``ipython_directive`` and ``ipython_console_highlighting`` in the folder
10+
`ipython_sphinxext` - Sphinx extensions from IPython: these are included
11+
in IPython: https://github.com/ipython/ipython/tree/master/IPython/sphinxext
12+
13+
.. note::
14+
15+
These copies are maintained at the respective projects, so fixes should,
16+
to the extent possible, be pushed upstream instead of only adapting our
17+
local copy to avoid divergence between the the local and upstream version.

doc/sphinxext/ipython_sphinxext/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)