Skip to content

docs: add mdBook documentation with GitHub Pages#122

Merged
KedoKudo merged 5 commits intomainfrom
claude/main
Feb 5, 2026
Merged

docs: add mdBook documentation with GitHub Pages#122
KedoKudo merged 5 commits intomainfrom
claude/main

Conversation

@KedoKudo
Copy link
Contributor

@KedoKudo KedoKudo commented Feb 5, 2026

Summary

  • Add mdBook documentation structure in book/ directory
  • Add GitHub Actions workflow for building and deploying to GitHub Pages
  • Add pixi tasks: book (serve locally), book-build (build)
  • Add documentation badge to README

Documentation Chapters

  • Introduction
  • Installation (Python, macOS, Rust, Source)
  • Python API (Quick Start, Configuration)
  • CLI (Commands Reference)
  • GUI Application
  • Clustering Algorithms
  • Technical Reference (HDF5 Schema)

Next Steps After Merge

  1. Enable GitHub Pages in repo settings:

    • Settings → Pages → Source: GitHub Actions
  2. The docs will be available at:

Closes #121

🤖 Generated with Claude Code

KedoKudo and others added 3 commits February 5, 2026 10:48
- Create book/ directory with mdBook structure
- Add chapters: introduction, installation, Python API, CLI, GUI, algorithms, reference
- Add GitHub Actions workflow for docs deployment
- Add pixi tasks: book, book-build
- Add documentation badge to README
- Update .gitignore for mdBook build output

Closes #121

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add app icon to mdBook introduction page
- Add cli and cli-debug pixi tasks for building CLI tool
- Update .gitignore for test data symlink

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The edit-url-template was using book/{path} but source files are in
book/src/, causing 404s for "Edit this page" links.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds comprehensive mdBook-based documentation for the rustpix project, deployed via GitHub Pages. The documentation covers installation, Python/CLI/GUI usage, clustering algorithms, and technical reference material.

Changes:

  • Added mdBook documentation structure in book/ directory with comprehensive chapters covering installation, APIs, and technical references
  • Added GitHub Actions workflow (.github/workflows/docs.yml) for building and deploying documentation to GitHub Pages
  • Added pixi tasks (book, book-build) for local documentation serving and building
  • Added documentation badge to README.md linking to the GitHub Pages site
  • Updated .gitignore to exclude mdBook build artifacts

Reviewed changes

Copilot reviewed 20 out of 22 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
.github/workflows/docs.yml GitHub Actions workflow for building mdBook and deploying to GitHub Pages
book/book.toml mdBook configuration with site URL, theme settings, and search configuration
book/src/SUMMARY.md Documentation table of contents defining the book structure
book/src/introduction.md Main introduction page with features, performance, and links
book/src/installation/*.md Installation guides for Python, macOS, Rust, and source builds
book/src/python-api/*.md Python API documentation with quickstart and configuration details
book/src/cli/*.md CLI documentation with command reference
book/src/gui/README.md GUI application user guide
book/src/algorithms/README.md Clustering algorithms overview and comparison
book/src/reference/*.md Technical reference including HDF5 schema specification
book/src/images/logo.svg Project logo for documentation
pyproject.toml Added mdBook-related pixi tasks and CLI build tasks
README.md Added documentation badge and updated documentation links
.gitignore Added mdBook build output directory

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

KedoKudo and others added 2 commits February 5, 2026 11:39
- Remove non-existent Graph algorithm from feature list
- Fix min_tot_threshold default: 10 not 0 (matches rustpix-core)
- Add mdbook to pixi dependencies for self-contained builds

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix abs_scan_interval default: 100 not 1000
- Fix HitBatch types: x/y are uint16, tof is uint32, timestamp is uint32
- Fix NeutronBatch types: tof is uint32, tot is uint16
- Add notes explaining tof is stored in 25ns ticks (multiply by 25 for ns)
- Fix quickstart.md code comments with correct types

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@KedoKudo KedoKudo merged commit 5d390dc into main Feb 5, 2026
11 checks passed
@KedoKudo KedoKudo deleted the claude/main branch February 5, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: Set up mdBook documentation with GitHub Pages

1 participant