Source for the AnyCable documentation website, built with VitePress.
The Markdown content lives in docs/.
You need Node.js installed. Then, from the docs/ directory:
cd docs
# Install dependencies
npm install
# Start the dev server with hot reload
npm run devOther available scripts:
npm run build—build the static site intodocs/.vitepress/dist.npm run preview—preview the production build locally.
The quickest way to fix a typo or propose a small change is to use the GitHub web interface (open a file, click on "Edit", create a PR).
If you want to propose a bigger change, you might want to use a common flow:
- Fork it.
- Create a new branch (
git checkout -b feat/my-proposal). - Commit and push changes.
- Open new Pull Request.
We keep the documentation both correct and stylish using the following tools:
These run automatically in CI for every pull request (see .github/workflows/docs-lint.yml), so you can rely on CI to do the checks for you.