Link from pages and footer to a versioned doc #7397
Unanswered
lorenzolewis
asked this question in
Q&A
Replies: 1 comment
-
|
Let's discuss in #7402 instead |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are currently using the second method discussed in https://docusaurus.io/docs/versioning#configuring-versioning-behavior so that our "latest" docs are served under a version number (v1 in this scenario).
For navBar items, you can use
type: 'doc'to dynamically build the url to the correct doc version. I'm not able to recreate this behaviour for footer items linking to docs. I'm also not seeing how to link to a doc from a page (such asindex.js) to the correct "latest" doc url.Beta Was this translation helpful? Give feedback.
All reactions