Add docs/index.md instead of generating in workflow
Keep the index page as a normal doc file that can be edited, rather than generating it during the build workflow. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
fe161e547c
commit
b3b0e110c8
2 changed files with 8 additions and 12 deletions
|
|
@ -58,21 +58,10 @@ jobs:
|
|||
cp "$GITHUB_WORKSPACE/docs/quartz.config.ts" .
|
||||
cp "$GITHUB_WORKSPACE/docs/quartz.layout.ts" .
|
||||
|
||||
# Copy docs as content
|
||||
# Copy docs as content (includes index.md)
|
||||
rm -rf content
|
||||
cp -r "$GITHUB_WORKSPACE/docs" content
|
||||
|
||||
# Create index page
|
||||
cat > content/index.md << 'EOF'
|
||||
---
|
||||
title: BlumeOps Documentation
|
||||
---
|
||||
|
||||
Welcome to the BlumeOps documentation.
|
||||
|
||||
[[README|Documentation Home]]
|
||||
EOF
|
||||
|
||||
# Build
|
||||
echo "Building static site..."
|
||||
npx quartz build
|
||||
|
|
|
|||
7
docs/index.md
Normal file
7
docs/index.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: BlumeOps Documentation
|
||||
---
|
||||
|
||||
Welcome to the BlumeOps documentation.
|
||||
|
||||
[[README|Documentation Home]]
|
||||
Loading…
Add table
Add a link
Reference in a new issue