Commit 58ad30cf authored by Jonathan Corbet's avatar Jonathan Corbet

docs: fix reference to core-api/namespaces.rst

Fix a couple of dangling links to core-api/namespaces.rst by turning them
into proper references.  Enable the autosection extension (available since
Sphinx 1.4) to make this work.
Co-developed-by: default avatarFederico Vaga <federico.vaga@vaga.pv.it>
Fixes: fcfacb9f ("doc: move namespaces.rst from kbuild/ to core-api/")
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 7d3d3254
...@@ -38,7 +38,7 @@ needs_sphinx = '1.3' ...@@ -38,7 +38,7 @@ needs_sphinx = '1.3'
# ones. # ones.
extensions = ['kerneldoc', 'rstFlatTable', 'kernel_include', 'cdomain', extensions = ['kerneldoc', 'rstFlatTable', 'kernel_include', 'cdomain',
'kfigure', 'sphinx.ext.ifconfig', 'automarkup', 'kfigure', 'sphinx.ext.ifconfig', 'automarkup',
'maintainers_include'] 'maintainers_include', 'sphinx.ext.autosectionlabel' ]
# The name of the math extension changed on Sphinx 1.4 # The name of the math extension changed on Sphinx 1.4
if (major == 1 and minor > 3) or (major > 1): if (major == 1 and minor > 3) or (major > 1):
......
...@@ -601,7 +601,7 @@ Defined in ``include/linux/export.h`` ...@@ -601,7 +601,7 @@ Defined in ``include/linux/export.h``
This is the variant of `EXPORT_SYMBOL()` that allows specifying a symbol This is the variant of `EXPORT_SYMBOL()` that allows specifying a symbol
namespace. Symbol Namespaces are documented in namespace. Symbol Namespaces are documented in
``Documentation/core-api/symbol-namespaces.rst``. :ref:`Documentation/core-api/symbol-namespaces.rst <Symbol Namespaces>`
:c:func:`EXPORT_SYMBOL_NS_GPL()` :c:func:`EXPORT_SYMBOL_NS_GPL()`
-------------------------------- --------------------------------
...@@ -610,7 +610,7 @@ Defined in ``include/linux/export.h`` ...@@ -610,7 +610,7 @@ Defined in ``include/linux/export.h``
This is the variant of `EXPORT_SYMBOL_GPL()` that allows specifying a symbol This is the variant of `EXPORT_SYMBOL_GPL()` that allows specifying a symbol
namespace. Symbol Namespaces are documented in namespace. Symbol Namespaces are documented in
``Documentation/core-api/symbol-namespaces.rst``. :ref:`Documentation/core-api/symbol-namespaces.rst <Symbol Namespaces>`
Routines and Conventions Routines and Conventions
======================== ========================
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment