diff --git a/docs/CNAME b/docs/CNAME
deleted file mode 100644
index 1cddf7cd7b..0000000000
--- a/docs/CNAME
+++ /dev/null
@@ -1 +0,0 @@
-docs.edgexfoundry.org
\ No newline at end of file
diff --git a/docs/index.html b/docs/index.html
deleted file mode 100644
index bc184c8c36..0000000000
--- a/docs/index.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- Redirecting
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/versions.json b/docs/versions.json
deleted file mode 100644
index 365bc5eb71..0000000000
--- a/docs/versions.json
+++ /dev/null
@@ -1,5 +0,0 @@
-[
- {"version": "1.1", "title": "1.1-Fuji", "aliases": []},
- {"version": "1.2", "title": "1.2-Geneva", "aliases": []},
- {"version": "1.3", "title": "1.3-Hanoi", "aliases": []}
-]
\ No newline at end of file
diff --git a/docs_src/assets/javascripts/version-select.js b/docs_src/assets/javascripts/version-select.js
index 0fdd90ec72..3dc99017db 100644
--- a/docs_src/assets/javascripts/version-select.js
+++ b/docs_src/assets/javascripts/version-select.js
@@ -57,7 +57,8 @@ window.addEventListener("DOMContentLoaded", function () {
if (this.value === '1.1') {
window.location.href = "https://fuji-docs.edgexfoundry.org"
} else {
- window.location.href = "/" + this.value;
+ // replace version in the beginning of path with selected version
+ window.location.pathname = window.location.pathname.replace(/^\/(\d.\d)\//, `/${this.value}/`);
}
});
diff --git a/versions.json b/versions.json
deleted file mode 100644
index 365bc5eb71..0000000000
--- a/versions.json
+++ /dev/null
@@ -1,5 +0,0 @@
-[
- {"version": "1.1", "title": "1.1-Fuji", "aliases": []},
- {"version": "1.2", "title": "1.2-Geneva", "aliases": []},
- {"version": "1.3", "title": "1.3-Hanoi", "aliases": []}
-]
\ No newline at end of file