Documentation for grammY. Contributions are welcome!
The logos/
directory only contains the logos of grammY—all website-related things are in site/
.
Setup (once): cd
into site/
and run npm install
.
Note
For Windows users: Currently, you should do npm install --no-package-lock
instead of just npm install
.
You can now run
npm run docs:dev
to view the documentation in your browser.
In addition to the VS Code extension that lints the Markdown, Deno formatting is used to check the formatting of markdown files and the TypeScript and JavaScript code contained in them.
You can use the following two commands in the site/
directory.
cd site/
# Checks if all files are formatted correctly
deno fmt --check
# Automatically formats all files directly
deno fmt
You can also run
npm run docs:fmt
in the site/
directory to perform the formatting if you don't have Deno installed.
To resolve this error, delete the node_modules
folder in the site/
directory's root.
Then, execute npm install --no-package-lock
in the terminal.