Based on a popular Material theme for MkDocs static site generator, I added new layouts and customized some styles to show this site in a blog-like theme.
Please visit my blog at vuquangtrong.github.io to see this theme in live.
-
Clone this repo
-
Run
_new.bat
to init a virtual environment -
Run activate the virtual environment
Note that you are using virtual environment, next time when you start to edit this project, make sure to activate it first.
Run _install.bat
to install required packages.
Edit mkdocs.yaml
to as your need!
You can add your new documents in docs\blog
.
Refer to Markdown syntax for writing documents.
- Run
_run.bat
- Preview in browser at http://127.0.0.1:8000/
Run mkdocs build
, then copy the content in the site
folder to your website's serving folder.
This function only work when you have Chrome and ChromeDrive installed and configured. For more detail, please visit Print to PDF plugin.
MIT License Copyright (c) 2020-2021 Vu Quang Trong