-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Page TOC on right side bar #8
Comments
This issue is marked as |
@meteorlxy Please look into it. |
Refer to vuepress/core#52 |
This issue is marked as |
hello 123 here is the activity. |
This issue is marked as |
+1 |
Feature request
Note: this is a variant of an issue which has been reported for v1 but also applies for v2: vuejs/vuepress#2398
Description
Most modern documentations are using layout where page TOC (anchors) links are shown in a sidebar on the right and page tree (h1) is shown on the left sidebar. As of now, vuepress@next default theme shows page tree as well page TOC in-lined. Being able to display page TOC on right would reduce the left nav tree and can significantly improve the readability of docs.
Some themes, like vuepress-theme-hope, and the vuepress-plugin-right-anchor plugin offer this option, but this has become such a common feature with on-line documentations that it should be implemented to VuePress v2 default theme.
Proposed Solution
Something like what @Mister-Hope did with his theme would be just perfect - with an option like
themeConfig.pageTocRightSidebar
with valuestrue
orfalse
.The text was updated successfully, but these errors were encountered: