Add new default role tech and the provisional nref-option role
Co-authored-by: pancho horrillo <pedrofelipe.horrillo@bbva.com>
This commit is contained in:
+9
-1
@@ -14,7 +14,6 @@
|
|||||||
# import sys
|
# import sys
|
||||||
# sys.path.insert(0, os.path.abspath('.'))
|
# sys.path.insert(0, os.path.abspath('.'))
|
||||||
|
|
||||||
|
|
||||||
# -- Project information -----------------------------------------------------
|
# -- Project information -----------------------------------------------------
|
||||||
|
|
||||||
project = 'Kapow!'
|
project = 'Kapow!'
|
||||||
@@ -39,6 +38,15 @@ templates_path = ['_templates']
|
|||||||
# This pattern also affects html_static_path and html_extra_path.
|
# This pattern also affects html_static_path and html_extra_path.
|
||||||
exclude_patterns = []
|
exclude_patterns = []
|
||||||
|
|
||||||
|
rst_prolog = """
|
||||||
|
.. role:: tech(code)
|
||||||
|
:class: xref
|
||||||
|
|
||||||
|
.. role:: nref-option(code)
|
||||||
|
:class: xref
|
||||||
|
|
||||||
|
.. default-role:: tech
|
||||||
|
"""
|
||||||
|
|
||||||
# -- Options for HTML output -------------------------------------------------
|
# -- Options for HTML output -------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user