Would it make sense to link to the next
version when using to
links in the navbar?
#2959
-
I currently have multiple projects using docusaurus v2 and after starting Should links from the navbar automatically use the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi, There are other issues related to this (#2302 (comment)) I don't think we should add different behaviors for dev and prod, that could be confusing. However, I think we should be able to say which version is the "current one" (the one without any version path prefix) using configuration. So you could do:
Does it make sense to you? |
Beta Was this translation helpful? Give feedback.
Hi,
There are other issues related to this (#2302 (comment))
I don't think we should add different behaviors for dev and prod, that could be confusing.
However, I think we should be able to say which version is the "current one" (the one without any version path prefix) using configuration.
So you could do:
undefined
means it would pick the last versioned version.Does it make sense to you?