Added a hidden toctree pointing at the index file in the docs to silence a sphinx warning.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Alex Gaynor 2010-11-17 20:26:20 +00:00
parent 204253ed40
commit 0aeb6c964a
2 changed files with 21 additions and 16 deletions

View File

@ -87,9 +87,9 @@ show_authors = False
# The name of the Pygments (syntax highlighting) style to use. # The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'trac' pygments_style = 'trac'
# Sphinx will recurse into subversion configuration folders and try to read # Sphinx will recurse into subversion configuration folders and try to read
# any document file within. These should be ignored. # any document file within. These should be ignored.
# Note: exclude_dirnames is new in Sphinx 0.5 # Note: exclude_dirnames is new in Sphinx 0.5
exclude_dirnames = ['.svn'] exclude_dirnames = ['.svn']
# -- Options for HTML output --------------------------------------------------- # -- Options for HTML output ---------------------------------------------------

View File

@ -5,17 +5,22 @@ Django documentation contents
============================= =============================
.. toctree:: .. toctree::
:maxdepth: 2 :hidden:
intro/index index
topics/index
howto/index .. toctree::
faq/index :maxdepth: 2
ref/index
misc/index intro/index
glossary topics/index
releases/index howto/index
internals/index faq/index
ref/index
misc/index
glossary
releases/index
internals/index
Indices, glossary and tables Indices, glossary and tables
============================ ============================
@ -32,5 +37,5 @@ have been replaced in newer versions of Django.
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
obsolete/index obsolete/index