diff --git a/docs/contents/getting_started/index.md b/docs/contents/getting_started/index.md
index 38eb05a72..1a52db38a 100644
--- a/docs/contents/getting_started/index.md
+++ b/docs/contents/getting_started/index.md
@@ -43,20 +43,14 @@ Before downloading PDF.js please take a moment to understand the different layer
Includes the generic build of PDF.js and the viewer.
-
- Stable (vSTABLE_VERSION)
- Beta (vBETA_VERSION)
-
+ Stable (vSTABLE_VERSION)
Source
diff --git a/gulpfile.js b/gulpfile.js
index 6f6311044..b0f38b90d 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -1555,8 +1555,7 @@ gulp.task(
fs.readFileSync(BUILD_DIR + "version.json").toString()
).version;
- config.stableVersion = config.betaVersion;
- config.betaVersion = version;
+ config.stableVersion = version;
return merge([
createStringSource(CONFIG_FILE, JSON.stringify(config, null, 2)).pipe(
@@ -1957,31 +1956,11 @@ gulp.task("wintersmith", function (done) {
done(error);
return;
}
- const { stableVersion, betaVersion } = config;
replaceInFile(
GH_PAGES_DIR + "/getting_started/index.html",
/STABLE_VERSION/g,
- stableVersion
- );
- replaceInFile(
- GH_PAGES_DIR + "/getting_started/index.html",
- /BETA_VERSION/g,
- betaVersion
- );
-
- // Hide the beta version button if there is only a stable version.
- const groupClass = betaVersion ? "btn-group-vertical centered" : "";
- const hiddenClass = betaVersion ? "" : "hidden";
- replaceInFile(
- GH_PAGES_DIR + "/getting_started/index.html",
- /GROUP_CLASS/g,
- groupClass
- );
- replaceInFile(
- GH_PAGES_DIR + "/getting_started/index.html",
- /HIDDEN_CLASS/g,
- hiddenClass
+ config.stableVersion
);
console.log("Done building with wintersmith.");
diff --git a/pdfjs.config b/pdfjs.config
index 16602335e..4c53e0380 100644
--- a/pdfjs.config
+++ b/pdfjs.config
@@ -1,5 +1,4 @@
{
- "betaVersion": "2.12.313",
"stableVersion": "2.12.313",
"baseVersion": "a2ae56f394acb485ce7067a75342ac60da17f171",
"versionPrefix": "2.13."