GitHub Pages Deployment Configuration¶
Doc Version: 1.0.2
Last Updated: 2026-05-21
Git Commit: 61384b4a
Author: Lincoln
Overview¶
JAiRouter documentation site is automatically deployed through GitHub Pages, providing online documentation access service.
Configuration Steps¶
1. Enable GitHub Pages¶
- Go to GitHub repository settings page
- Scroll to "Pages" section
- Under "Source", select "GitHub Actions"
- Save settings
2. Custom Domain Configuration (Optional)¶
If you need to use a custom domain:
- Set the domain in the
docs/CNAMEfile (this repository already ships one) - Configure DNS records at your domain provider:
- Type: CNAME
- Name: docs (or your desired subdomain)
- Value: lincoln-cn.github.io
The canonical URL is https://jairouter.com/ — that is the site_url in mkdocs.yml, so links and the sitemap are generated against it.
3. Automatic Deployment Process¶
Documentation is deployed by the docs.yml workflow, which runs on pushes to master (the default branch of this repository):
- Push to
master - GitHub Actions builds the site with MkDocs
- The built site is published to GitHub Pages
Access URLs¶
- Default URL: https://lincoln-cn.github.io/JAiRouter
- Custom Domain: https://jairouter.com (requires DNS configuration)
Deployment Status Check¶
You can check deployment status at:
- "Actions" tab in GitHub repository
- "Settings" > "Pages" page in GitHub repository
- Green ✅ status will be displayed after successful deployment
Troubleshooting¶
Deployment Failure¶
- Check GitHub Actions logs
- Confirm mkdocs.yml configuration is correct
- Verify all documentation file paths are correct
Custom Domain Inaccessible¶
- Check if DNS configuration is correct
- Wait for DNS propagation (may take several hours)
- Confirm CNAME file content is correct
Page Display Issues¶
- Clear browser cache
- Check if links in documentation are correct
- Verify image and resource file paths