Commit f254e593 authored by André Anjos's avatar André Anjos 💬
Browse files

[doc] Simplify dependence tracking and fix final errors

parent b4d1e43e
Pipeline #54002 passed with stage
in 47 minutes and 48 seconds
......@@ -243,16 +243,17 @@ autodoc_default_options = {
# For inter-documentation mapping:
from bob.extension.utils import link_documentation, load_requirements
# For inter-documentation mapping: notice sphinx changes to the current
# directory to build the documentation
from bob.extension.utils import link_documentation
sphinx_requirements = "extra-intersphinx.txt"
if os.path.exists(sphinx_requirements):
if os.path.exists("requirements.txt"):
# building on the CI, with a copy of requirements.txt
intersphinx_mapping = link_documentation(
additional_packages=["python", "numpy"]
+ load_requirements(sphinx_requirements)
# building locally
intersphinx_mapping = link_documentation()
# Add our private index (for extras and fixes)
py:class torch.nn.modules.loss._Loss
py:class Module
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment