Skip to content

Support writing page type inference#177

Open
idimilabs wants to merge 1 commit intogarrytan:masterfrom
idimilabs:codex/support-writing-page-type
Open

Support writing page type inference#177
idimilabs wants to merge 1 commit intogarrytan:masterfrom
idimilabs:codex/support-writing-page-type

Conversation

@idimilabs
Copy link
Copy Markdown

What changed

  • add writing to PageType
  • infer /writing/ paths as writing
  • add a regression test for writing/post.md

Why

docs/GBRAIN_RECOMMENDED_SCHEMA.md documents a writing/ directory, but runtime type inference defaulted those pages to concept.

Closes #176.

Validation

  • bun test test/markdown.test.ts
  • bun test test/import-file.test.ts
  • bun test test/slug-validation.test.ts

@idimilabs idimilabs marked this pull request as ready for review April 17, 2026 15:25
@idimilabs idimilabs force-pushed the codex/support-writing-page-type branch from 51333af to 9d08dd3 Compare April 19, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

writing/ pages are inferred as concept

1 participant