We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1528da9 commit f1a681bCopy full SHA for f1a681b
bin/write-versions-json
@@ -4,10 +4,15 @@ let FS = require('fs');
4
let Process = require('process');
5
let semver_cmp = require('semver-compare');
6
7
+const OLD_VERSIONS = "0.15";
8
+
9
let read_versions_from_fs = () => {
10
return (
11
FS.readdirSync('.')
12
.filter(x => /^(\d+)(\.\d+)*\w*$/.test(x))
13
+ // We have retained the docs for some old version, but we do not
14
+ // want to link them as they cannot be generated by the current setup.
15
+ .filter(x => !OLD_VERSIONS.includes(x))
16
);
17
};
18
0 commit comments