This repo is the core of the NFDI4Chem knowledge base.
Just follow these simple steps:
- Create a fork of the repository.
- Make additions/changes as required.
- Create a pull-request.
Your changes will then be reviewed by editors of this page. In case of any problems, or if you are unable to contribute via github contact helpdesk@nfdi4chem.de.
- Use british english
- headings with: # (primary), ## (secondary), ### (tertiary etc)
- Citations (e.g. for journal articles): only cite the name of the article and doi (if available) and add link to doi - as opposed to a citation standard such as Angewandte, RSC etc. To cite to a footnote which contains a citation, use a superscripted number.
- For references, sources and/or further information/reading, please always use the heading "Sources and further information".
- Use bullet points
- Indicate if a source is written in German (e.g. - German: Article about ...)
Please place your image files in the suitable subfolder for the topic of your article:
/static/img/domains
/static/img/role
/static/img/problems
/static/img/topics
You can then reference to them by leaving out the /static
part of the path. Preferably add images using the Markdown syntax like this:
![FAIR Data](/img/topics/FAIR_data_principles.png)
Using the img
HTML tag will require additional prerequisites and is discouraged unless specifically needed for the page layout. If you have special formatting matters, please contact us.
Please place downloadable files, e.g. document templates, in the assets
folder:
/static/assets/file.pdf
/static/assets/template.docx
Please contact us for assistance in placing the correct links.
This website is built using Docusaurus 2, a modern static website generator. When you add or edit pages, you may conveniently preview them locally on your computer.
- In order to clone the repository to your computer, you may simply download the repository from Github and extract it. If you want to work locally on changes in your fork, the installation of Git and Visual Studio Code may be convenvient.
- To create a local preview of the website, you need to install NodeJS (we recommend using the LTS 16.x version, at least
>=16.14
is required).
To install the required packages to the Docusaurus repository, change to the extracted repository directory on your shell and use the following command :
npm install
To (re-)build the KB files after a content update, run:
npm run build
To run a local testing instance of the knowledge base, run:
npm run start
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server. Press Ctrl + C
to stop.
For further details please refer to the Docusaurus documentation.