WORK-037
ID:WORK-037Status:done

Define planLayout in @refrakt-md/transform

Add a planLayout alongside the existing docsLayout and blogArticleLayout in the transform package's layout configs.

The plan layout is structurally simple: a fixed sidebar slot for navigation and a main content area. No TOC, no breadcrumbs, no version switcher — just the two slots.

Priority:highComplexity:simpleSource:SPEC-014
claude/file-naming-convention-LJdwR View source

Criteria completion

No incremental history — criteria tracking started on Apr 21.

Branches 3
claude/file-naming-convention-LJdwR current done
main donechangeset-release/main doneclaude/align-sidenav-styling-4MuxV done
History 2
  1. bbbb94c
    Created (done)by bjornolofandersson
  2. f2b3512
    Content editedby Claude
    Add {ID}-{slug}.md filename convention + migrate filenames subcommand

Acceptance Criteria

  • planLayout is exported from packages/transform/src/layouts.ts
  • Layout has sidebar slot (source: region:nav) and main slot (source: content)
  • Layout block name is plan
  • Layout is importable as import { planLayout } from '@refrakt-md/transform'
  • Existing layout tests still pass

Approach

Follow the pattern of docsLayout and blogArticleLayout in packages/transform/src/layouts.ts. The plan layout is simpler than either — no computed content slots, no behaviors.

References

  • SPEC-014 (Plan Site via HTML Adapter)