]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commitdiff
🔧 Add MkDocs Material social cards (#90)
authorSebastián Ramírez <tiangolo@gmail.com>
Tue, 30 Nov 2021 16:27:50 +0000 (17:27 +0100)
committerGitHub <noreply@github.com>
Tue, 30 Nov 2021 16:27:50 +0000 (17:27 +0100)
.github/workflows/build-docs.yml
.gitignore
mkdocs.yml

index 82402f537ad41ca104f9dc4d96dd9a7409f0c5b7..31b799225c4780508da492409e8dc63cd0f88437 100644 (file)
@@ -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
index 909f50ed81364e15b777b5522efe3dea75467898..400606938970e22191c1c9635193ec7149e012df 100644 (file)
@@ -11,3 +11,4 @@ htmlcov
 coverage.xml
 site
 *.db
+.cache
index 5ebc361083622d19c41b8d36f1cf2b3435096a46..673c2d3cf50c7d643476b3ecadb8ac32e8d96e3d 100644 (file)
@@ -32,6 +32,7 @@ google_analytics:
     - auto
 plugins:
 - search
+- social
 nav:
   - SQLModel: index.md
   - features.md