Update gendocs script to generate front matter#245
Conversation
sajibcse68
left a comment
There was a problem hiding this comment.
ID should be unique, url: <> missing, name: <> should be smaller otherwise it is broken in left menu.
docs/reference/hostfacts/_index.md
Outdated
| parent: reference | ||
| weight: 10 | ||
| menu_name: product_searchlight_4.0.0 | ||
| left_menu: product_searchlight_4.0.0 |
There was a problem hiding this comment.
left_menu -> menu_name, following all
| menu: | ||
| product_searchlight_4.0.0: | ||
| identifier: hostfacts-hostfacts | ||
| identifier: hostfacts |
There was a problem hiding this comment.
Overwrites docs/reference/hostfacts/_index.md id. ID should be unique.
I followed, Identifier: <folder/parent name>- to avoid ID conflicts.
| aliases: | ||
| - /products/searchlight/4.0.0/reference/hostfacts/hostfacts/ | ||
| --- | ||
| - products/searchlight/4.0.0/reference/hostfacts/hostfacts/ |
There was a problem hiding this comment.
url: /products/searchlight/4.0.0/reference/hostfacts/ missing after menu_name: <>
| menu: | ||
| product_searchlight_4.0.0: | ||
| identifier: hyperalert-hyperalert | ||
| identifier: hyperalert |
There was a problem hiding this comment.
Overwrites docs/reference/hyperalert/_index.md ID.
|
|
||
| product_name: searchlight | ||
| section_menu_id: reference | ||
| menu_name: product_searchlight_4.0.0 |
There was a problem hiding this comment.
url: /products/searchlight/4.0.0/reference/hyperalert/ missing
| identifier: hyperalert-check-component | ||
| name: Check Component | ||
| identifier: hyperalert-check-component-status | ||
| name: Hyperalert Check Component Status |
There was a problem hiding this comment.
Name: <> should be smaller otherwise it would be broken in left menu!
| menu: | ||
| product_searchlight_4.0.0: | ||
| identifier: searchlight-searchlight | ||
| identifier: searchlight |
There was a problem hiding this comment.
ID conflicts with docs/reference/searchlight/_index.md
|
|
||
| product_name: searchlight | ||
| section_menu_id: reference | ||
| menu_name: product_searchlight_4.0.0 |
There was a problem hiding this comment.
url: /products/searchlight/4.0.0/reference/searchlight/ is missing
|
PTAL. Should be fixed now. I added |
No description provided.