Skip to content
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

Closed
jmaneyrol69 opened this issue Sep 9, 2021 · 8 comments
Closed

[Feature request] Page TOC on right side bar #8

jmaneyrol69 opened this issue Sep 9, 2021 · 8 comments
Labels

Comments

@jmaneyrol69
Copy link

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 values true or false.

@github-actions
Copy link

This issue is marked as stale because it has not had recent activity. Issues marked with stale will be closed if they have no activity within 3 days.

@ramesh-dada
Copy link

@meteorlxy Please look into it.

@gavinliu6
Copy link

Refer to vuepress/core#52

@github-actions
Copy link

This issue is marked as stale because it has not had recent activity. Issues marked with stale will be closed if they have no activity within 3 days.

@ramesh-dada
Copy link

hello 123 here is the activity.

@github-actions
Copy link

github-actions bot commented Oct 8, 2021

This issue is marked as stale because it has not had recent activity. Issues marked with stale will be closed if they have no activity within 3 days.

@Mister-Hope Mister-Hope reopened this Jun 26, 2022
@Mister-Hope Mister-Hope added the enhancement New feature or request label Jun 26, 2022
@CanadianBeaver
Copy link

+1

@meteorlxy meteorlxy transferred this issue from vuepress/core Dec 3, 2023
@Mister-Hope
Copy link
Member

#121

@Mister-Hope Mister-Hope closed this as not planned Won't fix, can't repro, duplicate, stale May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants