diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 1867a57b..1d19ed3d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -26,7 +26,7 @@ jobs: key: ${{ github.ref }} path: .cache - name: Setup dependencies - run: pip install mkdocs-material pillow cairosvg mkdocs-minify-plugin + run: pip install -r docs/requirements.txt - name: Build docs run: mkdocs build --strict - name: Upload artifact diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 00000000..32bd08c1 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,5 @@ +cairosvg~=2.7.1 +mkdocs-material~=9.4.14 +mkdocs-minify-plugin~=0.7.1 +pillow~=10.1.0 + diff --git a/mkdocs.yml b/mkdocs.yml index 75abcddb..86a15469 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -94,8 +94,8 @@ markdown_extensions: - pymdownx.caret - pymdownx.details - pymdownx.emoji: - emoji_generator: !!python/name:materialx.emoji.to_svg - emoji_index: !!python/name:materialx.emoji.twemoji + emoji_generator: !!python/name:material.extensions.emoji.to_svg + emoji_index: !!python/name:material.extensions.emoji.twemoji - pymdownx.highlight: anchor_linenums: true line_spans: __span