Fix TOC depth for HTML and PDF

Main TOC should not be deep,
local TOCs and PDF TOC should
be as deep as possible.

Change-Id: I4528539bab218cda541b03812f62a0e245e8be3c
This commit is contained in:
Dmitry Ilyin 2014-05-27 22:50:13 +04:00 committed by Dmitry Borodaenko
parent 8c041c81e0
commit d98e5fdc86
11 changed files with 12 additions and 11 deletions

View File

@ -339,7 +339,7 @@ pdf_page_template = 'oneColumn'
pdf_use_toc = True
# How many levels deep should the table of contents be?
pdf_toc_depth = 2
pdf_toc_depth = 3
# Add section number to section references
#pdf_use_numbered_links = False

View File

@ -10,7 +10,7 @@ Documentation
=============================
.. toctree::
:maxdepth: 3
:maxdepth: 1
pre-install-guide
user-guide

View File

@ -23,7 +23,7 @@
PageBreak oneColumn
.. toctree::
:maxdepth: 2
:maxdepth: 3
.. include:: /pages/preface/preface.rst
.. include:: /contents/contents-install.rst

View File

@ -23,7 +23,7 @@
PageBreak oneColumn
.. toctree::
:maxdepth: 2
:maxdepth: 3
.. include:: /pages/preface/preface.rst
.. include:: /contents/contents-operations.rst

View File

@ -23,7 +23,7 @@
PageBreak oneColumn
.. toctree::
:maxdepth: 2
:maxdepth: 3
.. include:: /pages/preface/preface.rst
.. include:: /contents/contents-pre-install-guide.rst

View File

@ -23,7 +23,7 @@
PageBreak oneColumn
.. toctree::
:maxdepth: 2
:maxdepth: 3
.. include:: /pages/preface/preface.rst
.. include:: /contents/contents-refarch.rst

View File

@ -23,7 +23,7 @@
PageBreak oneColumn
.. toctree::
:maxdepth: 2
:maxdepth: 3
.. include:: /pages/preface/preface.rst
.. include:: /contents/contents-release-notes.rst

View File

@ -23,6 +23,6 @@
PageBreak oneColumn
.. toctree::
:maxdepth: 2
:maxdepth: 3
.. include:: ../contents/contents-virtualbox.rst

View File

@ -6,6 +6,6 @@ Terminology Reference
=====================
.. contents:: :local:
:depth: 2
:depth: 3
.. include:: /contents/contents-terminology.rst

View File

@ -3,8 +3,9 @@
.. _user-guide:
==========
User Guide
=====================
==========
.. contents:: :local:
:depth: 3

View File

@ -7,6 +7,6 @@ Running Fuel on VirtualBox
==========================
.. contents:: :local:
:depth: 2
:depth: 3
.. include:: /contents/contents-virtualbox.rst