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:
Roberto Abdelkader Martínez Pérez
2019-12-11 15:53:54 +01:00
parent e84681d828
commit d7f4293d15
+9 -1
View File
@@ -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 -------------------------------------------------