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

Criteria completion

No incremental history — criteria tracking started on Apr 21.

Branches 3
History 4
  1. e900a90
    Created (done)by bjornolofandersson
  2. f262d7b
    Content editedby Claude
  3. 4f81969
    statusreadydone
    by Claude
  4. f5b8bf8
    Created (ready)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)