Rewrite website in Vitepress and merge it into the main repository#4807
Conversation
✅ Deploy Preview for remarkable-travesseiro-a49bb0 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Thank you for your contribution! ❤️You can try out this pull request locally by installing Rollup via npm install rollup/rollup#vitepressor load it into the REPL: |
|
As you can see, Netlify is already hard at work to provide you with deployment previews to inspect 😉 |
Codecov Report
@@ Coverage Diff @@
## master #4807 +/- ##
==========================================
- Coverage 98.99% 98.98% -0.01%
==========================================
Files 218 219 +1
Lines 7790 7814 +24
Branches 2166 2166
==========================================
+ Hits 7712 7735 +23
- Misses 25 26 +1
Partials 53 53
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
efa9f2d to
9ee2ee1
Compare
To avoid scroll bars in code boxes
9ee2ee1 to
6483561
Compare
c6f35ed to
3d7f288
Compare
6e01bba to
9d693ee
Compare
|
This PR has been released as part of rollup@3.11.0. You can test it via |
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
Description
It has been a long-standing wish of mine to merge the website into the main repository to make it much easier to update documentation and directly preview the results. At the same time people were noting that the website looked dated, and if we would not want to use a more professional base like vitepress, which would also bring many subtle improvements like dark mode etc.
There was an original PoC by discord user khr2003 https://discord.com/channels/466787075518365708/650925402168098847/985800336486850600 on which my current implementation is based, thank you for that!
This PR will bring many improvements:
npm run devwill now start Vitepress as "the" development tool. Just remember to turn your code into a proper test afterwards./guide/en#somethingwill work and forward you to the correct new page. So e.g. going to/guide/en/#thisloadwill automatically forward you to/plugin-development/#this-load.Remaining TODOs