Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
添加语言切换的下拉菜单,不过由于是静态网站,路由是固定的,语言切换默认链的是对应语言最新版本。
例如:
点击中文,链接 /guide/start/whatis.md,点击英文,链接 /en/guide/start/whatis.md,如果在对应某个版本如1.5.x版本点击切换,英文并不会链接的 1.5.x/en/guide/start/whatis.md,而是链接的 /en/guide/start/whatis.md