diff --git a/Documentation/Cookbook/rst/conf.py.in b/Documentation/Cookbook/rst/conf.py.in index e063c8f5ef21a1972bfbcb80e876695c0e6ec1eb..4c927cc3566189e398b34f42498815c6ffb2e520 100644 --- a/Documentation/Cookbook/rst/conf.py.in +++ b/Documentation/Cookbook/rst/conf.py.in @@ -45,7 +45,7 @@ source_suffix = '.rst' #source_encoding = 'utf-8-sig' # The master toctree document. -master_doc = 'index' +master_doc = 'index_TOC' # General information about the project. project = u'OTB CookBook' @@ -202,7 +202,7 @@ latex_elements = { # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - ('index', 'OTBCookBook.tex', u'OTB CookBook Documentation', + ('index_TOC', 'CookBook-@OTB_VERSION_MAJOR@.@OTB_VERSION_MINOR@.tex', u'OTB CookBook Documentation', u'OTB Team', 'manual'), ] diff --git a/Documentation/Cookbook/rst/index.rst b/Documentation/Cookbook/rst/index.rst index e42246e4204ab58857daf917df108c503342b316..ad0c31291382519720f666a72aadcfd0b7ddf6f0 100644 --- a/Documentation/Cookbook/rst/index.rst +++ b/Documentation/Cookbook/rst/index.rst @@ -36,22 +36,6 @@ For other documentation, be sure to read: - `Doxygen <http://orfeo-toolbox.org/doxygen/>`_, for exhaustive documentation of the C++ API. -Contents -======== - -.. toctree:: - :maxdepth: 3 - - Installation - OTB-Applications - Monteverdi - Recipes - Applications - -Indices and tables -================== - * :ref:`genindex` * :ref:`modindex` * :ref:`search` - diff --git a/Documentation/Cookbook/rst/index_TOC.rst b/Documentation/Cookbook/rst/index_TOC.rst new file mode 100644 index 0000000000000000000000000000000000000000..ae26c9ee243b47b8780c8d15c60355b4cb6572e5 --- /dev/null +++ b/Documentation/Cookbook/rst/index_TOC.rst @@ -0,0 +1,12 @@ +Table of Contents +================= + +.. toctree:: + :maxdepth: 3 + + index + Installation + OTB-Applications + Monteverdi + Recipes + Applications