MkDocs and material
Why do I run this?
I run MKdocs on material to make hte best attempt at taking notes while I deploy things and that way I can remember what I did. This is a beautiful customized interface that allows me to pump out notes and easily review them like a wiki.
My install
-
Made a directory to retain all my docs
1mkdir mkdocs -
Changed into that directory
1cd mkdocs -
Ran this command to download the image
1docker pull squidfunk/mkdocs-material -
Followed up with this to create the container and start creating
1sudo docker run --rm -it -p 8000:8001 -v "$(PWD):/docs" squidfunk/mkdocs-material --restart unless-stopped redis -
Once this I started customiztion with the help of this site
Commands
mkdocs new [dir-name]- Create a new project.mkdocs serve- Start the live-reloading docs server.mkdocs build- Build the documentation site.mkdocs -h- Print help message and exit.
Project layout
1 2 3 4 | |
Source
For full documentation visit mkdocs.org.