[docs] migrate to vitepress#2221
Conversation
b0561a0 to
237b380
Compare
|
You can test the documentation online here - https://phobos--2221.org.readthedocs.build/en/2221/ Offline documentation can be built locally with: scripts/build_docs_offline.batThe output will be generated in: I cannot attach the generated archive to this PR comment because GitHub limits attachments to 25 MiB, while the current archive is about 26 MiB. |
|
I fully agree with migrating to VitePress. Based on my earlier understanding of it, this will definitely bring a great improvement to the user experience of our documentation.
Additionally, regarding CI improvements, would it be better to add a label like #2099 for all scenarios that do not require Nightly Build, such as CI improvements and similar to #2098 and #2201? |
5b21810 to
504a433
Compare
This is by design, language switching occurs on the VitePress side, in the top panel. If this PR is still accepted, we will need to disable language switching on the RtD side |
I'll take a look at this and try to fix it
The calculator is implemented in the component |
|
From my understanding, there isn't much difference in the way of writing documentation code compared with before? |
elaborate |



Summary
This PR migrates the documentation from Sphinx to VitePress and updates the docs build pipeline around the new stack.
Why VitePress:
Main changes:
[Docs];Notes for reviewers
Please pay extra attention to:
The Chinese translation files were updated as part of the migration. I do not know Chinese, so these updates were generated with AI assistance and should be reviewed carefully by native Chinese speakers.