This repository contains the Tributech Platform documentation. This documentation is written in markdown syntax using docusaurus hosted on Github Pages.
Git LFS is not supported with Github Pages: git-lfs/git-lfs#3498
Install NodeJS on Windows or WSL, e.g. WSL:
## Install NodeJS on WSL
# install curl
$ sudo apt-get install curl
# install nvm
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
# restart console
# check if nvm is installed
$ nvm --version
# install Node.js max LTS version < v17 (because of the Webpack crypto.createHash() function)
$ nvm install 16.19.0
yarn
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
yarn clear
This command clears the local cache in case References / Images are not reflected in the yarn start
yarn build
This command generates static content into the build
directory and can be served using any static contents hosting service.
The master branch get automatically deployed using Github-Actions.
To update a specific version of the documentation just edit the files in the correct folder and merge to master using a PR.
To release a new version you need to run yarn run docusaurus docs:version [X.X.X]
.