Skip to content

feat: styled index.html from template with update-index action#22

Merged
TaiSakuma merged 3 commits intomainfrom
feat/index-template
Mar 22, 2026
Merged

feat: styled index.html from template with update-index action#22
TaiSakuma merged 3 commits intomainfrom
feat/index-template

Conversation

@TaiSakuma
Copy link
Owner

Summary

  • Add HTML template with light/dark mode, version labels, and GitHub link
  • Add generate_index.py script using string.Template
  • Extract update-index composite action for index.html generation
  • Add update-index step to docs-dev.yml so root page exists from first deploy
  • Move latest/ copy to inline step in docs-release.yml
  • Move git config from deploy-to-gh-pages action to each workflow

Test plan

  • Push to main → index.html generated with styling
  • Push a tag → /latest/ and index.html updated
  • Verify light/dark mode on index page

🤖 Generated with Claude Code

TaiSakuma and others added 3 commits March 22, 2026 07:44
- Add HTML template with light/dark mode, version labels, and repo link
- Add generate_index.py script using string.Template
- Replace inline HTML generation in docs-release workflow

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Move generate_index.py and index.html template into
.github/actions/update-latest/ alongside the new action.yml.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Rename update-latest to update-index, focused on index.html only
- Move latest/ copy to an inline step in docs-release.yml
- Add update-index step to docs-dev.yml
- Move git config from deploy-to-gh-pages action to each workflow

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions bot added the feature New feature label Mar 22, 2026
github-actions bot added a commit that referenced this pull request Mar 22, 2026
@github-actions
Copy link
Contributor

@TaiSakuma TaiSakuma merged commit 959aef8 into main Mar 22, 2026
4 checks passed
@TaiSakuma TaiSakuma deleted the feat/index-template branch March 22, 2026 12:14
github-actions bot added a commit that referenced this pull request Mar 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant