Skip to content

okf: allow okf_version on standalone concept files (SPEC 11)#192

Open
manumishra12 wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
manumishra12:spec-standalone-okf-version
Open

okf: allow okf_version on standalone concept files (SPEC 11)#192
manumishra12 wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
manumishra12:spec-standalone-okf-version

Conversation

@manumishra12

Copy link
Copy Markdown

What

Clarifies SPEC section 11 so a standalone concept document — one distributed on its own, outside any bundle — MAY declare okf_version in its own frontmatter. This addresses the concrete, actionable ask in #57.

Why

Section 11 currently permits okf_version only in a bundle-root index.md, leaving no way for a single standalone document to identify itself as OKF content. This says such a file MAY carry okf_version and SHOULD be treated as a one-concept bundle; once the file is placed in a bundle that declares its own root version, the bundle-root declaration takes precedence.

Scope

The broader question in #57 — whether OKF should cover multi-concept documents — is a larger design discussion and is intentionally left out of this change. This PR covers only the standalone-file versioning part.

Additive and backward-compatible (SPEC section 11 minor-version rules). Addresses #57.

Section 11 only allowed okf_version in a bundle-root index.md. Issue GoogleCloudPlatform#57 asks
how a single document distributed outside a bundle identifies itself as OKF.
Clarifies that a standalone concept file MAY declare okf_version in its own
frontmatter and be treated as a one-concept bundle, with the bundle-root
declaration taking precedence once the file is placed in a bundle.

Additive and backward-compatible (per SPEC 11). Addresses GoogleCloudPlatform#57.
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