-
Notifications
You must be signed in to change notification settings - Fork 22
fix: url version slugs #589
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
Conversation
|
FYI @micbar |
There was a problem hiding this comment.
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 implements versioning in documentation URL slugs to improve version management and maintainability. The changes ensure that version 4.0 documentation is accessible at a versioned path (/docs/4.0/...) while the rolling/current version remains at the base path (/docs/...), preserving existing links.
Changes:
- Added URL path configuration for documentation versions in Docusaurus config
- Created English translation file for version 4.0 with comprehensive sidebar and category labels
- Updated German translation file to align version description with the stable-4.0 identifier
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| docusaurus.config.ts | Configured version paths: current version at base path, stable-4.0 at /4.0 path |
| i18n/en/docusaurus-plugin-content-docs/version-stable-4.0.json | Added complete English translations for version 4.0 documentation structure |
| i18n/de/docusaurus-plugin-content-docs/version-stable-4.0.json | Updated version description to match stable-4.0 identifier |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@Svanvith It looks like you need to adjust a ton of urls :sigh: when we e.G use the link this will not keep the version slug in the url looks like we need to use the relative urls again e.G ./files-and-folders Can you please adjust this PR |
|
I am not quite sure anymore. Let's discuss this when I am back from vacation |
The version in the url slug was missing, which will make versioning of the docs even harder as soon we will publish docs for the next release.
Version 4
https://docs.opencloud.eu/docs/user/intro -> https://docs.opencloud.eu/docs/4.0/user/intro
Rolling
https://docs.opencloud.eu/docs/next/user/intro -> https://docs.opencloud.eu/docs/user/intro
this will keep existing links to docs intact