Skip to content

Would it make sense to link to the next version when using to links in the navbar? #2959

Answered by slorber
LukasGentele asked this question in General
Discussion options

You must be logged in to vote

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:

currentVersion: isDev ? "next" : undefined 

undefined means it would pick the last versioned version.

Does it make sense to you?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@LukasGentele
Comment options

@slorber
Comment options

slorber Jun 19, 2020
Collaborator

@LukasGentele
Comment options

@LukasGentele
Comment options

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