This this the source code repo for my blog.
The static website is generated with Material for MkDocs.
A general guideline is as followed:
pip install mkdocs-material
git clone git@github.com:yongcongwang/note.git &&
cd note &&
mkdocs serve
This will hold a live preview server, so you can preview this blog via a browser at localhost:8000.
I use github to hold the code and Github Pages to hold the website.
There are two ways for the deployment:
- Github Actions, deployment wil happen each time a new comment is attached to master branch.
- Manually with the command:
mkdocs gh-deploy --force
And I prefer the first.
I create all figures with diagram, and all images can be modified with it.