/senaite2.com

Official SENAITE Docusaurus Site

Primary LanguageJavaScriptOtherNOASSERTION

New SENAITE Website with Documentation

This repository holds the new SENAITE website based on Docusaurus.

Install the Docusaurus init command

https://docusaurus.io/docs/en/tutorial-setup#install-the-docusaurus-init-command

Docusaurus comes with a command line tool to help you scaffold a Docusaurus site with some example templates.

Run the following command:

npm install --global docusaurus-init

or if you have Yarn:

yarn global add docusaurus-init

Install the dependencies

Change into the website directory of the site and install the required dependencies with npm install or yarn install.

Start the develop server

Make sure to be in the website directory and run npm run start or yarn start.

Site Configuration

The global site configuration resides in the file website/siteConfig.js. Documentation can be found here: https://docusaurus.io/docs/en/site-config

Sidebar Navigation

The configuration for the sidebar navigation resides in the file website/sidebars.json

Provided Components

Docusaurus comes with some ReactJS Components that can be used in pages like e.g. a MarkdownBlock, Container, Grid etc.

https://docusaurus.io/docs/en/api-pages#provided-components

Deployment

The website is deployed on GitHub in the repository senaite.github.io.

A script will execute all necessary steps to deploy the latest version.

Deploy Command:

./bin/deploy

Versioning

Run the following command to create a new version:

cd website
yarn run version 1.3.3

Further reading: https://docusaurus.io/docs/en/versioning

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License .