Prepare for rituals.yml automation (move features table YML) (#13049)

- Ahead of per-department rituals.yml automation, move feature list .yml
out for clarity
This commit is contained in:
Mike McNeil
2023-08-02 16:58:20 -05:00
committed by GitHub
parent 8bc2d8140b
commit 1ec179c138
4 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ go.mod @fleetdm/go
# (see website/config/custom.js for DRIs of other paths not listed here)
##############################################################################################
/website/views/pages/pricing.ejs @mikermcneil # « CEO is DRI for pricing
/handbook/product/pricing-features-table.yml @mikermcneil # « CEO is current DRI for product marketing (e.g. features table)
/handbook/company/pricing-features-table.yml @mikermcneil # « CEO is current DRI for features table
##############################################################################################
# 🦿 Handbook
+1 -1
View File
@@ -138,7 +138,7 @@ module.exports.custom = {
// 🫧 Pricing and features
// 'website/views/pages/pricing.ejs': '', // « Covered in CODEOWNERS (2023-07-22)
// 'handbook/product/pricing-features-table.yml': '', // « Covered in CODEOWNERS (2023-07-22)
// 'handbook/company/pricing-features-table.yml': '', // « Covered in CODEOWNERS (2023-07-22)
// 🫧 Other brandfronts
'README.md': 'mikermcneil',// « GitHub brandfront
+1 -1
View File
@@ -687,7 +687,7 @@ module.exports = {
},
async()=>{
// Validate the pricing table yaml and add it to builtStaticContent.pricingTable.
let RELATIVE_PATH_TO_PRICING_TABLE_YML_IN_FLEET_REPO = 'handbook/product/pricing-features-table.yml';// TODO: Is there a better home for this file?
let RELATIVE_PATH_TO_PRICING_TABLE_YML_IN_FLEET_REPO = 'handbook/company/pricing-features-table.yml';
let yaml = await sails.helpers.fs.read(path.join(topLvlRepoPath, RELATIVE_PATH_TO_PRICING_TABLE_YML_IN_FLEET_REPO)).intercept('doesNotExist', (err)=>new Error(`Could not find pricing table features YAML file at "${RELATIVE_PATH_TO_PRICING_TABLE_YML_IN_FLEET_REPO}". Was it accidentally moved? Raw error: `+err.message));
let pricingTableCategories = YAML.parse(yaml, {prettyErrors: true});