← Back to issue list

"Edit this page on GitHub" links broken

View original Github issue

Metadata

Project
rockcraft
Number
#780
Type
issue
State
closed
Author
benhoyt
Labels
—
Created
Updated
Closed

Current evaluation

Duplicate of rockcraft#705; fixed by canonical-sphinx#74, which corrected the shared documentation theme's edit-link path and restored the missing slashes.

Resolution: closed superseded

Reason: canonical/rockcraft#705 was identified as the known tracking issue. canonical/canonical-sphinx#74 corrected the shared theme's edit-link path, was merged, and was deployed.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Request type Fix ### What needs to get done For some reason the URL for the "Edit this page on GitHub" has some slashes removed. For example, https://documentation.ubuntu.com/rockcraft/en/latest/explanation/pebble/ links to https://github.com/canonical/rockcraft/edit/maindocsexplanation/pebble.rst instead of https://github.com/canonical/rockcraft/edit/main/docs/explanation/pebble.rst ### Documentation location https://documentation.ubuntu.com/rockcraft/en/latest/explanation/pebble/ ### Additional information _No response_

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Duplicate of rockcraft#705; fixed by canonical-sphinx#74, which corrected the shared documentation theme's edit-link path and restored the missing slashes.
stealth/space-bunny-alpha — closed resolved Broken edit links were fixed by canonical/canonical-sphinx#74, which restored missing path slashes; the theme change was merged and deployed. This duplicated rockcraft#705.
stealth/space-bunny-alpha — closed resolved Broken documentation edit links were fixed by the canonical-sphinx theme path correction in canonical/canonical-sphinx#74; the change was merged and deployed.
stealth/space-bunny-alpha — closed resolved Fixed in canonical/canonical-sphinx#74 by correcting the documentation theme’s edit-link path, removing missing slashes; the change was merged and deployed.
qwen/qwen3.6-35b-a3b — — Superseded by #705. The broken edit links are a known issue tracked elsewhere. No fix applied in this report.
qwen/qwen3.6-35b-a3b — — Closed as a known issue. Broken documentation edit links with missing slashes are tracked in issue #705. No direct fix applied.
qwen/qwen3.6-35b-a3b — — Closed as a duplicate. The broken edit links caused by missing slashes are a known issue tracked in #705. No direct fix applied.
qwen3.6-35b-a3b-mtp-q6 — — Superseded by issue #705. The broken documentation edit links remain unresolved due to a known configuration issue. Closed as a duplicate.

Update history

No update history recorded yet.

Related work

  • Duplicate Of: canonical/rockcraft#705 (confidence 99%)

    The maintainer linked #780 as the same known edit-link issue already tracked in #705.

  • Likely Fixed By: canonical-sphinx#74 (confidence 99%)

    The shared documentation theme change fixed edit-link paths and restored the missing path slashes.

Related issues

Issue Project State Summary Similarity
#705 "Edit this page on github" links in the docs seem to be broken rockcraft closed Broken "Edit this page on GitHub" doc links traced to bad path composition in the canonical-sphinx theme footer; fixed upstream in canonical-sphinx#74 and shipped via a canonical-sphinx dependency bump (#993).
85%
#5244 "Edit this page on Github" links give a 404 not found on Github snapcraft open Snapcraft documentation edit links were traced to an upstream canonical-sphinx path bug; the current docs stack requires canonical-sphinx 0.6+, incorporating the 0.4.0 fix.
77%
#2558 docs: "Contribute to this page" icon 404s charmcraft closed Resolved by merged PR #2322 (commit e0a92771), which fixed the broken documentation edit link; the fix is listed in Charmcraft 3.5.1.
71%