Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1006 Bytes

README.md

File metadata and controls

43 lines (27 loc) · 1006 Bytes

Documentation

Documentation for grammY. Contributions are welcome!

The logos/ directory only contains the logos of grammY, all website-related things are in site/.

Building the Website Locally

Setup (once): cd into site/ and run npm install.

You can now run

npm run docs:dev

to view the documentation in your browser.

Checking Correct Formatting of Docs

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.