Skip to content

Commit 11a6e4d

Browse files
committed
DOC: Remove .ipynb suffix from "toctree"
sphinx-doc/sphinx#5756
1 parent a073355 commit 11a6e4d

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

doc/index.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ was generated from Jupyter notebooks.
77
:maxdepth: 3
88
:glob:
99

10-
installation.ipynb
11-
usage.ipynb
12-
markdown-cells.ipynb
13-
code-cells.ipynb
14-
raw-cells.ipynb
15-
hidden-cells.ipynb
16-
executing-notebooks.ipynb
17-
prolog-and-epilog.ipynb
18-
custom-formats.ipynb
10+
installation
11+
usage
12+
markdown-cells
13+
code-cells
14+
raw-cells
15+
hidden-cells
16+
executing-notebooks
17+
prolog-and-epilog
18+
custom-formats
1919
subdir/*
20-
a-normal-rst-file.rst
21-
links.ipynb
20+
a-normal-rst-file
21+
links
2222

2323
.. only:: html
2424

doc/usage.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"\n",
4242
"For an example, see this project's [conf.py](conf.py) file.\n",
4343
"\n",
44-
"Once your `conf.py` is in place, edit the file named `index.rst` and add the file names of your notebooks (with or without the `.ipynb` extension) to the [toctree](http://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-toctree) directive.\n",
44+
"Once your `conf.py` is in place, edit the file named `index.rst` and add the file names of your notebooks (without the `.ipynb` extension) to the [toctree](http://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-toctree) directive.\n",
4545
"For an example, see this project's [index.rst](index.rst) file."
4646
]
4747
},
@@ -371,7 +371,7 @@
371371
"name": "python",
372372
"nbconvert_exporter": "python",
373373
"pygments_lexer": "ipython3",
374-
"version": "3.7.1"
374+
"version": "3.7.2rc1"
375375
}
376376
},
377377
"nbformat": 4,

0 commit comments

Comments
 (0)