A repository template that builds a static documentation site using Markdown and mdBook.
Make a change, commit, push, and see the updates live on your GitHub Pages site!
- Linting markdown files with
markdownlint-cli2
- Auto-generated documentation using mdBook and GitHub Pages
- Continuous deployment with GitHub Actions, with fast-build & deploy times (< 30 seconds)
- Dependency updates with Dependabot
- Remote development with GitHub Codespaces
Tool | File | Documentation |
---|---|---|
mdBook | book.toml |
docs |
mdBook | SUMMARY.md |
docs |
markdownlint-cli2 | .markdownlint-cli2.jsonc |
docs, example file |
git clone https://github.com/neoncitylights/mdbook.git
cd mdbook
npm install
npm run build
Be sure to also install the following tools:
- To lint markdown:
npm run lint
- To auto-fix lint errors:
npm run lint:fix