# Website This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator. [See here for more](doc/referentiel_liens.md). ## Installation ```console npm install ``` ## Local Development ```console npm 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. ## Build ```console npm run build ``` This command generates static content into the `build` directory and can be served using any static contents hosting service. ## Create a new page [Follow this doc](doc/pages.md). ## Create a new section [Follow this doc](doc/sections.md). ## Update the theme [Follow this doc](doc/theme.md). ## Components [Follow this doc](doc/components.md) ## Three structure ``` ├── babel.config.js // contains configurations to Babel, a JavaScript compiler ├── blog // contains the blog Markdown files. ├── doc // contains the Markdown files for the Froggit docs. ├── docs // contains the Markdown files for the docs. ├── docusaurus.config.js // a config file containing the site configuration. ├── package.json // a Docusaurus website is a React app. You can install and use any npm packages ├── README.md ├── sidebars.js // used to specify the order of documentations in the sidebar ├── src // non-documentation files like pages or custom React components │ ├── components // contains React reusable Components and it's CSS modules │ ├── css // global CSS │ └── pages // pages Components ├── static // static directory └── img // images folder ``` More details on Project structure: * `/blog/` - You can delete the directory if you do not want/need a blog. More details can be found in the [blog guide](https://docusaurus.io/docs/blog) * `/docs/` - Customize the order in sidebars.js. More details can be found in the [docs guide](https://docusaurus.io/docs/docs-markdown-features) * `/src/` - You don't have to strictly put your non-documentation files in here but putting them under a centralized directory makes it easier to specify in case you need to do some sort of linting/processing * `/src/pages` - More details can be found in the [pages guide](https://docusaurus.io/docs/creating-pages) * `/static/` - Any contents inside here will be copied into the root of the final `build` directory * `/docusaurus.config.js` - This is the equivalent of `siteConfig.js` in Docusaurus v1 ## License [](https://choosealicense.com/licenses/mit/) Copyright (c) 2021-present Lydra Portions of this software are licensed as follows: - The graphic charter (logo, association of colors and fonts) is not under free license and belongs to Oxalis - Lydra. - All content residing under the "docs/" directory of this repository is licensed under ["Creative Commons: CC BY-SA 4.0 license"](https://creativecommons.org/licenses/by-sa/4.0/). - Content outside of the above mentioned directories or restrictions above is available under the [MIT license](https://choosealicense.com/licenses/mit/) as defined below.