Commit graph

4 commits

Author SHA1 Message Date
Eric
7251da0983
Website: change order of columns on handbook rituals tables (#36989)
Changes:
- Changed the order of columns of tables of rituals on handbook pages to
list the ritual DRI before the description.
2025-12-09 18:41:56 -06:00
johnjeremiah
e7a9674608
Add link to ritual addition tutorial video (#36433)
Adding a short video for how to add a ritual

---------

Co-authored-by: Sam Pfluger <[email protected]>
2025-11-29 10:36:40 -06:00
Eric
db79280f1e
Website: Update rituals table styles (#33242)
Closes: https://github.com/fleetdm/fleet/issues/31942

Changes:
- Updated the styles of ritual tables in the handbook to keep the
formatting of multi-line descriptions.
2025-09-19 16:28:01 -05:00
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 <[email protected]>
2023-08-03 21:58:02 -05:00