mirror of
https://github.com/fastapi/fastapi.git
synced 2026-05-19 13:57:51 -04:00
✨ Set up and enable Material for MkDocs Insiders for the docs (#2325)
* ⬆️ Upgrade Material for MkDocs * ⬆️ Install Material for MkDocs Insiders on CI * 🔧 Update MkDocs configs to use Material for MkDocs Insiders * ✨ Use the lightbulb because it looks nice 💡 * 💚 Fix GitHub Action workflow syntax for building docs * 🐛 Fix GitHub Actions workflow syntax, strike one ⚾
This commit is contained in:
committed by
GitHub
parent
97adeca0a4
commit
4bcdbc5673
3
.github/workflows/build-docs.yml
vendored
3
.github/workflows/build-docs.yml
vendored
@@ -20,6 +20,9 @@ jobs:
|
||||
run: python3.7 -m pip install flit
|
||||
- name: Install docs extras
|
||||
run: python3.7 -m flit install --extras doc
|
||||
- name: Install Material for MkDocs Insiders
|
||||
if: github.repository == 'tiangolo/fastapi'
|
||||
run: pip install git+https://${{ secrets.ACTIONS_TOKEN }}@github.com/squidfunk/mkdocs-material-insiders.git
|
||||
- name: Build Docs
|
||||
run: python3.7 ./scripts/docs.py build-all
|
||||
- name: Zip docs
|
||||
|
||||
Reference in New Issue
Block a user