summaryrefslogtreecommitdiff
path: root/poky/documentation/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'poky/documentation/conf.py')
-rw-r--r--poky/documentation/conf.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/poky/documentation/conf.py b/poky/documentation/conf.py
index 80d5e8e83..96118abec 100644
--- a/poky/documentation/conf.py
+++ b/poky/documentation/conf.py
@@ -1,6 +1,6 @@
# Configuration file for the Sphinx documentation builder.
#
-# SPDX-License-Identifier: CC-BY-2.0-UK
+# SPDX-License-Identifier: CC-BY-SA-2.0-UK
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
@@ -53,8 +53,7 @@ templates_path = ['_templates']
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
-exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'boilerplate.rst',
- 'adt-manual/*.rst']
+exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'boilerplate.rst']
# master document name. The default changed from contents to index. so better
# set it ourselves.
@@ -79,6 +78,7 @@ extlinks = {
'yocto_git': ('https://git.yoctoproject.org%s', None),
'oe_home': ('https://www.openembedded.org%s', None),
'oe_lists': ('https://lists.openembedded.org%s', None),
+ 'oe_git': ('https://git.openembedded.org%s', None),
}
# Intersphinx config to use cross reference with Bitbake user manual
@@ -125,3 +125,8 @@ html_last_updated_fmt = '%b %d, %Y'
# Remove the trailing 'dot' in section numbers
html_secnumber_suffix = " "
+
+latex_elements = {
+ 'passoptionstopackages': '\PassOptionsToPackage{bookmarksdepth=5}{hyperref}',
+ 'preamble': '\setcounter{tocdepth}{2}',
+}