This website is built using Docusaurus, a modern static website generator.
yarn
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
yarn build
To lint a specific folder or file, run:
vale path/to/docs/
# or
vale path/to/*.md
To lint the entire repo, run:
yarn lint
Install blacken-docs
.
python -m pip install blacken-docs
Run the formatter.
git ls-files -z -- '*.md' | xargs -0 blacken-docs
yarn gpu-types
yarn cpu-types