The docs website is built using Docusaurus 2, a modern static website generator. See it live at https://www.chemotion.net
As long as your edits are relatively simple i.e. modifying a spelling error, introducing a line or adding a comment, you can use the Edit this page
button at the bottom of most pages.
The best way of creating a development environment for these Docs is to use a development container. A .devcontainer
file is contained in the repository itself.
As long as you have a supported IDE (e.g. VSCode), you can run the following to have a development environment in ~5 minutes.
git clone https://github.com/ComPlat/chemotion_saurus
cd chemotion_saurus
code .
This should launch the IDE and you will get an option to reopen the folder as a container. Use it and you are good to go.
This presumes that you have node installed.
# install all required packages
npm install
# start local development server
npm start
The second command opens a browser window. Most changes are reflected live without having to restart the server. Press Ctrl + C to stop.
This command generates static content into the build
directory and can be served using any static contents hosting service.
# build static content
npm run build
# serve static content
npm run serve
The website is deployed with GitHub Actions here.