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

Updates sphinx configuration with latest

parent 424d749d
No related branches found
No related tags found
1 merge request!18[Automatic] update links and the ci mostly
Pipeline #
......@@ -25,6 +25,7 @@ extensions = [
'sphinx.ext.intersphinx',
'sphinx.ext.napoleon',
'sphinx.ext.viewcode',
'matplotlib.sphinxext.plot_directive'
]
import sphinx
......@@ -239,9 +240,12 @@ autodoc_default_flags = [
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=load_requirements(sphinx_requirements))
intersphinx_mapping = link_documentation(
additional_packages=['python','numpy'] + \
load_requirements(sphinx_requirements)
)
else:
intersphinx_mapping = link_documentation()
intersphinx_mapping = link_documentation()
# We want to remove all private (i.e. _. or __.__) members
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment