Add separate configuration for MkDocs Insiders plugins (#5544)

## Summary

This PR adds a separate configuration file to enable us to turn on
[Insiders-only
plugins](https://squidfunk.github.io/mkdocs-material/insiders/getting-started/#built-in-plugins).

I've turned on the `typeset` plugin which ensures that the settings on
the left-hand navigation pane render as code:

<img width="1792" alt="Screen Shot 2023-07-05 at 6 27 20 PM"
src="https://github.com/astral-sh/ruff/assets/1309177/c93676dd-bb48-417a-9d3b-528bf001e9b7">
This commit is contained in:
Charlie Marsh
2023-07-05 18:40:21 -04:00
committed by GitHub
parent d097b49371
commit c9e02c52a8
6 changed files with 12 additions and 3 deletions

View File

@@ -271,4 +271,4 @@ jobs:
- name: "Check docs formatting"
run: python scripts/check_docs_formatted.py
- name: "Build docs"
run: mkdocs build --strict -f mkdocs.generated.yml
run: mkdocs build --strict -f mkdocs.insiders.yml

View File

@@ -26,7 +26,7 @@ jobs:
run: |
python scripts/transform_readme.py --target mkdocs
python scripts/generate_mkdocs.py
mkdocs build --strict -f mkdocs.generated.yml
mkdocs build --strict -f mkdocs.insiders.yml
- name: "Deploy to Cloudflare Pages"
if: ${{ env.CF_API_TOKEN_EXISTS == 'true' }}
uses: cloudflare/wrangler-action@2.0.0