Changeset View
Changeset View
Standalone View
Standalone View
swh/docs/sphinx/conf.py
Show First 20 Lines • Show All 141 Lines • ▼ Show 20 Lines | |||||
# The empty string is equivalent to '%b %d, %Y'. | # The empty string is equivalent to '%b %d, %Y'. | ||||
html_last_updated_fmt = "%Y-%m-%d %H:%M:%S %Z" | html_last_updated_fmt = "%Y-%m-%d %H:%M:%S %Z" | ||||
# refer to the Python standard library. | # refer to the Python standard library. | ||||
intersphinx_mapping = { | intersphinx_mapping = { | ||||
"python": ("https://docs.python.org/3", None), | "python": ("https://docs.python.org/3", None), | ||||
"swh-devel": ("https://docs.softwareheritage.org/devel", None), | "swh-devel": ("https://docs.softwareheritage.org/devel", None), | ||||
"swh-sysadm": ("https://docs.softwareheritage.org/sysadm", None), | "swh-sysadm": ("https://docs.softwareheritage.org/sysadm", None), | ||||
"swh-users": ("https://docs.softwareheritage.org/user", None), | |||||
# "swh-general": ("https://docs.softwareheritage.org/general", None), | |||||
} | } | ||||
# Redirects for pages that were moved, so we don't break external links. | # Redirects for pages that were moved, so we don't break external links. | ||||
# Uses sphinx-reredirects | # Uses sphinx-reredirects | ||||
redirects = { | redirects = { | ||||
"swh-deposit/spec-api": "api/api-documentation.html", | "swh-deposit/spec-api": "api/api-documentation.html", | ||||
"swh-deposit/metadata": "api/metadata.html", | "swh-deposit/metadata": "api/metadata.html", | ||||
"swh-deposit/specs/blueprint": "../api/use-cases.html", | "swh-deposit/specs/blueprint": "../api/use-cases.html", | ||||
▲ Show 20 Lines • Show All 137 Lines • Show Last 20 Lines |