diff --git a/docs/documentation/.asciidoctorconfig b/docs/documentation/.asciidoctorconfig
index d35a12c24d4..8d74163348f 100644
--- a/docs/documentation/.asciidoctorconfig
+++ b/docs/documentation/.asciidoctorconfig
@@ -1,6 +1,5 @@
:icons: font
:idprefix:
:idseparator: -
-:project_buildType: latest
ifndef::asciidoctorconfigdir[:asciidoctorconfigdir: .]
include::{asciidoctorconfigdir}/topics/templates/document-attributes.adoc[]
diff --git a/docs/documentation/aggregation/navbar-head.html b/docs/documentation/aggregation/navbar-head.html
index aaf088b0c67..4417a559f4e 100644
--- a/docs/documentation/aggregation/navbar-head.html
+++ b/docs/documentation/aggregation/navbar-head.html
@@ -67,41 +67,11 @@
padding: 7px;
}
- .versionarchive {
- display: inline-block;
- }
+ div.top-menu-version p {
+ margin: 0;
+ padding: 2px 5px 2px 10px;
+ }
- .versionarchive p {
- margin: 0;
- padding: 2px 5px 2px 10px;
- }
-
- .versionarchive a {
- background-color: #ffdd57;
- padding: 0 5px;
- font-style: normal;
- border-radius: 5px;
- margin-left: 10px;
- }
-
- .versionlatest {
- display: inline-block;
- }
-
- .versionlatest p {
- background-color: #eee;
- border-radius: 5px;
- margin: 0;
- padding: 2px 5px 2px 10px;
- }
-
- .versionlatest em {
- background-color: #23d160;
- padding: 0 5px;
- font-style: normal;
- border-radius: 5px;
- margin-left: 10px;
- }
}
/* TOC */
diff --git a/docs/documentation/pom.xml b/docs/documentation/pom.xml
index 87b08114746..e7a4ed9ff01 100644
--- a/docs/documentation/pom.xml
+++ b/docs/documentation/pom.xml
@@ -32,8 +32,6 @@
1.8
1.8
-
- archive
@@ -61,17 +59,6 @@
tests
-
- latest
-
-
- latest
-
-
-
- latest
-
-
@@ -169,7 +156,6 @@
-
true
${masterFile}
- ${buildType}
diff --git a/docs/documentation/tests/src/test/java/org/keycloak/documentation/test/Config.java b/docs/documentation/tests/src/test/java/org/keycloak/documentation/test/Config.java
index 676c364f62c..93995475f4b 100644
--- a/docs/documentation/tests/src/test/java/org/keycloak/documentation/test/Config.java
+++ b/docs/documentation/tests/src/test/java/org/keycloak/documentation/test/Config.java
@@ -139,7 +139,7 @@ public class Config {
Map options = OptionsBuilder.options()
.inPlace(true)
- .attributes(AttributesBuilder.attributes().backend("html5").attribute("project_buildType", buildType).asMap())
+ .attributes(AttributesBuilder.attributes().backend("html5").asMap())
.asMap();
Document document = asciidoctor.loadFile(f, options);
diff --git a/docs/documentation/topics/templates/document-attributes.adoc b/docs/documentation/topics/templates/document-attributes.adoc
index 4b447adaec1..5f5897fc461 100644
--- a/docs/documentation/topics/templates/document-attributes.adoc
+++ b/docs/documentation/topics/templates/document-attributes.adoc
@@ -11,15 +11,8 @@
:api-management!:
:on-prem:
-ifeval::["{project_buildType}" == "latest"]
-:project_versionLinks: latest
-endif::[]
-ifeval::["{project_buildType}" == "archive"]
-:project_versionLinks: {project_version}
-endif::[]
-
:project_images: keycloak-images
-:project_doc_base_url: https://www.keycloak.org/docs/{project_versionLinks}
+:project_doc_base_url: https://www.keycloak.org/docs/{project_version}
:project_doc_base_url_latest: https://www.keycloak.org/docs/latest
:project_dirref: KEYCLOAK_HOME
:project_openshift_product_name: Keycloak for OpenShift
diff --git a/docs/documentation/topics/templates/release-header.adoc b/docs/documentation/topics/templates/release-header.adoc
index b25a0eb5909..7ce98e925e6 100644
--- a/docs/documentation/topics/templates/release-header.adoc
+++ b/docs/documentation/topics/templates/release-header.adoc
@@ -27,12 +27,5 @@ endif::[]
[.top-menu-version]
====
-ifeval::["{project_buildType}" == "latest"]
-[.versionlatest]
-Version *{project_version}* _Latest_
-endif::[]
-ifeval::["{project_buildType}" == "archive"]
-[.versionarchive]
-Version *{project_version}* _{release_header_latest_link}[Click here for latest]_
-endif::[]
+Version *{project_version}*
====
\ No newline at end of file