Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 875 Bytes

README.md

File metadata and controls

65 lines (44 loc) · 875 Bytes

Website

This website is built using Docusaurus, a modern static website generator.

Installation

yarn

Local Development

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.

Build

yarn build

Linting

  • Install vale
  • Lint a specific folder or file, run:
vale path/to/docs/
# or
vale path/to/*.md
  • Lint the entire repo
yarn lint

Format Python code examples

Install blacken-docs.

python -m pip install blacken-docs

Run the formatter.

yarn format
git ls-files -z -- '*.md' | xargs -0 blacken-docs

Update CPU and GPUs

yarn gpu-types
yarn cpu-types