Skip to content

Comments

Rename document_type to doc_spec throughout codebase (#92)#92

Merged
nhorton merged 1 commit intomainfrom
rename-document-type-to-doc-spec
Jan 21, 2026
Merged

Rename document_type to doc_spec throughout codebase (#92)#92
nhorton merged 1 commit intomainfrom
rename-document-type-to-doc-spec

Conversation

@nhorton
Copy link
Contributor

@nhorton nhorton commented Jan 21, 2026

BREAKING CHANGE: The job.yml field document_type has been renamed to doc_spec.

  • Rename OutputSpec.document_type to doc_spec in parser
  • Rename DocumentTypeDefinition class to DocSpec (with backward compat alias)
  • Update generator methods: _load_document_type -> _load_doc_spec
  • Update templates to use doc_spec terminology
  • Update standard_jobs and documentation
  • Add 9 new tests for generator doc spec integration
  • Bump version to 0.5.0

BREAKING CHANGE: The job.yml field `document_type` has been renamed to `doc_spec`.

- Rename OutputSpec.document_type to doc_spec in parser
- Rename DocumentTypeDefinition class to DocSpec (with backward compat alias)
- Update generator methods: _load_document_type -> _load_doc_spec
- Update templates to use doc_spec terminology
- Update standard_jobs and documentation
- Add 9 new tests for generator doc spec integration
- Bump version to 0.5.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@nhorton nhorton merged commit fabf927 into main Jan 21, 2026
4 checks passed
@nhorton nhorton deleted the rename-document-type-to-doc-spec branch January 21, 2026 02:55
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.

1 participant