- Install NodeJS. Check
.nvmrc
for the version used by this project. - Run
npm install
in the project root to install the necessary dependencies. - If using VSCode (you probably should be), install the recommended extensions.
- Run
npm run dev
to start the development server. - Browse to
http://localhost:3000
to view the development site. It will hot-reload on changes.
This project is primarily intended as an internal wiki, so complex pages and rigid styling are not required. Wiki pages should be created inside ./wiki
and should be .md
or .mdx
files. Use the existing pages for reference.
Note
We are using Docusaurus. To learn more about creating "docs" (wiki) pages, review their documentation. If you are new to markdown, view the Markdown Guide and/or Docusaurus's list of special markdown features.
When adding images to a wiki page, place them in an images
subdirectory where you are adding your wiki page. This helps keeps things scoped and makes it easier to relocate groups of pages.
Please ensure you do the following before pushing to main
:
- Run
npm run lint:fix
to ensure the codebase is linted and formatted. Fix any errors that are returned. - Test the site by running
npm run dev
. - Build the site locally with
npm run build
Note that we are limited on the number of deploys we can make per month, so push work in batches, rather than one commit at a time.