Skip to content

Commit e7d0e11

Browse files
committed
ci: enhance documentation build process with directory creation and fallback content
1 parent 1d3260a commit e7d0e11

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,10 +333,14 @@ jobs:
333333

334334
- name: Build documentation
335335
run: |
336-
mkdir -p docs/guide docs/downloads
337-
cp README.md docs/index.md
338-
cp DEVELOPER.md docs/guide/developer.md
336+
# Create required directories
337+
mkdir -p docs/{guide,downloads}
339338
339+
# Copy documentation files, create if not exist
340+
cp README.md docs/index.md || echo "# NetworkMonitor" > docs/index.md
341+
cp DEVELOPER.md docs/guide/developer.md || echo "# Developer Guide" > docs/guide/developer.md
342+
343+
# Rest of your build documentation steps
340344
VERSION="${GITHUB_REF#refs/tags/v}"
341345
342346
cat > docs/downloads/index.md << EOL

DEVELOPER.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,4 +560,8 @@ Critical packages:
560560
- Document visual changes
561561
- Test across different resolutions
562562
- Verify system tray functionality
563-
- Check resource usage
563+
- Check resource usage
564+
565+
# Developer Documentation
566+
567+
[Copy content from your existing DEVELOPER.md or create a basic guide]

0 commit comments

Comments
 (0)