Skip to content

Commit 365c2c8

Browse files
committed
Use ZDX MkDocs build pipeline
1 parent 22985a7 commit 365c2c8

14 files changed

Lines changed: 535 additions & 1774 deletions

.github/workflows/deploy.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,22 @@ jobs:
1818
with:
1919
node-version: 20
2020
cache: npm
21+
- uses: actions/setup-python@v5
22+
with:
23+
python-version: '3.12'
24+
- name: Install uv
25+
run: python -m pip install --upgrade uv
26+
- name: Install Python docs dependencies
27+
run: uv sync --frozen --group dev
2128
- run: npm ci
2229
- run: npm run check
2330
- run: npm run build
2431
- name: Validate Docker proxy target
2532
run: npm run proxy:target-check
2633
- uses: actions/upload-artifact@v4
2734
with:
28-
name: docs-dist
29-
path: dist
35+
name: docs-site
36+
path: site
3037
if-no-files-found: error
3138

3239
deploy:
@@ -54,8 +61,8 @@ jobs:
5461
python-version: '3.12'
5562
- uses: actions/download-artifact@v4
5663
with:
57-
name: docs-dist
58-
path: dist
64+
name: docs-site
65+
path: site
5966
- name: Install npmctl from PyPI
6067
run: python -m pip install --upgrade "npmctl>=0.3.10" "npmctl-namecheap>=0.3.10"
6168
- name: Validate npmctl orchestration secrets

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
FROM nginx:1.27-alpine
22
COPY nginx.conf /etc/nginx/conf.d/default.conf
3-
COPY dist /usr/share/nginx/html
3+
COPY site /usr/share/nginx/html
44
EXPOSE 80

index.html

Lines changed: 0 additions & 2 deletions
This file was deleted.

mkdocs.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,7 @@ plugins:
7373
markdown_extensions:
7474
- admonition
7575
- pymdownx.details
76-
- pymdownx.superfences:
77-
custom_fences:
78-
- name: mermaid
79-
class: mermaid
80-
format: __PYTHON_TAG_0__
76+
- pymdownx.superfences
8177
- pymdownx.tabbed:
8278
alternate_style: true
8379
- abbr

0 commit comments

Comments
 (0)