Skip to content
Snippets Groups Projects
Commit 5aae977e authored by Yannick DAYER's avatar Yannick DAYER
Browse files

[doc] Switch to auto-intersphinx

parent aa7ff90d
No related branches found
No related tags found
1 merge request!45Switch to the new package structure using citools
Pipeline #66611 failed
{
"numpy": {
"version": {
"latest": "https://numpy.org/doc/stable/"
},
"sources": {
"readthedocs": "numpy"
}
},
"matplotlib": {
"version": {
"latest": "https://matplotlib.org/stable/"
},
"sources": {
"readthedocs": "matplotlib"
}
},
"PIL": {
"version": {
"latest": "https://pillow.readthedocs.io/en/latest/"
},
"sources": {
"readthedocs": "pillow"
}
}
}
...@@ -106,10 +106,10 @@ autodoc_default_options = { ...@@ -106,10 +106,10 @@ autodoc_default_options = {
"show-inheritance": True, "show-inheritance": True,
} }
intersphinx_mapping = { auto_intersphinx_packages = [
"python": ("https://docs.python.org/3", None), ("python", "3"),
"scipy": ("https://docs.scipy.org/doc/scipy/", None), "numpy",
"numpy": ("https://numpy.org/doc/stable/", None), "matplotlib",
"matplotlib": ("https://matplotlib.org/stable/", None), "PIL",
"PIL": ("https://pillow.readthedocs.io/en/latest/", None), ]
} auto_intersphinx_catalog = "catalog.json"
...@@ -30,7 +30,7 @@ dependencies = [ ...@@ -30,7 +30,7 @@ dependencies = [
] ]
[project.urls] [project.urls]
documentation = "https://www.idiap.ch/software/bob/docs/bob/bob.io.base/master/" documentation = "https://www.idiap.ch/software/bob/docs/bob/bob.io.base/master/sphinx"
homepage = "https://pypi.org/project/bob.io.base" homepage = "https://pypi.org/project/bob.io.base"
repository = "https://gitlab.idiap.ch/bob/bob.io.base" repository = "https://gitlab.idiap.ch/bob/bob.io.base"
changelog = "https://gitlab.idiap.ch/bob/bob.io.base/-/releases" changelog = "https://gitlab.idiap.ch/bob/bob.io.base/-/releases"
...@@ -40,6 +40,7 @@ qa = ["pre-commit"] ...@@ -40,6 +40,7 @@ qa = ["pre-commit"]
doc = [ doc = [
"sphinx", "sphinx",
"sphinx_rtd_theme", "sphinx_rtd_theme",
"auto-intersphinx",
] ]
test = [ test = [
"pytest", "pytest",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment