Getting Started with Documentation Automation
Welcome to the Documentation Automation guide. This documentation will help you set up automatic deployment of your documentation to GitHub Pages using GitHub Actions. When you update markdown files in your docs
folder, your documentation will automatically rebuild and deploy.
Overview
This automation system allows you to:
- Write documentation in Markdown
- Automatically deploy to GitHub Pages
- Use a modern documentation theme
- Include search functionality
- Maintain versioning through Git
Quick Start
- To create new repo using this template click - Use Template
- Enter Repo name, description and create repo
- Enable GitHub Pages in your repository settings
- Go to your repository settings on GitHub
- Navigate to the “Pages” section
- Under “Source”, select “GitHub Actions”
- Update
docs/_config.yml
with your repository information - Add markdown files to the
docs
folder - Push to main branch and watch your documentation deploy!
Detailed Setup Guides
Follow these guides in order for a complete setup:
- Repository Setup
- Creating the required folder structure
- Initial repository configuration
- Required files overview
- GitHub Actions Configuration
- Understanding the workflow file
- Configuring deployment triggers
- Setting up required permissions
- Writing Documentation
- Markdown file structure
- Adding navigation
- Including assets
- Best practices
File Structure
docs/
├── index.md (this file)
└── setup-guide/
├── index.md
├── repository-setup.md
└── github-actions-setup.md
├── troubleshooting.md
└── writing-docs.md
Requirements
- GitHub account with repository access
- Basic understanding of Git
- Text editor for markdown files (stackedit.io)
Next Steps
- Start with Repository Setup to create the basic structure
- Follow each guide in sequence
- Check Troubleshooting if you encounter issues
For advanced customization and features, check the just-the-docs documentation