Skip to content
Snippets Groups Projects
Unverified Commit 6e34799b authored by Nemanja Glumac's avatar Nemanja Glumac Committed by GitHub
Browse files

Fix documentation links for developers (#14853)

parent 3ebf8944
Branches
Tags
No related merge requests found
......@@ -121,8 +121,8 @@ class Settings {
if (/^v1\.\d+\.\d+$/.test(tag)) {
// if it's a normal EE version, link to the corresponding CE docs
tag = tag.replace("v1", "v0");
} else if (!tag || /v1/.test(tag)) {
// if there's no tag or it's an EE version that might not have a matching CE version, link to latest
} else if (!tag || /v1/.test(tag) || /SNAPSHOT$/.test(tag)) {
// if there's no tag or it's an EE version that might not have a matching CE version, or it's a local build, link to latest
tag = "latest";
}
if (page) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment