Skip to content

Add Git submodule content management system#1

Merged
meaningfool merged 4 commits intomainfrom
feature/content-submodule
Sep 9, 2025
Merged

Add Git submodule content management system#1
meaningfool merged 4 commits intomainfrom
feature/content-submodule

Conversation

@meaningfool
Copy link
Copy Markdown
Owner

Summary

  • Add meaningfool-writing repository as a Git submodule for content management
  • Configure Astro to use content from submodule via writing collection
  • Update GitHub Actions workflows to handle submodules properly
  • Add automated submodule update workflow

Changes

  • ✅ Created meaningfool-writing repository with sample content
  • ✅ Added as submodule at src/content/writing
  • ✅ Updated Astro content collections configuration
  • ✅ Modified pages to use writing collection
  • ✅ Updated deployment workflow to include recursive submodules
  • ✅ Added automated content update workflow
  • ✅ Tested local development and fresh clone workflow

Test Plan

  • Local development server shows submodule content
  • Articles render correctly with clean URLs
  • Fresh clone with --recursive works
  • Build completes successfully
  • GitHub Pages deployment includes submodule content
  • Automated workflows function correctly

Benefits

  • Separates content management from site code
  • Allows independent content workflows
  • Maintains full version control for both content and code
  • Enables automated content updates

🤖 Generated with Claude Code

meaningfool and others added 4 commits September 9, 2025 16:32
- Updated content collections to include writing collection
- Modified pages to use writing collection instead of articles
- Updated ArticlesList component for new collection type
- Restructured content repository for clean URL structure
- Screenshot of homepage showing articles from submodule
- Screenshot of individual article page rendering correctly
- Confirms submodule content integration is working properly

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add update-content.yml for automated submodule updates
- Update deploy.yml to include recursive submodules
- Enables GitHub Pages to properly build with submodule content
@meaningfool meaningfool merged commit 7167f16 into main Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant