Skip to content

Commit 690267d

Browse files
committed
fix: resolve MkDocs docs_dir and release sync-meta failures
- Use default docs_dir instead of repo root (MkDocs rejects parent dir) - Copy CHANGELOG, skills, mcp-server README, and logo into docs/ at build time - Add continue-on-error to sync-meta step (GITHUB_TOKEN lacks admin scope) Made-with: Cursor
1 parent 8cedc5f commit 690267d

3 files changed

Lines changed: 15 additions & 33 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ jobs:
2828
- name: Install MkDocs Material
2929
run: pip install mkdocs-material
3030

31+
- name: Copy non-docs content into docs/ for MkDocs
32+
run: |
33+
cp CHANGELOG.md docs/CHANGELOG.md
34+
cp -r skills docs/skills
35+
mkdir -p docs/mcp-server
36+
cp mcp-server/README.md docs/mcp-server/README.md
37+
mkdir -p docs/assets
38+
cp assets/logo.png docs/assets/logo.png
39+
3140
- name: Build site
3241
run: mkdocs build --strict
3342

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ jobs:
192192

193193
- name: Sync GitHub repo metadata
194194
if: steps.check.outputs.skip == 'false'
195+
continue-on-error: true
195196
env:
196197
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
197198
run: |

mkdocs.yml

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@ repo_url: https://github.com/TMHSDigital/CFX-Developer-Tools
66
repo_name: TMHSDigital/CFX-Developer-Tools
77
edit_uri: edit/main/
88

9-
docs_dir: .
10-
119
nav:
12-
- Home: docs/index.md
13-
- Getting Started: docs/GETTING-STARTED.md
14-
- Architecture: docs/ARCHITECTURE.md
15-
- Roadmap: docs/ROADMAP.md
16-
- Contributing: docs/CONTRIBUTING.md
10+
- Home: index.md
11+
- Getting Started: GETTING-STARTED.md
12+
- Architecture: ARCHITECTURE.md
13+
- Roadmap: ROADMAP.md
14+
- Contributing: CONTRIBUTING.md
1715
- Changelog: CHANGELOG.md
1816
- Skills:
1917
- Client-Server Patterns: skills/client-server-patterns/SKILL.md
@@ -73,29 +71,3 @@ markdown_extensions:
7371
- pymdownx.details
7472
- pymdownx.inlinehilite
7573
- pymdownx.snippets
76-
77-
exclude_docs: |
78-
templates/
79-
snippets/
80-
node_modules/
81-
.github/
82-
.cursor/
83-
.cursor-plugin/
84-
assets/
85-
__pycache__/
86-
*.py
87-
*.json
88-
*.lua
89-
*.js
90-
*.ts
91-
*.cs
92-
*.svelte
93-
*.mdc
94-
*.csproj
95-
AGENTS.md
96-
RESEARCH.md
97-
CFX-Developer-Tools-Cursor-Prompt.md
98-
LICENSE
99-
.cursorrules
100-
.gitignore
101-
mkdocs.yml

0 commit comments

Comments
 (0)