aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r--Documentation/conf.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 792b6338ef19..96b7aa66c89c 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -28,7 +28,7 @@ sys.path.insert(0, os.path.abspath('sphinx'))
28# Add any Sphinx extension module names here, as strings. They can be 28# Add any Sphinx extension module names here, as strings. They can be
29# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom 29# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
30# ones. 30# ones.
31extensions = ['kernel-doc', 'rstFlatTable'] 31extensions = ['kernel-doc', 'rstFlatTable', 'kernel_include']
32 32
33# Gracefully handle missing rst2pdf. 33# Gracefully handle missing rst2pdf.
34try: 34try:
@@ -176,7 +176,14 @@ except ImportError:
176# Add any paths that contain custom static files (such as style sheets) here, 176# Add any paths that contain custom static files (such as style sheets) here,
177# relative to this directory. They are copied after the builtin static files, 177# relative to this directory. They are copied after the builtin static files,
178# so a file named "default.css" will overwrite the builtin "default.css". 178# so a file named "default.css" will overwrite the builtin "default.css".
179#html_static_path = ['_static'] 179
180html_static_path = ['sphinx-static']
181
182html_context = {
183 'css_files': [
184 '_static/theme_overrides.css',
185 ],
186}
180 187
181# Add any extra paths that contain custom files (such as robots.txt or 188# Add any extra paths that contain custom files (such as robots.txt or
182# .htaccess) here, relative to this directory. These files are copied 189# .htaccess) here, relative to this directory. These files are copied
@@ -404,7 +411,7 @@ epub_exclude_files = ['search.html']
404# multiple PDF files here actually tries to get the cross-referencing right 411# multiple PDF files here actually tries to get the cross-referencing right
405# *between* PDF files. 412# *between* PDF files.
406pdf_documents = [ 413pdf_documents = [
407 ('index', u'Kernel', u'Kernel', u'J. Random Bozo'), 414 ('kernel-documentation', u'Kernel', u'Kernel', u'J. Random Bozo'),
408] 415]
409 416
410# kernel-doc extension configuration for running Sphinx directly (e.g. by Read 417# kernel-doc extension configuration for running Sphinx directly (e.g. by Read