mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-29 18:33:05 +00:00
Fix Github Actions docs pipeline (#1622)
This commit is contained in:
parent
f13cf64578
commit
4c608a4b58
3 changed files with 8 additions and 3 deletions
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
||||||
key: ${{ github.ref }}
|
key: ${{ github.ref }}
|
||||||
path: .cache
|
path: .cache
|
||||||
- name: Setup dependencies
|
- name: Setup dependencies
|
||||||
run: pip install mkdocs-material pillow cairosvg mkdocs-minify-plugin
|
run: pip install -r docs/requirements.txt
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: mkdocs build --strict
|
run: mkdocs build --strict
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
|
|
5
docs/requirements.txt
Normal file
5
docs/requirements.txt
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
cairosvg~=2.7.1
|
||||||
|
mkdocs-material~=9.4.14
|
||||||
|
mkdocs-minify-plugin~=0.7.1
|
||||||
|
pillow~=10.1.0
|
||||||
|
|
|
@ -94,8 +94,8 @@ markdown_extensions:
|
||||||
- pymdownx.caret
|
- pymdownx.caret
|
||||||
- pymdownx.details
|
- pymdownx.details
|
||||||
- pymdownx.emoji:
|
- pymdownx.emoji:
|
||||||
emoji_generator: !!python/name:materialx.emoji.to_svg
|
emoji_generator: !!python/name:material.extensions.emoji.to_svg
|
||||||
emoji_index: !!python/name:materialx.emoji.twemoji
|
emoji_index: !!python/name:material.extensions.emoji.twemoji
|
||||||
- pymdownx.highlight:
|
- pymdownx.highlight:
|
||||||
anchor_linenums: true
|
anchor_linenums: true
|
||||||
line_spans: __span
|
line_spans: __span
|
||||||
|
|
Loading…
Reference in a new issue