Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.ip.binseg
Commits
f254e593
Commit
f254e593
authored
Sep 15, 2021
by
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
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
doc/conf.py
View file @
f254e593
...
...
@@ -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
)
requirements_file
=
"requirements.txt"
)
else
:
# building locally
intersphinx_mapping
=
link_documentation
()
# Add our private index (for extras and fixes)
...
...
doc/extra-intersphinx.txt
deleted
100644 → 0
View file @
b4d1e43e
torch
torchvision
doc/nitpick-exceptions.txt
View file @
f254e593
py:obj torch.utils.data.dataset.T_co
py:class torch.nn.modules.loss._Loss
py:class Module
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment