Is it possible to show current version in URL path? #5429
-
Hello! I'm wondering if it's possible to set the current version to have an explicit version in the URL path as well? For example, at the moment in the Docs site: 2.0.0-beta4: https://docusaurus.io/docs Would it be possible if the version 2.0.0-beta4 to have URL path https://docusaurus.io/docs/2.0.0-beta.4? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes the docs plugin has a Also, make sure to choose the appropriate versioning behavior: https://docusaurus.io/docs/versioning#figure-out-the-behavior-for-the-current-version |
Beta Was this translation helpful? Give feedback.
Yes the docs plugin has a
versions
option allowing to customize many things on a per-version basis, including paths.Also, make sure to choose the appropriate versioning behavior:
https://docusaurus.io/docs/versioning#figure-out-the-behavior-for-the-current-version