Skip to content

Document how to preserve YAML metadata key order - #136

Open
jackwalkerlabs wants to merge 1 commit into
eyeseast:mainfrom
jackwalkerlabs:codex/document-yaml-key-order
Open

Document how to preserve YAML metadata key order#136
jackwalkerlabs wants to merge 1 commit into
eyeseast:mainfrom
jackwalkerlabs:codex/document-yaml-key-order

Conversation

@jackwalkerlabs

Copy link
Copy Markdown

Document the existing sort_keys=False option for preserving YAML metadata order when saving a post, including keys added after loading. Add an executable example to YAMLHandler and a short README recipe. Clarify that ordering does not preserve comments or formatting.

Addresses #117 without changing the default serialization order or adding a dependency.

Validation: all 56 tests pass; all 14 handler doctest examples pass with failures explicitly checked.

AI disclosure: Implemented, reviewed, and tested by OpenAI Codex under the account owner’s authorization; no human code review is claimed.

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