-
Notifications
You must be signed in to change notification settings - Fork 12
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
Implement version picker in a simple way #193
Comments
I believe this is already working on master.
Yes, totally. PRs are welcome. It would be preferably to do it directly in the
|
Great! Does this mean that in the next release I can have the version picker without doing anything else? Do I still have to follow some procedure? Does the version picker cover all the previous version as in Documenter.jl? Sorry for the many questions. This is just curiosity. 😄
Great again! Does this mean that, by changing
I mean that for example in the |
This is unrelated to DocumenterVitepress. It is a separate action described here: https://documenter.juliadocs.org/stable/man/hosting/#Cleaning-up-gh-pages. |
Also, the separate deployment action is also unrelated to the version picker. It is added as a workaround for |
So the version picker is unrelated to #81 (which has something to do with symlink instead). As far as I understand, the symlinks of Vitepress are not exactly compatible with how Julia handles versions, right? So, the version picker has nothing to do with the additional CI in the The version picker of the |
Hello,
DocumenterVitepress.jl seems not to natively support the version picker (the possibility to choose the version of the package to show).
Looking at Lux.jl or Makie.jl, they customize the vitepress files in the
docs
folder, and they also add an additional CI in thegh-pages
branch. Is it the simplest way to do it?When using Documenter.jl, a single CI in the
main
branchis sufficient to deploy the documentation. Here, instead, we need to add an additional CI also in the
gh-pages` branch, which I think is only needed to fix the symbolic links for vitepress (whatever it means).With this in mind, I was wondering if pushing two commits in quick succession to the
main
branch could cause any issues with deployment. Additionally, I noticed that the history of thegh-pages
branch is cleared every time the CI runs, which is concerning to me.Finally, would it be possible to implement the version picker directly in DocumenterVitepress.jl? In this way, it would align more with Documenter.jl
The text was updated successfully, but these errors were encountered: