Skip to content

Pre-configured MkDocs project with GruvBox colors and JetBrainsMono font.

License

Notifications You must be signed in to change notification settings

aasmpro/gruvdoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Features

Usage

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.

In another repo

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 don't want tweaks?!

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.