pantry/projects/github.com/squidfunk/mkdocs-material/package.yml
tannevaled c6281442df
github.com/squidfunk/mkdocs-material add common plugins (#5128)
* add common plugins

* clarify added requirements; use bkpyvenv for future-proofing

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
2024-02-06 14:43:09 -05:00

31 lines
672 B
YAML

display-name: squidfunk/mkdocs-material
distributable:
url: https://github.com/squidfunk/mkdocs-material/archive/refs/tags/{{version}}.tar.gz
strip-components: 1
versions:
github: squidfunk/mkdocs-material
dependencies:
pkgx.sh: ^1
build:
dependencies:
python.org: ">=3<3.12"
script:
- run: cat $PROP >> requirements.txt
prop: |
mkdocs-mermaid2-plugin
mkdocs-plugin-progress
mkdocs-include-markdown-plugin
- bkpyvenv stage {{prefix}} {{version}}
- ${{prefix}}/venv/bin/pip install .
- bkpyvenv seal {{prefix}} mkdocs
provides:
- bin/mkdocs
test:
- mkdir docs
- mv index.md docs/
- mkdocs -v build