Skip to content

docs: fix duplicate redirects in docs/conf.py - #507

Merged
olivercalder merged 1 commit into
canonical:mainfrom
olivercalder:cleanup-duplicate-docs-conf-redirects
Aug 20, 2026
Merged

docs: fix duplicate redirects in docs/conf.py#507
olivercalder merged 1 commit into
canonical:mainfrom
olivercalder:cleanup-duplicate-docs-conf-redirects

Conversation

@olivercalder

Copy link
Copy Markdown
Member

Several apps integrations pages had duplicate redirects, so prune them.

Several apps integrations pages had duplicate redirects, so prune them.

Signed-off-by: Oliver Calder <oliver.calder@canonical.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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-applications redirect 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.

Comment thread docs/conf.py
"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
olivercalder requested review from ernestl and miguelpires and removed request for andrewphelpsj August 19, 2026 20:24
@olivercalder
olivercalder merged commit 31e945a into canonical:main Aug 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants