questio docs_collect generates wrong relative path depth and missing .md extensions in evidence/milestone links¶
Problem¶
Auto-generated questio pages (evidence.md, milestones.md, questions.md) contain cross-references with two bugs:
-
Wrong relative depth. Links from
plan/evidence.mduse../../log/result/...but the correct path is../log/result/...(only one level up fromplan/to docs root). -
Missing
.mdextension. Result note links omit the.mdextension:result-arash-20260408-011519-651113instead ofresult-arash-20260408-011519-651113.md.
Examples from pixecog build¶
'plan/evidence.md' contains an unrecognized relative link '../../log/result/result-arash-20260408-011519-651113'
→ should be '../log/result/result-arash-20260408-011519-651113.md'
'plan/milestones.md' contains an unrecognized relative link '../../log/result/result-arash-20260409-034237-164561'
→ should be '../log/result/result-arash-20260409-034237-164561.md'
'plan/index.md' contains an unrecognized relative link '../log/result'
→ should be '../log/result/index.md'
Affected component¶
questio_docs_collect — the template or link generator that produces evidence dossier pages and milestone tracker pages. The relative path computation assumes one extra parent level than exists.
Separate concern: forward manuscript refs¶
plan/questions.md also has links to ../../manuscript/results/h1-delta-ripple etc. These are intentional forward references to manuscript sections that don't exist yet — not a bug, just placeholders. They can be ignored or suppressed.
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-163040-853469.md — Same symptom class: malformed cross-references with missing extensions/dots in auto-generated links
- issue-arash-20260409-145340-604198.md — pipeio docs_collect generating incomplete/wrong index content — parallel bug in the docs_collect tool family
- issue-arash-20260409-135103-976167.md — pipeio docs_collect missing overview — same pattern of docs_collect producing broken output
- issue-arash-20260408-041954-573205.md — pipeio docs_collect nav YAML issues — docs_collect output correctness bug in same tool family
- issue-arash-20260402-121445-694073.md — mkdocs transclusion and relative link resolution — underlying mkdocs link-checking that surfaces the broken paths reported here