Repository navigation
chore(website): add VitePress documentation site ported from the wiki - #1942
Conversation
Add a standalone pnpm project in website/ that builds the documentation site with VitePress, and port the GitHub wiki pages into it with regular paths (for example installation/windows.md instead of Installation:-Windows). The pages workflow builds the site for changes under website/. Deployment to GitHub Pages stays commented out until Pages is enabled for the repository.
In the dev container localhost resolves to ::1 only, which VS Code port forwarding cannot reach.
renkun-ken
left a comment
There was a problem hiding this comment.
Reviewed commit 3a30212. No blocking issues found.
Validation:
- Installed the standalone website project with
pnpm install --frozen-lockfileand successfully ranpnpm run docs:build. - Compared the migrated pages with the wiki: substantive content is preserved, and the version/release corrections agree with the repository sources.
- Audited the rendered output: all 932 internal links and fragments across 25 HTML pages resolve, and local image paths are valid.
- Verified local search, navigation to a search-result anchor, and mobile sidebar navigation in the production preview.
- Checked the Pages workflow, separate pnpm workspace/lockfile, and extension packaging exclusions; the website remains isolated from the extension.
- All eight hosted checks passed for this head.
Live GitHub Pages deployment remains untested because the deploy job is intentionally disabled pending repository configuration, as documented in the PR.
|
@renkun-ken I've enabled the deployment job.
I think we'll also need to change the repository details after deployment (I don't have the necessary permissions). |
|
@eitsupi I've enabled GitHub Pages for this repo.
|
|
@eitsupi I've invited you in collaborators, not sure if you have necessary permissions to do that? |
|
Thank you. |
|
Looks good. Perhaps for the next step, we should restrict wiki updates to collaborators and add a notice on each page directing users to the website. |
|
@renkun-ken I believe I've updated all the pages on the wiki. Could you please lock the wiki so that only administrators can update it? |
|
@renkun-ken @randy3k Could you update the Wiki settings and the repo details? |


Related to #1755
Adds a documentation site in
website/and ports the wiki pages into it. The extension stays at the repository root;website/is a standalone pnpm project with its own lockfile, so the extension's dependencies, VSIX contents, and existing workflows are unchanged.Why VitePress
What is included
Installation:-Windows->installation/windows.md), with wiki links rewritten to relative links. The build fails on dead internal links.CONTRIBUTING.mdinstead of the outdated yarn/eslint steps..github/workflows/pages.ymlbuilds the site for changes underwebsite/. It deploys to GitHub Pages on pushes tomain(see Deployment after merge below).ThirdPartyNotices.txt.Images
Screenshots still reference the GitHub-hosted URLs used by the wiki (
user-images.githubusercontent.com,github.com/user-attachments). All 40 currently load, but they are outside the repository and the build cannot detect if one disappears. They are not vendored here because they total about 77 MB, of which 14 GIFs account for about 70 MB. This should be revisited later, for example by vendoring the PNGs (about 7 MB) and re-recording or converting the GIFs to video.Follow-ups
README.md,CONTRIBUTING.md, and the source once the site is live, and add a pointer to the new site in the wiki.To preview locally:
cd website && pnpm install --frozen-lockfile && pnpm run docs:dev.Deployment after merge
The deploy job is enabled, but GitHub Pages is not yet enabled for this repository, so the first
pagesrun onmainafter merging will fail at the deploy step. This does not affect the extension build or release. To publish the site:pagesworkflow manually (Actions > pages > Run workflow onmain). The workflow only runs on pushes that touchwebsite/**, so the site is not published until it is triggered this way or by the next site change. (Re-running the failed job also works only while the uploaded artifact is still retained, one day by default.)github-pagesenvironment only allows deployments frommain.