Page MenuHomeSoftware Heritage

Fix broken link between devel docs and sysadm docs
Closed, MigratedEdits Locked

Description

https://docs.softwareheritage.org/sysadm/

When on the roadmap page, the link in left menu is: https://docs.softwareheritage.org/devel/sysadm/
a devel addition which causes a broken link

Event Timeline

moranegg triaged this task as High priority.Feb 2 2022, 7:56 PM
moranegg created this task.

It seems to be when we are on any page from the devel instance (below the main menu page of that instance).
The getting started for example also shows this.

[1] https://docs.softwareheritage.org/devel/getting-started/index.html

Paths are hardcoded with relative values so depending on the depth, it won't work [1] [2].

@vlorentz Maybe we could use absolute path like /sysadm/ or /devel/ instead?

[1] https://forge.softwareheritage.org/source/swh-docs/browse/master/docs/_templates/layout.html$36

[2] https://forge.softwareheritage.org/source/swh-docs/browse/master/sysadm/_templates/layout.html$19

oh yes, definitely. No idea why I made them relative

oh yes, definitely. No idea why I made them relative

probably because that's what makes sense when you build locally the docs or something.

Pushed a fix and triggered a deployment of the docs.
Hopefully, this will fix it.

It's deployed and the fix is ok \m/!

ardumont removed ardumont as the assignee of this task.
ardumont claimed this task.