Skip to content

Commit 3beb658

Browse files
committed
docs: Fix extlinks for updated sphinx
The slug parameter is now required in the link f-string.
1 parent 8b76e20 commit 3beb658

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/source/conf.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@
122122
}
123123

124124
extlinks = {
125-
f"{project}-doc": (f"https://docs.openstack.org/{project}/{current_series}/", "%s documentation")
125+
f"{project}-doc": (f"https://docs.openstack.org/{project}/{current_series}/%s", "%s documentation")
126126
for project in extlinks_projects
127127
}
128-
extlinks["skc-doc"] = (f"https://stackhpc-kayobe-config.readthedocs.io/en/stackhpc-{current_series}/", "%s documentation")
129-
extlinks["kayobe-renos"] = (f"https://docs.openstack.org/releasenotes/kayobe/{current_series}.html", "%s release notes")
130-
extlinks["kolla-ansible-renos"] = (f"https://docs.openstack.org/releasenotes/kolla-ansible/{current_series}.html", "%s release notes")
131-
extlinks["ceph-doc"] = (f"https://docs.ceph.com/en/{ceph_series}/", "%s documentation")
128+
extlinks["skc-doc"] = (f"https://stackhpc-kayobe-config.readthedocs.io/en/stackhpc-{current_series}/%s", "%s documentation")
129+
extlinks["kayobe-renos"] = (f"https://docs.openstack.org/releasenotes/kayobe/{current_series}.html%s", "%s release notes")
130+
extlinks["kolla-ansible-renos"] = (f"https://docs.openstack.org/releasenotes/kolla-ansible/{current_series}.html%s", "%s release notes")
131+
extlinks["ceph-doc"] = (f"https://docs.ceph.com/en/{ceph_series}/%s", "%s documentation")

0 commit comments

Comments
 (0)