Changeset View
Changeset View
Standalone View
Standalone View
swh/docs/sphinx/conf.py
Show First 20 Lines • Show All 148 Lines • ▼ Show 20 Lines | |||||
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", | ||||
"swh-deposit/user-manual": "api/user-manual.html", | "swh-deposit/user-manual": "api/user-manual.html", | ||||
"infrastructure/index.html": "../../sysadm/network-architecture/index.html", | "infrastructure/index.html": "../../sysadm/network-architecture/index.html", | ||||
"infrastructure/network.html": "../../sysadm/network-architecture/index.html", | "infrastructure/network.html": "../../sysadm/network-architecture/index.html", | ||||
"infrastructure/service-urls.html": "../../sysadm/network-architecture/service-urls.html", # noqa | "infrastructure/service-urls.html": "../../sysadm/network-architecture/service-urls.html", # noqa | ||||
"architecture": "architecture/overview.html", | "architecture": "architecture/overview.html", | ||||
vlorentz: it won't work if the page does not exist.
You should create a stub page in place of the old… | |||||
Done Inline Actionsthx for the heads up, will do. ardumont: thx for the heads up, will do. | |||||
Done Inline ActionsYou sure? Source may be non-existing document or existing document. If source does not exist, sphinx-reredirects creates new redirect .html file. For existing document, document’s .html file will be overwritten with redirect file... From https://documatt.gitlab.io/sphinx-reredirects/usage.html ardumont: You sure?
```
Source may be non-existing document or existing document. If source does not… | |||||
Not Done Inline ActionsI must be misremembering then... vlorentz: I must be misremembering then... | |||||
"keycloak": "../../sysadm/user-management/keycloak/index.html", | |||||
"mirror": "architecture/mirror.html", | "mirror": "architecture/mirror.html", | ||||
"users": "user", | "users": "user", | ||||
} | } | ||||
# -- autodoc configuration ---------------------------------------------- | # -- autodoc configuration ---------------------------------------------- | ||||
autodoc_default_flags = [ | autodoc_default_flags = [ | ||||
"members", | "members", | ||||
▲ Show 20 Lines • Show All 121 Lines • Show Last 20 Lines |
it won't work if the page does not exist.
You should create a stub page in place of the old one.