mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merge pull request #1441 from ynput/feature/ci-mkdocs-with-enhancements
Feature/CI MK Docs Deployment
This commit is contained in:
commit
69cb9477b6
3 changed files with 29 additions and 2 deletions
18
.github/workflows/deploy_mkdocs.yml
vendored
Normal file
18
.github/workflows/deploy_mkdocs.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
name: Deploy MkDocs
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "*"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-mk-docs:
|
||||
# FIXME: Update @develop to @main after `ops-repo-automation` release.
|
||||
uses: ynput/ops-repo-automation/.github/workflows/deploy_mkdocs.yml@develop
|
||||
with:
|
||||
repo: ${{ github.repository }}
|
||||
secrets:
|
||||
YNPUT_BOT_TOKEN: ${{ secrets.YNPUT_BOT_TOKEN }}
|
||||
CI_USER: ${{ secrets.CI_USER }}
|
||||
CI_EMAIL: ${{ secrets.CI_EMAIL }}
|
||||
|
|
@ -11,12 +11,12 @@ theme:
|
|||
- media: "(prefers-color-scheme: dark)"
|
||||
scheme: slate
|
||||
toggle:
|
||||
icon: material/toggle-switch-off-outline
|
||||
icon: material/weather-sunny
|
||||
name: Switch to light mode
|
||||
- media: "(prefers-color-scheme: light)"
|
||||
scheme: default
|
||||
toggle:
|
||||
icon: material/toggle-switch
|
||||
icon: material/weather-night
|
||||
name: Switch to dark mode
|
||||
logo: img/ay-symbol-blackw-full.png
|
||||
favicon: img/favicon.ico
|
||||
|
|
|
|||
9
mkdocs_requirements.txt
Normal file
9
mkdocs_requirements.txt
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
mkdocs-material >= 9.6.7
|
||||
mkdocs-autoapi >= 0.4.0
|
||||
mkdocstrings-python >= 1.16.2
|
||||
mkdocs-minify-plugin >= 0.8.0
|
||||
markdown-checklist >= 0.4.4
|
||||
mdx-gh-links >= 0.4
|
||||
pymdown-extensions >= 10.14.3
|
||||
mike >= 2.1.3
|
||||
mkdocstrings-shell >= 1.0.2
|
||||
Loading…
Add table
Add a link
Reference in a new issue