Skip to content

Commit 2590b41

Browse files
committed
🔧 Add MkDocs Material social cards
1 parent 02da85c commit 2590b41

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build-docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ jobs:
5151
- name: Install Material for MkDocs Insiders
5252
if: github.event.pull_request.head.repo.fork == false && steps.cache.outputs.cache-hit != 'true'
5353
run: python -m poetry run pip install git+https://${{ secrets.ACTIONS_TOKEN }}@github.com/squidfunk/mkdocs-material-insiders.git
54+
- uses: actions/cache@v2
55+
with:
56+
key: ${{ github.ref }}
57+
path: .cache
5458
- name: Build Docs
5559
run: python -m poetry run mkdocs build
5660
- name: Zip docs

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ htmlcov
1111
coverage.xml
1212
site
1313
*.db
14+
.cache

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ google_analytics:
3232
- auto
3333
plugins:
3434
- search
35+
- social
3536
nav:
3637
- SQLModel: index.md
3738
- features.md

0 commit comments

Comments
 (0)