From 871a8b3e34b3fdb8594fa1faa63210c0ef048aa1 Mon Sep 17 00:00:00 2001 From: Glenn Hutchings Date: Thu, 14 Apr 2016 19:59:51 +0100 Subject: [PATCH] Minor tweaks to the main index file. --- conf.py | 2 +- index.rst | 22 +++++----------------- 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/conf.py b/conf.py index 00111b4..402eb1c 100644 --- a/conf.py +++ b/conf.py @@ -158,7 +158,7 @@ html_title = project # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['static'] +#html_static_path = ['static'] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied diff --git a/index.rst b/index.rst index 18f35c2..fc6588c 100644 --- a/index.rst +++ b/index.rst @@ -4,8 +4,6 @@ .. only:: html - Contents: - .. toctree:: :maxdepth: 2 @@ -13,7 +11,7 @@ history .. toctree:: - :maxdepth: 2 + :maxdepth: 1 foreword about @@ -24,36 +22,26 @@ .. toctree:: :maxdepth: 2 - :glob: :numbered: 1 + :glob: chapters/* -.. only:: html - - Appendices: - .. raw:: latex \startappendices .. toctree:: + :maxdepth: 1 :glob: appendices/* .. only:: html - Indices: - -* :ref:`genindex` -* :ref:`search` - -.. only:: html - - End notes: + * :ref:`genindex` + * :ref:`search` .. toctree:: - :maxdepth: 2 endnotes -- 2.31.1