From aa33cf72953b0827a77b9b003a8136710e7e4da9 Mon Sep 17 00:00:00 2001 From: Ben Phelps Date: Fri, 14 Jun 2024 00:58:58 +0300 Subject: [PATCH] add mkdocs-material[imaging] --- .github/workflows/docs-publish.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/docs-publish.yml b/.github/workflows/docs-publish.yml index 2793f28ca..2f3a9501f 100644 --- a/.github/workflows/docs-publish.yml +++ b/.github/workflows/docs-publish.yml @@ -2,15 +2,15 @@ name: Docs on: push: - tags: [ 'v*.*.*' ] - branches: ['main'] + tags: ["v*.*.*"] + branches: ["main"] paths: - - 'docs/**' - - 'mkdocs.yml' + - "docs/**" + - "mkdocs.yml" pull_request: paths: - - 'docs/**' - - 'mkdocs.yml' + - "docs/**" + - "mkdocs.yml" merge_group: workflow_dispatch: @@ -22,16 +22,13 @@ jobs: name: Linting Checks runs-on: ubuntu-22.04 steps: - - - name: Checkout repository + - name: Checkout repository uses: actions/checkout@v4 - - - name: Install python + - name: Install python uses: actions/setup-python@v5 with: python-version: 3.x - - - name: Check files + - name: Check files uses: pre-commit/action@v3.0.1 test: @@ -55,6 +52,7 @@ jobs: - run: sudo apt-get install pngquant - run: pip install mike - run: pip install mkdocs-material + - run: pip install "mkdocs-material[imaging]" - name: Test Docs Build run: MKINSIDERS=false mkdocs build deploy: @@ -80,6 +78,7 @@ jobs: - run: sudo apt-get install pngquant - run: pip install mike==2.0.0 - run: pip install git+https://${GH_TOKEN}@github.com/benphelps/mkdocs-material-insiders.git + - run: pip install "mkdocs-material[imaging]" - name: Set Git config run: | git config --global user.name "GitHub Action"