fleet/website/scripts
Eric 3e1936d9c7
Website: add <rituals> component, add ritualsTables (parsed from YAML) to website configuration (#13084)
Changes:
- Updated the `build-static-content` script to parse files named
`rituals.yml` in the handbook folder, and add the contents to the
website's configuration as
`sails.config.builtStaticContent.ritualsTables`, and to throw errors if
a `rituals.yml` file contains a ritual that is missing a required value.
- Created the `<rituals>` component, a component that takes a single
prop (`ritualsTable`) and renders a table containing a row for each
ritual.
- Added a new property to `handbook/company/rituals.yml` - moreInfoUrl.
If this value is present, the description in the rendered HTML table (of
the `<rituals>` component) will link to the URL provided.
- updated view-basic-handbook to send
`sails.config.builtStaticContent.ritualsTables` in `SAILS_LOCALS`

---------

Co-authored-by: Sampfluger88 <108141731+Sampfluger88@users.noreply.github.com>
2023-08-03 21:58:02 -05:00
..
build-static-content.js Website: add <rituals> component, add ritualsTables (parsed from YAML) to website configuration (#13084) 2023-08-03 21:58:02 -05:00
create-issues-for-todays-rituals.js Website: add <rituals> component, add ritualsTables (parsed from YAML) to website configuration (#13084) 2023-08-03 21:58:02 -05:00
deliver-estimation-report.js Website: add .retry() to Github API calls in estimation report script (#6132) 2022-06-09 00:08:13 -05:00
freeze-open-pull-requests.js Tool: Bring back mergefreeze API integration (#6905) 2022-07-27 00:36:31 -05:00
generate-html-email-from-article.js Website: Add script for creating HTML email partials from Markdown articles (#7574) 2022-12-05 16:30:24 -06:00
generate-merged-schema.js Update merged schema helper and script. (#8092) 2022-10-05 15:10:08 -05:00
get-bug-and-pr-report.js Exclude handbook and ceo labels from contributor PR count (#12226) 2023-06-09 10:55:12 -05:00
rebuild-cloud-sdk.js Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
send-data-to-vanta.js Exclude uninitialized macOS hosts in Vanta sync script (#12478) 2023-06-23 18:17:18 -05:00