Make py:obj default Sphinx's role

This commit is contained in:
Lonami Exo
2018-03-28 16:03:47 +02:00
parent dcb7820c5f
commit 395e702586
7 changed files with 164 additions and 162 deletions

View File

@@ -42,6 +42,9 @@ extensions = [
'custom_roles'
]
# Change the default role so we can avoid prefixing everything with :obj:
default_role = "py:obj"
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']