- simply go to the coresponding
.mdfile edit it and commit - done
- get a bibtex file - see below (from google scholar)
- manually add the
doifield (without thehttps://doi.org/) - manually add a
PMIDif its available (will create a pubmed link) - got to
docs/publications/data/publications.biband copy this bib text into the doc
@article{reuken2021severe,
title={Severe clinical relapse in an immunocompromised host with persistent SARS-CoV-2 infection},
author={Reuken, Philipp A and Stallmach, Andreas and Pletz, Mathias W and Brandt, Christian and Andreas, Nico and Hahnfeld, Sabine and Löffler, Bettina and Baumgart, Sabine and Kamradt, Thomas and Bauer, Michael},
journal={Leukemia},
volume={35},
number={3},
pages={920--923},
year={2021},
publisher={Nature Publishing Group},
doi={10.1038/s41375-021-01175-8},
PMID={33608636},
PMCID={PMC7893131}
}
mkdocs needs a .md file in docs/ and the correct "link" in mkdocs.yml
example:
- e.g. i want to add
foo.mdto the "bar" kategory on the webpage
- create the md file
touch docs/bar/foo.md- edit
foo.mdusing markdown syntax
- "link" the
foo.mdnano mkdocs.yml- go to
# Navigation- this represents the "kategories" written as plain text
- you should understand this based on the structure ;) buut:
- add this:
- whateveryouwant:
- whateveryouwant2: bar/foo.md- Detailed style tutorial can be found here
- a docker will render the local webpage so you can check what is happening
- to do a "dry run and live test" run the following commands:
git clone https://github.com/CaSe-group/case-group.github.io.git
# or if repo exists
git pull
# within the directory of the git do
docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material- open the local webpage in your browser via
http://0.0.0.0:8000/- or click this link
- now you can check the changes