Skip to content

Commit 3f95b38

Browse files
codingjoeCopilot
andauthored
Test gh pages docs build (#180)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d0a10ae commit 3f95b38

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@ on:
33
release:
44
types: [published]
55
workflow_dispatch:
6+
permissions:
7+
contents: write
68
jobs:
9+
gh-pages:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v6
13+
- run: sudo apt-get update && sudo apt-get install -y gettext
14+
- uses: astral-sh/setup-uv@v7
15+
- run: uv run mkdocs gh-deploy --force
716
pypi-build:
817
runs-on: ubuntu-latest
918
steps:

mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,18 @@ theme:
1414
name: material
1515
palette:
1616
- media: "(prefers-color-scheme)"
17+
primary: teal
1718
toggle:
1819
icon: material/brightness-auto
1920
name: Switch to light mode
2021
- media: "(prefers-color-scheme: light)"
22+
primary: teal
2123
scheme: default
2224
toggle:
2325
icon: material/brightness-7
2426
name: Switch to dark mode
2527
- media: "(prefers-color-scheme: dark)"
28+
primary: teal
2629
scheme: slate
2730
toggle:
2831
icon: material/brightness-4

0 commit comments

Comments
 (0)