Skip to content
Snippets Groups Projects
Commit cd9e8d49 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[doc] Update configuration

parent f89c6b3d
No related branches found
No related tags found
No related merge requests found
Pipeline #27312 canceled
......@@ -30,7 +30,7 @@ extensions = [
]
# Be picky about warnings
nitpicky = False
nitpicky = False
# Ignores stuff we can't easily resolve on other project's sphinx manuals
nitpick_ignore = []
......@@ -229,14 +229,18 @@ autodoc_default_flags = [
'show-inheritance',
]
if not 'BOB_DOCUMENTATION_SERVER' in os.environ:
# notice we need to overwrite this for BEAT projects - defaults from Bob are
# not OK
os.environ['BOB_DOCUMENTATION_SERVER'] = "https://www.idiap.ch/software/beat/docs/beat/%(name)s/%(version)s/|https://www.idiap.ch/software/beat/docs/beat/%(name)s/master/"
# For inter-documentation mapping:
from bob.extension.utils import link_documentation, load_requirements
sphinx_requirements = "extra-intersphinx.txt"
if os.path.exists(sphinx_requirements):
intersphinx_mapping = link_documentation(
additional_packages=['python','numpy'] + \
load_requirements(sphinx_requirements)
)
load_requirements(sphinx_requirements))
else:
intersphinx_mapping = link_documentation()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment