Skip to content

docs: modernize documentation with layered Arbor-inspired architecture#103

Merged
chaoming0625 merged 2 commits into
mainfrom
docs/modernize-documentation
May 25, 2026
Merged

docs: modernize documentation with layered Arbor-inspired architecture#103
chaoming0625 merged 2 commits into
mainfrom
docs/modernize-documentation

Conversation

@chaoming0625

Copy link
Copy Markdown
Collaborator

Summary

Rewrites and modernizes the braincell documentation, using the Arbor docs as a structural/UX reference (structure adapted, not copied). The docs are now layered by user intent.

New sections

  • Get Started (getting_started/) — installation (CPU/GPU/TPU, extras, dev, WSL+NEURON), overview (library map + pipeline + "where to go next"), first_steps (a runnable HH neuron end-to-end).
  • Concepts (concepts/) — the previously-missing mental-model layer: architecture, units, cells, morphology, mechanisms, ions & channels, regions & locsets, discretization, integration.
  • File Formats & IO (file_formats/) — SWC, ASC, NeuroML2, NeuroMorpho.Org, checkpointing (documenting braincell.io, which had no narrative docs).
  • Developer Guide (developer/) — contributing, project layout, testing, extending.
  • Troubleshooting — FAQ mapping common errors to fixes.
  • API reference — new apis/filter.rst and apis/io.rst for previously-undocumented public APIs.

Landing page rewritten with a feature grid, capability table, verified quick-start, and a doc-organization map; top-level toctrees regrouped into clear captions.

Accuracy & cleanup

  • Corrected the README's non-existent braincell.load_neuromorpho("cnic_001")Morphology.from_neuromorpho(<id>) (verified against the real API).
  • Framed the multi-compartment run pipeline as under active development.
  • Fixed a pre-existing orphaned single_compartment/examples/index.rst and a broken ../apis/... link in channel.ipynb.
  • Updated deprecated MyST-NB config keys in conf.py.

All cross-references in new content resolve to real symbols/pages.

Test plan

  • sphinx -b html builds cleanly (exit 0, 435 pages)
  • No warnings originate from any new page (remaining warnings are pre-existing source-docstring / notebook-metadata issues)
  • Landing-page grid cards and section nav render
  • Concept-page {class} refs resolve to generated API pages; inter-section doc links resolve
  • Reviewer: skim rendered pages for tone/accuracy

Add Get Started, Concepts, File Formats & IO, Developer Guide, and
Troubleshooting sections; rewrite the landing page with a feature grid and
doc-organization map; add filter/io API reference pages. Correct example APIs
(NeuroMorpho loading), fix a pre-existing orphan page and a broken notebook
link, and update deprecated MyST-NB config keys.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry @chaoming0625, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@chaoming0625
chaoming0625 merged commit f9f18bf into main May 25, 2026
7 checks passed
@chaoming0625
chaoming0625 deleted the docs/modernize-documentation branch May 25, 2026 11:54
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