GruvDoc is pre-configured MkDocs project with all the must useful extensions and tweaks needed, just Fork, Change and Push!
check Demo or Docs for more information.
- GruvDoc is all extra config files, anything can be changed easily.
- Tweaks Material for MkDocs under the hood!
- GruvBox color palette with 24 different colors for both primary and accent.
- JetBrainsMono font.
- Simple, pre-configured mkdocs.yml file.
- Github / Gitlab Workflows included for auto Deployment!
- Including Styles and custom Utils.
Fork GruvDoc github repo and Clone it or Clone the main repo:
git clone https://github.com/aasmpro/gruvdoc.git
by Forking you don't need to create and set new repo.
create a virtual environment and install packages:
pip install -r requirements/gruvdoc.txt
serve your local version and start editing!
mkdocs serve
when you are done, commit and push changes. workflows will take care of deployments.
check mkdocs-material/publishing for more information.
if you want to add GruvDoc in another project:
- copy
docs
folder to your project - copy
mkdocs.yml
file to your project - copy
requirements
folder to your project - copy
.github/workflows/gruvdoc.yml
or.gitlab-ci.yml
for workflows
you rather using GrubDoc without its tweaked theme? no problem!
just comment extra css section in mkdocs.yml
file:
## Extra css files
### comment these lines,
### if you want to use default material theme
extra_css:
- assets/stylesheets/fonts.css
- assets/stylesheets/vars.css
- assets/stylesheets/scheme.css
- assets/stylesheets/primary.css
- assets/stylesheets/accent.css
- assets/stylesheets/admonitions.css
- assets/stylesheets/utils.css
- assets/stylesheets/styles.css
and then set your palette:
## Theme settings
theme:
name: material
### comment these lines,
### if you want to use default material theme
palette:
scheme: gruvbox
primary: green
accent: green
### uncomment to use default material theme
# palette:
# scheme: default
you can change anything by editing only mkdocs.yml
file.