Skip to content

fix(viewer): exclude log.md from concept nodes - #348

Open
PranaliPathak04 wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
PranaliPathak04:fix-viewer-log-file
Open

fix(viewer): exclude log.md from concept nodes#348
PranaliPathak04 wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
PranaliPathak04:fix-viewer-log-file

Conversation

@PranaliPathak04

@PranaliPathak04 PranaliPathak04 commented Aug 28, 2026

Copy link
Copy Markdown

#202 Issue

Summary

  • Exclude reserved log.md files from viewer concept nodes.
  • Add a regression test ensuring both index.md and log.md are excluded.

Motivation

The OKF specification defines both index.md and log.md as reserved filenames, but the viewer only excluded index.md when walking Markdown files.

This change brings the viewer behavior in line with the specification.

Testing

  • pytest tests/test_viewer.py
  • 7 tests passed
  • git diff --check

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