Proposal: Allow frontmatter in index and log files.

Open Beginner friendly
#78 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
markdown
Domain
documentation

Research direction

Start with the v0.1 spec and compare its rules for index.md, log.md, and concept documents. Update the specification to explicitly allow frontmatter in index.md and log.md while keeping it optional there, then verify that the wording remains consistent with the concept-document requirement.

Written by the indexing model from the issue text.

Description

The v0.1 spec states:

Index files contain no frontmatter.

As far as I can see, there is no reason why the OKF standard needs to explicitly disallow frontmatter in index files. And conversely, it creates an unnecessary obstacle for cross-compatibility with other standards or tools, which may have their own uses for frontmatter.

The same applies to log files, for which the spec makes no mention of frontmatter either way.

I propose explicitly allowing frontmatter in both index.md, and log.md, while making clear that it is not required in either as it is in concept documents.

Dominant language
TypeScript
Stars
9.2k
Forks
784
Avg merge
6h 37m
Merged PRs (30d)
95

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GoogleCloudPlatform/knowledge-catalog

All issues in GoogleCloudPlatform/knowledge-catalog

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.