Repository navigation
Closed
Labels
phaseEpic implementation phase
Description
🤖 Phase 7 turns EEGPrep documentation into a coherent EEGLAB-style user manual.
Summary
Build proper Sphinx documentation for EEGPrep as a standalone Python version of EEGLAB. The docs should help EEGLAB users feel oriented while teaching EEGPrep's GUI, console, Python API, extension system, and standalone differences.
Scope
- Reorganize
docs/source/into a clear EEGLAB-like manual:- installation and first launch
- Concepts Guide: EEG structure, events, epochs, channel locations, ICA, STUDY, history, command replay, GUI/console workspace
- GUI tutorials: loading data, preprocessing, filtering, cleaning, rejection, ICA, ICLabel, EEGBrowser, STUDY, DIPFIT/source workflows
- command-line/console tutorials mirroring GUI history
- scripting/API tutorials with Python examples
- plugin/extension authoring and curation
- migration guide for EEGLAB MATLAB users
- troubleshooting and FAQ
- generated API reference
- Ensure every major user-facing
pop_*, GUI workflow, and bundled plugin has help/docs coverage. - Use screenshots where useful, but do not commit transient visual parity artifacts unless they are intentional docs assets.
- Make docs build reliable in CI and locally.
Acceptance Criteria
uv run --no-sync sphinx-build -b html docs/source docs/_build/htmlpasses.- Docs have a coherent TOC and do not read like disconnected API pages.
- EEGLAB users can follow tutorials to complete real workflows using
sample_data. - GUI and console workflows are documented together as one user experience.
- Function/API reference pages are current for the expanded public API.
- Existing open docs issue Documentation: add MNE examples #22 is addressed if still applicable.
Required References
AGENTS.mddocs/source/docs/source/user_guide/docs/source/examples/src/eegprep/resources/help/- EEGLAB docs/tutorial structure as a reference
.agents/skills/eegprep-feature-development/SKILL.md
/goal
/goal Build EEGPrep's Sphinx documentation into a coherent EEGLAB-style standalone user manual. Reorganize docs around concepts, GUI workflows, eegprep-console workflows, scripting/API tutorials, STUDY, EEGBrowser, plugins/extensions, migration notes, troubleshooting, and API reference; document every major user-facing workflow completed by this and prior epics; use sample_data examples; verify docs build, links, generated API pages, ruff/format/ty where relevant, and pre-commit. Keep docs accurate to implemented behavior and do not describe planned features as available.
Metadata
Metadata
Assignees
Labels
phaseEpic implementation phase
Activity
claude commentedon Jun 7, 2026
🤖 Plan:
Research
Issue is actionable but explicitly an epic phase, not a self-contained fix. Acceptance criteria require describing implemented behavior from Phases 2-6 (#159-#163), and the parent epic (#157) sets merge order
1 -> 2+3+4+5+6 -> 7 -> 8, so this PR cannot be authored againstdeveloptoday without either (a) waiting on Phase 1's docs architecture deliverable or (b) describing not-yet-shipped behavior, which #157 forbids. Scope spans everyuser_guide/page plus a new Concepts Guide, GUI/console tutorials, migration guide, plugin authoring docs, API reference refresh, and a docs CI gate — well past the 100-line single-PR threshold.Relevant code
docs/source/index.rst- current top-level TOC; no Concepts/Migration sectionsdocs/source/user_guide/index.rst- 14 pages, organized by Beginner/Intermediate/Advanced, not by EEGLAB tutorial flowdocs/source/api/index.rst- autosummary present; needs sync with post-Phase-2..6 public APIdocs/source/examples/index.rst- sphinx-gallery wired; 6plot_*.pyexamples already executablesrc/eegprep/resources/help/- 122 Markdown help files (102pop_*, 12eeg_*) vs 67pop_*modules; reusable by docs via include directives.github/workflows/test.yml- nobuild-docsjob today; CI gate from acceptance criteria does not yet existProposed Fix
Treat this as a design+staging task, not a single PR. The epic ordering and acceptance criteria require it.
Sequencing. Block Phase 7 implementation on Phase 1 (#158) landing the EEGLAB-modeled docs architecture (Concepts -> GUI tutorials -> console tutorials -> API/scripting -> STUDY -> plugins/extensions -> migration -> API reference). Once Phase 1 sets the IA, do incremental docs PRs per surface as Phases 2-6 merge (clean_rawdata/firfilt with #159, DIPFIT with #160, STUDY with #161, storedisk with #162, ICLabel/viewprops with #163). A final Phase 7 PR before #165 then adds: Concepts Guide, Migration Guide for MATLAB EEGLAB users, troubleshooting/FAQ rewrite, end-to-end
sample_datatutorial set covering loading -> cleaning -> ICA -> ICLabel -> epoching -> STUDY -> DIPFIT, and the CIbuild-docsjob usinguv run --no-sync sphinx-build -b html docs/source docs/_build/html -W --keep-going.Docs IA target (mirrors EEGLAB tutorial site, lands under
docs/source/):getting_started/— installation, first launch (GUI + console), 5-minute tourconcepts/— EEG structure (EEGLABData_Structuresparity), events/urevent, epochs, channel locations, ICA fields, STUDY, history/LASTCOM/ALLCOM, the GUI<->console workspace contract from AGENTS.mdgui_tutorials/— one page per major menu workflow (load, filter, resample, clean_rawdata, reject, epoch, runica, ICLabel, viewprops, EEGBrowser, STUDY, DIPFIT) with screenshots fromtools/visual_parityconsole_tutorials/— same workflows aspop_*console calls, showing the auto-stored(EEG, com)pattern and history replayscripting/— Python API tutorials, batching, BIDS pipeline, MNE interop (absorbs Documentation: add MNE examples #22)extensions/— authoring + curation (existingextensions.rst+extension_curation.rstreorganized)migration/— for EEGLAB MATLAB users: name/dir map, indexing boundaries, GUI differences, options filetroubleshooting/andfaq.rst— actual recovered issues, not boilerplateapi/— kept; refreshed against final post-Phase-2..6 public API surfaceOut of scope for this comment. Writing the docs themselves; they must follow Phase 1's architecture artifact and describe Phase 2-6 behavior as shipped.
Open questions for a human before implementation begins:
build-docsCI job in this phase (acceptance criteria implies yes;test.ymlcurrently has none).suraj-ranganath commentedon Jun 7, 2026
🤖 Phase 7 PR #172 has merged into feature/eeglab-full-standalone-completion. Docs build, lint/type checks, pre-commit, and split non-slow integration tests are passing on the epic branch.