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:simple
claude/align-sidenav-styling-4MuxV View source

Criteria completion

No incremental history — criteria tracking started on Apr 17.

Branches 3
History 2
  1. 4f81969
    Content editedby Claude
    Complete SPEC-014 work items (WORK-037 through WORK-041)
  2. f5b8bf8
    Created (done)by Claude
    Add work items WORK-037 through WORK-049 for plan site specs

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)