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:
parent
8c041c81e0
commit
d98e5fdc86
|
@ -339,7 +339,7 @@ pdf_page_template = 'oneColumn'
|
||||||
pdf_use_toc = True
|
pdf_use_toc = True
|
||||||
|
|
||||||
# How many levels deep should the table of contents be?
|
# How many levels deep should the table of contents be?
|
||||||
pdf_toc_depth = 2
|
pdf_toc_depth = 3
|
||||||
|
|
||||||
# Add section number to section references
|
# Add section number to section references
|
||||||
#pdf_use_numbered_links = False
|
#pdf_use_numbered_links = False
|
||||||
|
|
|
@ -10,7 +10,7 @@ Documentation
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 3
|
:maxdepth: 1
|
||||||
|
|
||||||
pre-install-guide
|
pre-install-guide
|
||||||
user-guide
|
user-guide
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
PageBreak oneColumn
|
PageBreak oneColumn
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 3
|
||||||
|
|
||||||
.. include:: /pages/preface/preface.rst
|
.. include:: /pages/preface/preface.rst
|
||||||
.. include:: /contents/contents-install.rst
|
.. include:: /contents/contents-install.rst
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
PageBreak oneColumn
|
PageBreak oneColumn
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 3
|
||||||
|
|
||||||
.. include:: /pages/preface/preface.rst
|
.. include:: /pages/preface/preface.rst
|
||||||
.. include:: /contents/contents-operations.rst
|
.. include:: /contents/contents-operations.rst
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
PageBreak oneColumn
|
PageBreak oneColumn
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 3
|
||||||
|
|
||||||
.. include:: /pages/preface/preface.rst
|
.. include:: /pages/preface/preface.rst
|
||||||
.. include:: /contents/contents-pre-install-guide.rst
|
.. include:: /contents/contents-pre-install-guide.rst
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
PageBreak oneColumn
|
PageBreak oneColumn
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 3
|
||||||
|
|
||||||
.. include:: /pages/preface/preface.rst
|
.. include:: /pages/preface/preface.rst
|
||||||
.. include:: /contents/contents-refarch.rst
|
.. include:: /contents/contents-refarch.rst
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
PageBreak oneColumn
|
PageBreak oneColumn
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 3
|
||||||
|
|
||||||
.. include:: /pages/preface/preface.rst
|
.. include:: /pages/preface/preface.rst
|
||||||
.. include:: /contents/contents-release-notes.rst
|
.. include:: /contents/contents-release-notes.rst
|
||||||
|
|
|
@ -23,6 +23,6 @@
|
||||||
PageBreak oneColumn
|
PageBreak oneColumn
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 3
|
||||||
|
|
||||||
.. include:: ../contents/contents-virtualbox.rst
|
.. include:: ../contents/contents-virtualbox.rst
|
||||||
|
|
|
@ -6,6 +6,6 @@ Terminology Reference
|
||||||
=====================
|
=====================
|
||||||
|
|
||||||
.. contents:: :local:
|
.. contents:: :local:
|
||||||
:depth: 2
|
:depth: 3
|
||||||
|
|
||||||
.. include:: /contents/contents-terminology.rst
|
.. include:: /contents/contents-terminology.rst
|
||||||
|
|
|
@ -3,8 +3,9 @@
|
||||||
|
|
||||||
.. _user-guide:
|
.. _user-guide:
|
||||||
|
|
||||||
|
==========
|
||||||
User Guide
|
User Guide
|
||||||
=====================
|
==========
|
||||||
|
|
||||||
.. contents:: :local:
|
.. contents:: :local:
|
||||||
:depth: 3
|
:depth: 3
|
||||||
|
|
|
@ -7,6 +7,6 @@ Running Fuel on VirtualBox
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
.. contents:: :local:
|
.. contents:: :local:
|
||||||
:depth: 2
|
:depth: 3
|
||||||
|
|
||||||
.. include:: /contents/contents-virtualbox.rst
|
.. include:: /contents/contents-virtualbox.rst
|
||||||
|
|
Loading…
Reference in New Issue