mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +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
|
@ -49,3 +49,8 @@ markdown_extensions:
|
|||
- pymdownx.tilde
|
||||
- toc:
|
||||
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
|
||||
|
||||
dependencies:
|
||||
python.org: ">=3<3.12"
|
||||
pkgx.sh: ^1
|
||||
|
||||
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:
|
||||
- bin/mkdocs
|
||||
- bin/mkdocs
|
||||
|
||||
test:
|
||||
script: |
|
||||
mkdir docs
|
||||
mv index.md docs/
|
||||
mkdocs build
|
||||
- mkdir docs
|
||||
- mv index.md docs/
|
||||
- mkdocs -v build
|
||||
|
|
Loading…
Reference in a new issue