Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/vzhong/mkdocs_pug

Use pug templates with your mkdocs template
https://github.com/vzhong/mkdocs_pug

Last synced: 30 days ago
JSON representation

Use pug templates with your mkdocs template

Awesome Lists containing this project

README

        

# mkdocs-pug

This MkDocs plugin is based on [pypugjs](https://github.com/kakulukia/pypugjs).

To install:

```
pip install mkdocs_pug
```

To use, add this to your `mkdocs.yml`:

```
plugins:
- mkdocs_pug
```

Then, this plugin will watch for `*.pug` files in your template directories and build the corresponding `*.html` files in the same location.

To do this automatically with the server during development, you should run with

```
mkdocs serve --watch-theme
```

This repo contains an example of how to use this plugin inside an MkDocs project.