fix(v2): do not highlight root docs path in navbar (#2778)

This commit is contained in:
Alexey Pyltsyn 2020-05-20 11:49:11 +03:00 committed by GitHub
parent 0dc0c35ec8
commit 05c3aa31f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,6 +100,7 @@ module.exports = {
{ {
label: versions[0], label: versions[0],
to: 'docs/', to: 'docs/',
exact: true,
}, },
...versions.slice(1).map((version) => ({ ...versions.slice(1).map((version) => ({
label: version, label: version,