Skip to content

Split README into per-workflow docs/ pages#87

Merged
sgeinitz merged 1 commit into
mainfrom
docs-split-by-workflow
May 9, 2026
Merged

Split README into per-workflow docs/ pages#87
sgeinitz merged 1 commit into
mainfrom
docs-split-by-workflow

Conversation

@sgeinitz

@sgeinitz sgeinitz commented May 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • README dropped from ~900 lines to ~80; per-task documentation moved into five workflow-scoped pages under docs/, plus a separate docs/installation.md for first-time setup.
  • Each workflow doc opens with a summary table + "Back to main README" link, then an end-to-end walkthrough where the chain spans multiple tasks.
  • Polish in the same pass: simplified ## task-name headings (clean #task-name anchors), standardized per-task structure (tagline → description → "Before running:" → Files table), trimmed duplicate "Typical workflow:" subsections, and added an ASCII data-flow diagram to the quiz-follow-up doc.

New layout

Doc Tasks
docs/installation.md Canvas API token + Python deps + Ollama setup
docs/peer-instruction-and-bonus.md create-pairs, award-bonus, award-bonus-partner-only, award-bonus-retake-only
docs/quiz-followup-questions.md get-quiz-questions, generate-follow-up-questions, send-quiz-reminder, send-follow-up-question, assess-replies, send-follow-up-assessments
docs/media-recording-checkins.md create-media-recording-assignment, get-media-recordings, analyze-media-recordings
docs/cross-workflow.md prep-class-digest
docs/misc-tasks.md create-quiz, export-anon-data, get-activity, get-quiz-submission-events, get-conversations, delete-old-conversations, get-gradebook, get-roster

Test plan

  • On GitHub: open README.md, click each of the 5 workflow links + the Setup link → all 6 docs render and the "Back to main README" link returns to the README.
  • In docs/cross-workflow.md, click the inline cross-doc links to analyze-media-recordings, get-quiz-submission-events, get-quiz-questions, assess-replies, get-media-recordings → each anchor jumps to the correct task section.
  • In docs/peer-instruction-and-bonus.md, click any of the three get-quiz-submission-events references → jumps to misc-tasks.md.
  • In docs/quiz-followup-questions.md and docs/misc-tasks.md, click each Ollama setup link → jumps to docs/installation.md#ollama-setup-optional.
  • python -m pytest test_canvigator.py -q still passes (it does locally; this PR is docs-only).
  • python canvigator.py --help and python canvigator.py <task> --help are unchanged.

🤖 Generated with Claude Code

The README had grown to ~900 lines with a per-task section for each of
22 tasks, making it hard to find the workflow you wanted. This refactor
splits the per-task documentation into five workflow-scoped pages under
docs/, plus a separate docs/installation.md for first-time setup. The
new README is ~80 lines: Overview, a one-line Setup pointer, the Usage
cheat-sheet, and a workflow index linking to docs/.

New layout:
- docs/installation.md             Canvas API token + Python deps + Ollama
- docs/peer-instruction-and-bonus  create-pairs, award-bonus[-{partner,retake}-only]
- docs/quiz-followup-questions     get-quiz-questions, generate-follow-up-questions,
                                   send-quiz-reminder, send-follow-up-question,
                                   assess-replies, send-follow-up-assessments
- docs/media-recording-checkins    create-media-recording-assignment,
                                   get-media-recordings, analyze-media-recordings
- docs/cross-workflow              prep-class-digest
- docs/misc-tasks                  create-quiz, export-anon-data, get-activity,
                                   get-quiz-submission-events, get-conversations,
                                   delete-old-conversations, get-gradebook,
                                   get-roster

Each workflow doc opens with a summary table, a "Back to main README"
link, and an end-to-end workflow walkthrough where the chain spans
multiple tasks.

Polish in the same pass:
- Per-task headings simplified from `## task-name — Long Description`
  to `## \`task-name\`` with a one-line italic tagline below, so anchors
  collapse from `#task-name--long-description` to clean `#task-name`.
- Standardized per-task structure: tagline, description, "Before
  running:" prereqs, Files table, then flag notes.
- Trimmed per-task "Typical workflow:" subsections that duplicated the
  doc-level workflow overview.
- Added an ASCII data-flow diagram to the quiz-follow-up doc since that
  workflow has six chained tasks and five derived CSVs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@sgeinitz sgeinitz merged commit 67365ba into main May 9, 2026
2 checks passed
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.

1 participant