mirror of
https://github.com/fleetdm/fleet
synced 2026-05-14 20:48:35 +00:00
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> |
||
|---|---|---|
| .. | ||
| view-basic-handbook.js | ||