A template for automatically deploying documentation to GitHub Pages using GitHub Actions. This template uses Just the Docs theme and GitHub Actions for automated builds and deployments.
Deployed docs folder here
If you already created a new repo with this template, skip to Setup Steps
Click the "Use this template" button above or use the badge to create a new repository from this template.
- 🚀 Automatic deployment to GitHub Pages
- 📖 Modern documentation theme using Just the Docs
- 🔍 Built-in search functionality
- 📱 Mobile-responsive design
- 🔄 CI/CD pipeline using GitHub Actions
- 📝 Markdown-based content
- 🎨 Customizable theme and styling
-
Configure GitHub Pages
- Go to your repository's Settings
- Navigate to "Pages" section
- Under "Build and deployment", select "GitHub Actions" as the source
-
Update Configuration
Edit
docs/_config.yml
and update these key settings:# Replace with your repository name baseurl: "/your-repository-name" # Replace with your GitHub Pages URL url: "https://your-username.github.io" # Update repository link aux_links: "GitHub": - "https://github.com/your-username/your-repository"
-
Verify Deployment
- Make a small change to any file in the
docs
folder - Commit and push to the main branch
- Go to Actions tab to watch the deployment
- Once complete, your documentation will be available at:
https://your-username.github.io/your-repository-name/
- Make a small change to any file in the
Start adding your documentation in the docs
folder using markdown files. Any push to the main branch will automatically trigger a new build and deployment.
You can use this app to preview markdown - stackedit.io
⭐️ If you find this template helpful, don't forget to star it!