Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snapcraft.io/docs: pages starting with docs- redirect outside of snapcraft.io/docs #4197

Open
degville opened this issue Feb 15, 2023 · 0 comments
Assignees

Comments

@degville
Copy link
Contributor

degville commented Feb 15, 2023

Expected behaviour

Docs pages published with a URL starting with docs- should be published to snapcraft.io/docs/docs-.

Instead, publishing a page from the index (https://forum.snapcraft.io/t/snap-documentation/11127) that has a destination URL that starts with docs- seems to conflict with snapcraft.io/docs.

Steps to reproduce the problem

In the index Discourse page, create a destination URL starting with docs-, such as:

| 1 | docs-roadmap | https://forum.snapcraft.io/t/the-docs-roadmap/8763 |

When linked to from another doc or the navigation, the destination URL for this will be a non-existent page at https://snapcraft.io/<page> instead of https://snapcraft.io/docs/<page>.

eg. https://snapcraft.io/docs-roadmap instead of https://snapcraft.io/docs/docs-roadmap:

image

@nottrobin nottrobin self-assigned this Feb 16, 2023
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

No branches or pull requests

2 participants