Skip to content
Discussion options

You must be logged in to vote

You can configure the url path segment of each version independently, including the current version which defaults to path=/

https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-docs#VersionsConfig

        docs: {
          versions: {
            current: {
              path "v2.0.1": 
            },
          },
        },

See also our versioning strategies guide: https://docusaurus.io/docs/versioning#configuring-versioning-behavior


Might be related: there's also this idea of "version aliases" (#3285) that we never implemented

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@troypoulter
Comment options

Answer selected by troypoulter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants