-
-
Notifications
You must be signed in to change notification settings - Fork 18
Description
First of all, thank you for all of the great work you have done! I arrived here following the threads all the way from vuejs/vuepress#1018
I have switched our theme from the default one to Titanium Theme for 2 reasons, the separate right-side content sidebar and the versioning support. While the right-side content sidebar works as a charm (side note: it'd would be even better and more convenient if it could be turned on from config.js
for a whole directory than having to modify each individual md file's frontmatter especially when you already have thousnads of doc files.), we ran into some unexpected behaviors with the versioning plugin:
- The version switch doesn't work.
- The sidebar disappears unexpectedly when switching between versions.
In case I didn't setup the layout correctly in our own project, I did an experiment with a clone of this repo itself seeing if it could be reproduced by:
git clone [email protected]:appcelerator/docs-devkit.git
cd ./docs-devkit/packages/docs
yarn
yarn run createVersion 0.1.4
yarn run createVersion 0.1.5
...
yarn run createVersion 0.1.19
yarn dev
And both of the aforementioned can be reproduced.
I patched what's proposed in #43 to the installed plugin in node_nodules
, and that seems to fix 1.
, but 2.
is still there (the sidebar is only showing up on next
version and the pre-existing 0.1.3
version but not there in any other created versions)
I'm planning to look into the source code of the plugin when I have time later, but it would be really appreciated if you are available to shed some light or even release a fix. Thanks!