diff options
author | Jonathan Corbet <corbet@lwn.net> | 2019-04-25 09:55:07 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2019-06-26 13:14:09 -0400 |
commit | d74b0d31dddeac2b44c715588d53d9a1e5b1158e (patch) | |
tree | e5f7874fb92f518f1fcb5ff9299cc8f0b3c52ac8 /Documentation/conf.py | |
parent | 0f48a2441613d39db50fb12cc739455ef7f1921f (diff) |
Docs: An initial automarkup extension for sphinx
Rather than fill our text files with :c:func:`function()` syntax, just do
the markup via a hook into the sphinx build process.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r-- | Documentation/conf.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py index 7ace3f8852bd..a502baecbb85 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py | |||
@@ -34,7 +34,8 @@ needs_sphinx = '1.3' | |||
34 | # Add any Sphinx extension module names here, as strings. They can be | 34 | # Add any Sphinx extension module names here, as strings. They can be |
35 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom | 35 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
36 | # ones. | 36 | # ones. |
37 | extensions = ['kerneldoc', 'rstFlatTable', 'kernel_include', 'cdomain', 'kfigure', 'sphinx.ext.ifconfig'] | 37 | extensions = ['kerneldoc', 'rstFlatTable', 'kernel_include', 'cdomain', |
38 | 'kfigure', 'sphinx.ext.ifconfig', 'automarkup'] | ||
38 | 39 | ||
39 | # The name of the math extension changed on Sphinx 1.4 | 40 | # The name of the math extension changed on Sphinx 1.4 |
40 | if (major == 1 and minor > 3) or (major > 1): | 41 | if (major == 1 and minor > 3) or (major > 1): |