Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ehvs/notes

Open more actions menu

Repository files navigation

mkdocs-blog

Blog using mkdocs

Dependencies:

  • pip install mkdocs
  • pip install mkdocs-material

How to run

Local

mkdocs serve --livereload

Container (Podman) — any machine, no local Python needed

The repo includes a Containerfile and a run.sh that work on both Fedora and macOS.

SSH agent forwarding is used so your private key never enters the container or the image.

1. Clone the repo

git clone git@github.com:you/notes.git
cd notes

2. Build the image (once per machine)

podman build -t mkdocs .

3. Load your SSH key on the host

ssh-add ~/.ssh/$publicsshkey

4. Run

./run.sh

MkDocs will be available at http://localhost:8000. Files are served from the host directory — edits are reflected live. Git commands (add, commit, push) work inside the container using your host SSH agent.

macOS only: make sure Podman Machine is running before step 4.

podman machine start

References:

About

Blog using mkdocs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.