pipeio docs: two navigation/embedding issues¶
Observed in pixecog site docs. Both originate in pipeio's docs_collect tooling.
1. Architecture DAG mermaid click-links resolve to wrong paths¶
- File:
docs/pipelines/architecture.md:81-87(collected fromcode/pipelines/architecture.md:77-83) - Links use:
click IEEG "preprocess_ieeg/"— bare relative paths. - Problem: When the page is served at
/pipelines/architecture/(mkdocs trailing-slash convention), the browser resolvespreprocess_ieeg/to/pipelines/architecture/preprocess_ieeg/instead of/pipelines/preprocess_ieeg/. - Fix: Change to
"../preprocess_ieeg/"or absolute site paths. Sincearchitecture.mdis generated bypipeio_dag_export(ordocs_collect), the link-rewriting logic in pipeio needs to emit correct relative paths accounting for the page's own location.
2. Per-flow DAG SVGs exist but are not embedded in flow overview pages¶
- SVGs present in
docs/pipelines/{flow}/dag.svgfor brainstate, preprocess_ieeg, preprocess_ecephys, manifest_assemble. - Nav lists them as separate sidebar items (e.g.,
- DAG: preprocess_ieeg/dag.svg), but they are not inlined in the flow overview/index page. - Overview pages use ASCII art DAGs instead (e.g.,
preprocess_ieeg/index.md:16-37). - Expected:
docs_collectorpipeio_dag_exportshould embed the SVG (or anreference) into the flow overview page under the "DAG Structure" heading, replacing or supplementing the ASCII art.
Summary¶
| # | Scope | Owner | Status |
|---|---|---|---|
| 1 | Mermaid link paths | pipeio (docs_collect link rewriting) | resolved — _rewrite_mermaid_click_links() in pipeio/docs.py prefixes bare relative click-links with ../ during architecture.md collection |
| 2 | SVG embedding in overviews | pipeio (docs_collect) | resolved — DagCollector now embeds  in flow index.md; IndexCollector stubs include it too; standalone DAG nav entry removed |
Source context: pixecog¶
PixEcog (pixecog): Neuropixels and ECoG dataset and analysis
Recent commits:
8dc0d9d Pipeline docs: gitignore docs/pipelines/, relocate hand-authored files
96cd1ec Refactor sharpwaveripple/contracts: extract generic helpers to utils/io, remove pipelines __init__.py
36f9326 Add result note directory and sample note
README:
type: readme
Quick Start for Collaborators¶
Follow this checklist to get started with Pixecog documentation and workflows.
🐀 Pixecog Project — Compact Overview¶
Core principles
- One immutable BIDS raw dataset (
raw/) as the canonical baseline - Each analysis pipeline ha
Related Notes¶
- issue-arash-20260409-145340-604198.md — Directly addresses issue #1: top-level pipelines index should include architecture, same home-vs-tab landing discrepancy
- issue-arash-20260409-163158-458231.md — pipeio docs_collect bare directory links issue — same root cause as the mermaid click-link path resolution problem (issue #2)
- issue-arash-20260409-175820-024269.md — Cross-sub-site relative links breaking in monorepo layout — same class of relative path resolution bug as issue #2
- issue-arash-20260408-041954-573205.md — pipeio docs_collect nav YAML omission — related to the nav ordering problem behind issue #1 (tab vs home landing)
- issue-arash-20260409-135103-976167.md — pipeio docs_collect not collecting overview — related to missing/wrong index content driving the home link mismatch