An open API service indexing awesome lists of open source software.

https://github.com/aasmpro/gruvdoc

Pre-configured MkDocs project with GruvBox colors and JetBrainsMono font.
https://github.com/aasmpro/gruvdoc

gruvbox hacktoberfest mkdocs python theme

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

          

## [GruvDoc](https://abolfazlamiri.ir/gruvdoc/)
GruvDoc is pre-configured [MkDocs](https://www.mkdocs.org/) project with all the must useful extensions and tweaks needed, just Fork, Change and Push!

check [Demo](https://abolfazlamiri.ir/gruvdoc/demo/abbreviations/) or [Docs](https://abolfazlamiri.ir/gruvdoc/docs/colors/) for more information.

### Features
- GruvDoc is all extra config files, anything can be [changed](https://abolfazlamiri.ir/gruvdoc/#you-dont-want-tweaks) easily.
- Tweaks [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/) under the hood!
- [GruvBox](https://abolfazlamiri.ir/gruvdoc/docs/colors/) color palette with 24 different colors for both primary and accent.
- [JetBrainsMono](https://abolfazlamiri.ir/gruvdoc/docs/fonts/) font.
- Simple, pre-configured [mkdocs.yml](https://github.com/aasmpro/gruvdoc/blob/master/mkdocs.yml) file.
- [Github](https://github.com/aasmpro/gruvdoc/blob/master/.github/workflows/gruvdoc.yml) / [Gitlab](https://github.com/aasmpro/gruvdoc/blob/master/.gitlab-ci.yml) Workflows included for auto Deployment!
- Including [Styles](https://abolfazlamiri.ir/gruvdoc/docs/styles/) and custom [Utils](https://abolfazlamiri.ir/gruvdoc/docs/utils/).

### Usage
[Fork](https://github.com/aasmpro/gruvdoc/fork) GruvDoc github repo and Clone it or Clone the main repo:
```
git clone https://github.com/aasmpro/gruvdoc.git
```
> by [Forking](https://github.com/aasmpro/gruvdoc/fork) 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](https://squidfunk.github.io/mkdocs-material/publishing-your-site/) 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:
```yaml
## 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:
```yaml
## 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.