This checklist helps repository maintainers complete the setup after this PR is merged.
Time Required: 2 minutes
- Go to repository Settings
- Click Pages in the left sidebar
- Under Build and deployment:
- Source: Select GitHub Actions
- Click Save
Verification: You should see a message "Your site is ready to be published at https://helix-toolkit.github.io/helix-toolkit/"
Time Required: 1 minute
- Go to repository Settings
- Click Actions → General in the left sidebar
- Scroll to Workflow permissions
- Select Read and write permissions
- (Optional) Check Allow GitHub Actions to create and approve pull requests
- Click Save
Verification: The permissions section should show "Read and write permissions" selected.
Time Required: 5-10 minutes
Choose one of these options:
Option A: Wait for next push to main
- The workflow will automatically run on the next push to main branch
- No action needed
Option B: Manual trigger
- Go to Actions tab
- Click Documentation workflow in the left sidebar
- Click Run workflow button (top right)
- Select branch: main
- Click Run workflow
Verification:
- Go to Actions tab
- Find the "Documentation" workflow run
- Wait for it to complete (green checkmark)
- Look for "deploy-docs" job - it should show "Deployment succeeded"
Time Required: 2 minutes (after build completes)
- Wait for the workflow to complete (5-10 minutes for first run)
- Visit:
https://helix-toolkit.github.io/helix-toolkit/ - Verify you can see:
- Documentation homepage with Helix Toolkit branding
- "API Documentation" link in navigation
- "Articles" link in navigation
- Search functionality
Troubleshooting: If you see 404:
- Wait 5 more minutes (GitHub Pages can take time to propagate)
- Clear browser cache
- Check workflow logs for errors
Time Required: 10-30 minutes
Update Branding:
- Add logo: Place image in
Source/Documentation/images/ - Update
docfx.json: Set_appLogoPathto your logo path - Update
_appFooterwith current year/organization
Add More Articles:
- Create
.mdfiles inSource/Documentation/articles/ - Add entries to
Source/Documentation/articles/toc.yml - Follow examples in existing articles
Customize Theme:
- Edit
docfx.json→build.templatesection - Add custom CSS/JS (see DocFX documentation)
Time Required: 15-30 minutes + DNS propagation time
- In Settings → Pages
- Under Custom domain, enter your domain (e.g.,
docs.helixtoolkit.org) - Add CNAME record in your DNS:
docs.helixtoolkit.org → helix-toolkit.github.io - Wait for DNS propagation (can take up to 24 hours)
- Enable Enforce HTTPS once certificate is provisioned
Time Required: 2 minutes
Add this badge to your README.md:
[](https://helix-toolkit.github.io/helix-toolkit/)Time Required: 5 minutes
Consider announcing the new documentation to:
- GitHub Discussions (if enabled)
- Gitter chat channel
- Twitter/social media
- Next release notes
Example announcement:
🎉 We now have automated API documentation!
Our comprehensive documentation is now automatically generated and deployed:
📚 https://helix-toolkit.github.io/helix-toolkit/
Features:
✓ Complete API reference
✓ Getting started guides
✓ Searchable content
✓ Always up-to-date with latest code
Check it out and let us know what you think!
Use this checklist to ensure everything is working:
- GitHub Pages is enabled in repository settings
- Workflow permissions are set to "Read and write"
- Documentation workflow has run successfully at least once
- Documentation website is accessible at GitHub Pages URL
- Homepage displays correctly with navigation
- API documentation is visible and browseable
- Articles section is accessible
- Search functionality works
- Mobile view works (test on phone/tablet or use browser dev tools)
- Go to Actions tab
- Click Documentation workflow
- View recent runs and their status
- Click on any run to see detailed logs
Documentation is automatically updated when:
- Code with XML comments is modified
- Documentation files in
Source/Documentation/are changed - Commits are pushed to
mainordevelopbranches
Issue: Workflow fails with permission errors
- Solution: Verify workflow permissions are set to "Read and write"
Issue: Documentation not updating
- Solution: Check workflow logs for build errors
- Solution: Ensure XML documentation generation is enabled in project files
Issue: 404 on GitHub Pages
- Solution: Verify GitHub Pages source is set to "GitHub Actions"
- Solution: Check that deploy-docs job completed successfully
- Solution: Wait a few more minutes and clear browser cache
- Detailed Setup Guide:
Source/Documentation/GITHUB_PAGES_SETUP.md - Developer Guide:
Source/Documentation/README.md - Quick Reference:
DOCUMENTATION.md - Implementation Details:
IMPLEMENTATION_SUMMARY.md
- First build takes longer: Expect 10-15 minutes for the first documentation build as DocFX needs to process all projects
- Incremental builds are faster: Subsequent builds typically complete in 5-7 minutes
- Test locally first: Before pushing doc changes, test locally with
build-doc.cmd(Windows) or./build-doc.sh(Linux/macOS) - Keep XML comments updated: Encourage contributors to add/update XML comments in their code
Once you've completed the required actions above, your documentation system is fully operational.
The documentation will automatically stay up-to-date with your codebase without any further manual intervention.
Questions? See the detailed guides in Source/Documentation/ or open an issue.