Skip to content

doc: remove edit button from manpages#17153

Merged
tomponline merged 1 commit intocanonical:mainfrom
minaelee:doc-manpages-hide-edit-link
Dec 3, 2025
Merged

doc: remove edit button from manpages#17153
tomponline merged 1 commit intocanonical:mainfrom
minaelee:doc-manpages-hide-edit-link

Conversation

@minaelee
Copy link
Contributor

@minaelee minaelee commented Dec 3, 2025

PR description

The documentation contains an "Edit this page on GitHub" link in the footer of every page. Since manpage docs are auto-generated at build time and do not exist in the GH repo, this link results in a 404 error for manpages.

This PR updates the footer.html Jinja template to prevent rendering this link for manpages only. Closes #17132.

Checklist

Signed-off-by: Minae Lee <minae.lee@canonical.com>
@github-actions github-actions bot added the Documentation Documentation needs updating label Dec 3, 2025
Copy link
Member

@tomponline tomponline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ta

@tomponline tomponline merged commit 1ab3093 into canonical:main Dec 3, 2025
64 of 66 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Documentation needs updating

Projects

None yet

Development

Successfully merging this pull request may close these issues.

doc: Manpage pages on RTD shouldn't offer "Edit this page on GitHub"

2 participants