HomeSoftware Heritage

apidoc: Fix some issues regarding generated documentation links

Description

apidoc: Fix some issues regarding generated documentation links

Previous URLs targetting endpoints documentation were in the form
/1/<endpoint_route> while they should have been in the form
/api/1/<endpoint_route> so fix them and add redirections from old
URLs for backward compatibility.

Breadcrumbs located in the top left part of Web API endpoint doc
could contain links to non existent endpoints so ensure to remove
those and render spans instead.

Details

Provenance
anlambertAuthored on Oct 31 2022, 2:39 PM
anlambertPushed on Oct 31 2022, 5:13 PM
Differential Revision
D8795: apidoc: Fix some issues regarding generated documentation links
Parents
rDWAPPS94a28741b69c: webapp: Ensure monospace font family for docutils literals
Branches
Unknown
Tags
Unknown
Build Status
Buildable 32656
Build 51157: test-and-buildJenkins console · Jenkins