build with mkdocs
The website is building in the following commands.
- Install mkdocs and material theme that support the website
pip install mkdocs mkdocs-material- modify the website blogs in
/docs. write markdown blogs.
If we want to add new page to the website, go to /mkdocs.yml and set up nav part
- building the website
Now we can compile the markdown into html formula. Use the following commman:
mkdocs buildThis will form a /site folder that display the site.
we can check our website's appearance:
mkdocs serve- Uploading and deploy on github
Just use the following command:
mkdocs gh-deploy --cleanhttps://blog.csdn.net/qq_41261251/article/details/116021097
https://www.cnblogs.com/chinjinyu/p/17610438.html