Docs: Add autoref role
Use new `autoref` role when using single backticks. Allows automatic mapping to a cmd ref or a cell ref.
This commit is contained in:
@@ -41,6 +41,9 @@ html_static_path = ['_static', "_images"]
|
||||
pygments_style = 'colorful'
|
||||
highlight_language = 'none'
|
||||
|
||||
# default single quotes to attempt auto reference, or fallback to code
|
||||
default_role = 'autoref'
|
||||
|
||||
extensions = ['sphinx.ext.autosectionlabel', 'sphinxcontrib.bibtex']
|
||||
|
||||
if os.getenv("READTHEDOCS"):
|
||||
|
||||
Reference in New Issue
Block a user