Open reanim8ed opened 5 years ago
Anyone on this? Or can I take it?
Hi @nkhdo , I had success adding a global table-of-contents on my VuePress site and I'd be happy to implement the feature. I'll come up with some descriptions to the proposed API section shortly.
For a full text search, you can use https://vuepress.vuejs.org/theme/default-theme-config.html#algolia-docsearch
Feel free to open a PR for the side bar toc feature
Any updates on this?
@kefranabg i think we dont have to relay on 3er party provider/website to do search. Would be much better to have a plugin to do it.
This would be a wonderful addition, to move table of contents to a sticky sidebar on the right, and remove the table of contents from the left page navigation. Some other documentation generators have this out of the box, such as Docusaurus, and would be nice to have it available here as well.
Any updates on this, especially the right-side sticky ToC bar? I came across a custom theme which seems to be already supporting this feature. It would be really appreciated if it's provided out-of-box by default.
Feature request
I would like to migrate my wiki from Gitbook and VuePress is one of my main options, especially because of the speed. But I'm missing a couple of important features and without them usefulness of the wiki is redused greatly:
What problem does this feature solve?
TOC - currently Table Of Contents is implemented as markdown extension but it places TOC in the content itself. Then the page is really long it's not convienent to scroll all the way to the top to access it. It would be better UX to implement it like additional sticky sidebar which would be easily accessible no matter where in the page the user is.
Search - most of the times then I'm searching, the keyword is not in the heading but in the content. Current search works great but because it doesnt include results from the content it's much less useful.
What does the proposed API look like?
N/A
How should this be implemented in your opinion?
There should be a global option for single page TOC which could toggle the showing of the page TOC sidebar. [[toc]] shortcode shouldn't be neccesary anymore.
Are you willing to work on this yourself?
I'm not a Vue developer