Skip to content

Commit

Permalink
Improve the MQL resource pack docs generation
Browse files Browse the repository at this point in the history
- Rename the Mondoo pack to be Mondoo Platform so it's more clear what
  this does
- Avoid `Mondoo Mondoo Platform` by renaming the pack headers

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed Dec 26, 2024
1 parent a758c2a commit e510f65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ lr/docs/markdown: providers/lr
--docs-file providers/snowflake/resources/snowflake.lr.manifest.yaml \
--output ../docs/docs/mql/resources/snowflake-pack
./lr markdown providers/mondoo/resources/mondoo.lr \
--pack-name "Mondoo" \
--pack-name "Mondoo Platform" \
--description "The Mondoo resource pack lets you interact with Mondoo Platform and its assets and resources." \
--docs-file providers/mondoo/resources/mondoo.lr.manifest.yaml \
--output ../docs/docs/mql/resources/mondoo-pack
Expand Down
2 changes: 1 addition & 1 deletion providers-sdk/v1/lr/cli/cmd/markdown.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func (l *lrSchemaRenderer) renderToc(packName string, description string, resour
builder.WriteString("\n")

// render content
builder.WriteString("# Mondoo " + packName + " Resource Pack Reference\n\n")
builder.WriteString("# " + packName + " MQL Resource Pack Reference\n\n")
builder.WriteString(description + "\n\n")
builder.WriteString("Resources included in this pack:\n\n")
rows := [][]string{}
Expand Down

0 comments on commit e510f65

Please sign in to comment.