diff --git a/projects/github.com/squidfunk/mkdocs-material/mkdocs.yml b/projects/github.com/squidfunk/mkdocs-material/mkdocs.yml index 96914590..4eba1a2a 100644 --- a/projects/github.com/squidfunk/mkdocs-material/mkdocs.yml +++ b/projects/github.com/squidfunk/mkdocs-material/mkdocs.yml @@ -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 diff --git a/projects/github.com/squidfunk/mkdocs-material/package.yml b/projects/github.com/squidfunk/mkdocs-material/package.yml index 58984b35..92787734 100644 --- a/projects/github.com/squidfunk/mkdocs-material/package.yml +++ b/projects/github.com/squidfunk/mkdocs-material/package.yml @@ -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