Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Commit c0f9363

Browse files
committed
build: pydata_sphinx_theme expects there to be a non-empty toctree
1 parent 424435b commit c0f9363

File tree

11 files changed

+54
-6
lines changed

11 files changed

+54
-6
lines changed

en_us/contribute/source/dummy.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Dummy page
2+
##########
3+
4+
.. pydata_sphinx_theme wants there to be a populated toctree, not an empty index page, so populate the toctree :(

en_us/contribute/source/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,10 @@ benefit from, please post on the `forums`_.
6565

6666
.. _forums: https://discuss.openedx.org/
6767

68+
69+
.. toctree::
70+
:hidden:
71+
72+
dummy
73+
6874
.. include:: ../../links/links.rst

en_us/landing_page/source/dummy.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Dummy page
2+
##########
3+
4+
.. pydata_sphinx_theme wants there to be a populated toctree, not an empty index page, so populate the toctree :(

en_us/landing_page/source/index.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,10 @@ If you use or host an Open edX site
3434
:ref:`installation:Installing, Configuring, and Running the Open edX
3535
Platform`.
3636

37+
.. toctree::
38+
:hidden:
39+
40+
dummy
41+
3742
.. _docs.edx.org: https://docs.edx.org
38-
.. _edX Release Notes: http://edx.readthedocs.io/projects/edx-release-notes/en/latest/
43+
.. _edX Release Notes: http://edx.readthedocs.io/projects/edx-release-notes/en/latest/

en_us/olx/source/dummy.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Dummy page
2+
##########
3+
4+
.. pydata_sphinx_theme wants there to be a populated toctree, not an empty index page, so populate the toctree :(

en_us/olx/source/index.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,9 @@
22
Open edX OLX Guide
33
############################
44

5-
.. This is a placeholder for redirects to the new docs notes site.
5+
.. This is a placeholder for redirects to the new docs notes site.
6+
7+
.. toctree::
8+
:hidden:
9+
10+
dummy
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Dummy page
2+
##########
3+
4+
.. pydata_sphinx_theme wants there to be a populated toctree, not an empty index page, so populate the toctree :(
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
###############################
2+
Open edX Course Author's Guide
3+
###############################
4+
5+
.. This is a placeholder for redirects to the new docs notes site.
6+
7+
.. toctree::
8+
:hidden:
9+
10+
dummy

en_us/xblock-tutorial/source/conf.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
project = u'Open edX XBlock Tutorial'
1111
set_audience(OPENEDX, DEVELOPERS)
1212

13-
# remove directory when content is first added to it, and add to index
14-
exclude_patterns = ['reusable/*']
15-
1613

1714
redirects = {
1815
"*": "https://docs.openedx.org/projects/xblock/en/latest/xblock-tutorial/$source.html",
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Dummy page
2+
##########
3+
4+
.. pydata_sphinx_theme wants there to be a populated toctree, not an empty index page, so populate the toctree :(

en_us/xblock-tutorial/source/index.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,9 @@
22
Open edX XBlock Tutorial
33
############################
44

5-
.. This is a placeholder for redirects to the new docs site.
5+
.. This is a placeholder for redirects to the new docs site.
6+
7+
.. toctree::
8+
:hidden:
9+
10+
dummy

0 commit comments

Comments
 (0)