docs: fix duplicate redirects in docs/conf.py - #507
Merged
olivercalder merged 1 commit intoAug 20, 2026
Merged
Conversation
Several apps integrations pages had duplicate redirects, so prune them. Signed-off-by: Oliver Calder <oliver.calder@canonical.com>
olivercalder
requested review from
andrewphelpsj and
degville
and
a lite review from Copilot
August 13, 2026 02:27
There was a problem hiding this comment.
Pull request overview
This PR updates the Sphinx configuration for snap-docs by removing duplicate redirect definitions in docs/conf.py, ensuring the redirect map is unambiguous and easier to maintain.
Changes:
- Pruned duplicate redirect entries (notably for integrations/app pages) to avoid repeated keys.
- Updated the
ruby-applicationsredirect target to the integrations landing page. - Cleaned up minor whitespace issues (comment spacing and trailing whitespace).
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| "electron-apps": "https://documentation.ubuntu.com/snapcraft/stable/how-to/integrations/craft-an-electron-app/", | ||
| "flutter-applications": "https://documentation.ubuntu.com/snapcraft/stable/how-to/integrations/craft-a-flutter-app/", | ||
| "ruby-applications": "https://documentation.ubuntu.com/snapcraft/stable/how-to/integrations/index.html", | ||
| "ruby-applications": "https://documentation.ubuntu.com/snapcraft/stable/how-to/integrations/", # ruby page was removed, but redirect to integrations page |
olivercalder
requested review from
ernestl and
miguelpires
and removed request for
andrewphelpsj
August 19, 2026 20:24
zyga
approved these changes
Aug 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Several apps integrations pages had duplicate redirects, so prune them.