Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a hidden toctree pointing at the index file in the docs to sile…

…nce a sphinx warning.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 0aeb6c964ae3177279410a1b5efaceb14a98db7e 1 parent 204253e
@alex alex authored
Showing with 21 additions and 16 deletions.
  1. +3 −3 docs/conf.py
  2. +18 −13 docs/contents.txt
View
6 docs/conf.py
@@ -87,9 +87,9 @@
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'trac'
-# Sphinx will recurse into subversion configuration folders and try to read
-# any document file within. These should be ignored.
-# Note: exclude_dirnames is new in Sphinx 0.5
+# Sphinx will recurse into subversion configuration folders and try to read
+# any document file within. These should be ignored.
+# Note: exclude_dirnames is new in Sphinx 0.5
exclude_dirnames = ['.svn']
# -- Options for HTML output ---------------------------------------------------
View
31 docs/contents.txt
@@ -5,17 +5,22 @@ Django documentation contents
=============================
.. toctree::
- :maxdepth: 2
-
- intro/index
- topics/index
- howto/index
- faq/index
- ref/index
- misc/index
- glossary
- releases/index
- internals/index
+ :hidden:
+
+ index
+
+.. toctree::
+ :maxdepth: 2
+
+ intro/index
+ topics/index
+ howto/index
+ faq/index
+ ref/index
+ misc/index
+ glossary
+ releases/index
+ internals/index
Indices, glossary and tables
============================
@@ -32,5 +37,5 @@ have been replaced in newer versions of Django.
.. toctree::
:maxdepth: 2
-
- obsolete/index
+
+ obsolete/index
Please sign in to comment.
Something went wrong with that request. Please try again.