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
.
You can now run
npm run docs:dev
to view the documentation in your browser.
In addition to the VSCode 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 fomatted 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.