Exluding v0.8.1 and v0.7 from the config dropdown
Older tags of the repo don't have the configuration.md file that the docs/index.html file uses to display configuration options. Removing them from the list since they don't apply to the use case of the documentation page.
This commit is contained in:
parent
5c7ac69393
commit
3c36a0c0b7
@ -181,10 +181,12 @@
|
||||
this.handleReqFailure(e);
|
||||
return;
|
||||
}
|
||||
const reMajorVersion = /v(\d+)/;
|
||||
|
||||
const excludedTagVersions = new Set(['v0.7', 'v0.8.1']);
|
||||
|
||||
const tagOptions = tags
|
||||
.map(tag => tag.name)
|
||||
.filter(tag => tag.startsWith('v'));
|
||||
.filter(tag => tag.startsWith('v') && !excludedTagVersions.has(tag));
|
||||
this.versionOptions = this.versionOptions.concat(tagOptions);
|
||||
},
|
||||
updated() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user