- simply go to the coresponding
.mdfile edit it and commit - done
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