From 55259b3c8b66ad45f65f40cafc28f26edd9acb43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Tue, 30 Nov 2021 17:27:50 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Add=20MkDocs=20Material=20social?= =?UTF-8?q?=20cards=20(#90)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-docs.yml | 4 ++++ .gitignore | 1 + mkdocs.yml | 1 + 3 files changed, 6 insertions(+) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 82402f5..31b7992 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -51,6 +51,10 @@ jobs: - name: Install Material for MkDocs Insiders if: github.event.pull_request.head.repo.fork == false && steps.cache.outputs.cache-hit != 'true' run: python -m poetry run pip install git+https://${{ secrets.ACTIONS_TOKEN }}@github.com/squidfunk/mkdocs-material-insiders.git + - uses: actions/cache@v2 + with: + key: mkdocs-cards-${{ github.ref }} + path: .cache - name: Build Docs run: python -m poetry run mkdocs build - name: Zip docs diff --git a/.gitignore b/.gitignore index 909f50e..4006069 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ htmlcov coverage.xml site *.db +.cache diff --git a/mkdocs.yml b/mkdocs.yml index 5ebc361..673c2d3 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -32,6 +32,7 @@ google_analytics: - auto plugins: - search +- social nav: - SQLModel: index.md - features.md