Skip to content

DataSpott/case-group.github.io

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpage

Modifying a page

  • simply go to the coresponding .md file edit it and commit
  • done

Adding a page or changing structure

mkdocs needs a .md file in docs/ and the correct "link" in mkdocs.yml

example:

  • e.g. i want to add foo.md to the "bar" kategory on the webpage
  1. create the md file
    • touch docs/bar/foo.md
    • edit foo.md using markdown syntax
  2. "link" the foo.md
    • nano 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

Change webpage appearance and style

  • 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/
  • now you can check the changes

Releases

No releases published

Packages

No packages published

Languages

  • SCSS 75.1%
  • HTML 24.9%