Welcome to the contributing guide for the Bayreuth AI Association documentation. This document will give you all the necessary information if you wish to contribute. Whether you're fixing a typo, improving the docs, or adding a new section, your contributions are greatly appreciated.
- Install NVM for Node.js version management:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
- **Install and use the required Node.js version:
nvm install 22 --verbose # get the required node version nvm use 22 # set it as default
- Install Next:
npm install --save [email protected]
- Install
serve
to serve the static site locally (assumes Debian-based Linux):npm install -g serve
- Build and serve the static site:
npm run build # build the static site locally serve -s out # serve the site locally
- Fork the repository.
- Make your changes.
- Test locally.
- Submit a pull request
Under src/app/docs/
you can find the directories for all sub-pages. Each sub-page includes a page.md
that is later rendered with markdoc. Simply adjust the mardkown file or create a new folder if you have an additional topic to contribute!
Under src/lib/navigation.js
you can find the navigation section. New documentation should be included in the links.