mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
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>
This commit is contained in:
parent
1d45eeb111
commit
c6281442df
2 changed files with 21 additions and 7 deletions
|
@ -49,3 +49,8 @@ markdown_extensions:
|
||||||
- pymdownx.tilde
|
- pymdownx.tilde
|
||||||
- toc:
|
- toc:
|
||||||
permalink: true
|
permalink: true
|
||||||
|
- pymdownx.superfences:
|
||||||
|
custom_fences:
|
||||||
|
- name: mermaid
|
||||||
|
class: mermaid
|
||||||
|
format: !!python/name:mermaid2.fence_mermaid
|
||||||
|
|
|
@ -7,16 +7,25 @@ versions:
|
||||||
github: squidfunk/mkdocs-material
|
github: squidfunk/mkdocs-material
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
python.org: ">=3<3.12"
|
pkgx.sh: ^1
|
||||||
|
|
||||||
build:
|
build:
|
||||||
script: python-venv.sh {{prefix}}/bin/mkdocs
|
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:
|
provides:
|
||||||
- bin/mkdocs
|
- bin/mkdocs
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script: |
|
- mkdir docs
|
||||||
mkdir docs
|
- mv index.md docs/
|
||||||
mv index.md docs/
|
- mkdocs -v build
|
||||||
mkdocs build
|
|
||||||
|
|
Loading…
Reference in a new issue