This website is built using Docusaurus.
srccontains the home pagestaticcontains static assets (images, ...); NOTE: the.nojekyllfile is important, see heredocusaurus.config.jscontains the Docusaurus related configurationsidebar.jscontains the sidebar configuration
In order to preview changes to the website locally on your machine, you need the following:
- Node.js >= 18.0
- npm (comes with Node.js on Windows / MacOS; separate package on Linux)
Install the dependencies:
cd docs/website
npm installAbove step needs to be done only once initially, or after dependencies have changed.
To start the development server, run the following:
npm run startA browser window should open automatically (it may take some time to load initially as the website is processed). If it does not, take a look at the output of above command for more details.
To add or change documentation, simply create or edit the corresponding Markdown file. No JavaScript or React knowledge needed.
Docusaurus has been configured to take the general and tutorial folders into account. If you want to add another section, create the corresponding folder structure and extend docusaurus.config.js and sidebar.js accordingly.
The homepage is based on React and written in JavaScript. Its main entry point is the src/pages/index.js file.
Docusaurus will let you know if a new version is available when you start the development server. See also here.