Skip to content

Commit b5dc10a

Browse files
DA-1354: Added test for the H1 content (#82)
* DA-1354: Added test for the H1 content - Added cheerio and marked dependencies - Implemented H1 validation against frontmatter title in markdown files - Created utility functions for frontmatter extraction and H1 detection * Update utils/extract_frontmatter_from_tutorial.js Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * DA-1354 fix: yaml.safeLoad is deprecated * DA-1354 remove: the test case for more than 1 H1s * DA-1354 fix: update H1 validation logic to allow for no H1 or a single H1, and add logging for generated files with mismatched titles * DA-1354 refactor: remove logging for generated files in H1 validation function --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 4ebef0b commit b5dc10a

File tree

6 files changed

+644
-29
lines changed

6 files changed

+644
-29
lines changed

0 commit comments

Comments
 (0)