pipeio docs_collect generates bare directory links instead of dir/index.md¶
Problem¶
The auto-generated docs/pipelines/index.md uses bare directory links like [brainstate](brainstate/) which mkdocs flags as "unrecognized relative link". mkdocs expects brainstate/index.md for explicit resolution.
Similarly, architecture.md flow table links use brainstate/ trailing-slash format.
Fix¶
In the pipelines index generator and any generated link to a flow landing page, use {flow}/index.md instead of {flow}/. This is the only format that works cleanly across both mkdocs (strict mode) and pandoc.
Impact¶
14 INFO-level warnings in mkdocs build (7 from index.md + 7 from architecture.md). Links still resolve in practice but break strict-mode clean builds.
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 — Same pipeio docs_collect tool; concerns the top-level pipelines index content, directly related to the index.md link format bug
- issue-arash-20260409-135103-976167.md — pipeio docs_collect missing overview — sibling issue in the same docs_collect generation pass
- issue-arash-20260408-041929-434391.md — pipeio docs_collect: no index — earlier issue about the same index generation logic being fixed
- issue-arash-20260408-041954-573205.md — pipeio docs_collect: mod docs not included in nav YAML — related nav/link generation defect in the same tool
- issue-arash-20260408-041909-523276.md — pipeio docs_collect: index — directly tracks the index file generation that this issue's fix targets