A simple, clean documentation project for CUSS (Common Use Self Service) application design using AsciiDoc and GitHub Pages.
This project uses AsciiDoc to create professional documentation with:
- ✅ Numbered sections
- ✅ Table of contents (TOC) with jump links
- ✅ Cross-references and links
- ✅ GitHub Pages hosting
- ✅ Automatic builds via GitHub Actions
The main documentation is in index.adoc
. AsciiDoc provides:
- Automatic TOC:
toc: left
in the header - Section numbering:
sectnums:
attribute - Jump links:
sectlinks:
andsectanchors:
attributes - Professional formatting: Built-in styles and typography
= Document Title
:toc: left
:sectnums:
== Chapter 1
Content here...
=== Section 1.1
More content...
==== Subsection 1.1.1
Even more content...
- Ruby with RubyGems
- Asciidoctor gem
gem install asciidoctor
.\build-simple.ps1
This creates site/index.html
ready for GitHub Pages.
- Push to GitHub: Commit and push your changes
- Enable Pages: Go to Settings > Pages in your GitHub repository
- Configure Source:
- Source: "Deploy from a branch"
- Branch:
main
ormaster
- Folder:
/site
Or use the included GitHub Actions workflow for automatic deployment.
├── index.adoc # Main documentation source
├── sections/ # Modular section files
│ ├── 01-introduction.adoc
│ ├── 02-system-architecture.adoc
│ └── ...
├── images/ # Images and diagrams
├── styles/ # CSS stylesheets
├── build-simple.ps1 # Local build script
├── site/ # Generated HTML (build output)
│ ├── index.html
│ ├── images/ # Copied images
│ └── styles/ # Copied stylesheets
└── .github/workflows/ # Automatic GitHub Actions deployment
└── deploy.yml
- Clean, professional output: No complex build system
- Fast and reliable: Simple AsciiDoc to HTML conversion
- Mobile-friendly: Responsive design
- Search-friendly: Semantic HTML with proper headings
- Accessible: WCAG compliant output
- Version controlled: Full history in Git
- Edit
index.adoc
- Run
.\build-simple.ps1
to test locally - Commit and push to GitHub
- GitHub Pages automatically updates
- ✅ Simple: No complex build systems or dependencies
- ✅ Reliable: Works consistently across environments
- ✅ Fast: Quick builds and updates
- ✅ Professional: High-quality output suitable for technical documentation
- ✅ Maintainable: Easy to edit and update content
- ✅ Free hosting: GitHub Pages at no cost