Skip to content

Commit

Permalink
Update document generation scripts with "Chef Habitat" wording
Browse files Browse the repository at this point in the history
Looks like #6667 was a bit overzealous in its grepping; it changed
some generated files, rather than making changes to the generating
code.

Additional changes to CLI documentation and template references should
take place in their source code, for consistency.

Signed-off-by: Christopher Maier <cmaier@chef.io>
  • Loading branch information
christophermaier committed Jul 29, 2019
1 parent 2630bf3 commit bac091e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions www/scripts/generate-cli-docs.js
Expand Up @@ -76,13 +76,13 @@ function markdownForHeader() {
const formatted = `${now.getDate()} ${months[now.getMonth()]} ${now.getFullYear()}`
return `<!-- This is a generated file, do not edit it directly. See https://github.com/habitat-sh/habitat/blob/master/www/scripts/generate-cli-docs.js -->
---
title: Habitat Docs - hab CLI Reference
title: Chef Habitat Docs - hab CLI Reference
draft: false
---
# Habitat Command-Line Interface (CLI) Reference
# Chef Habitat Command-Line Interface (CLI) Reference
The commands for the Habitat CLI (\`hab\`) are listed below.
The commands for the Chef Habitat CLI (\`hab\`) are listed below.
| Applies to Version | Last Updated |
| ------- | ------------ |
Expand Down
2 changes: 1 addition & 1 deletion www/scripts/generate-template-reference.js
Expand Up @@ -6,7 +6,7 @@ function writeHeader() {
lines.push(`<!-- This is a generated file, do not edit it directly. See https://github.com/habitat-sh/habitat/blob/master/www/scripts/generate-template-reference.js -->`)
lines.push(`# Template Data`);
lines.push('');
lines.push(`The following settings can be used during a Habitat service's lifecycle. This means that you can use these settings in any of the plan hooks, such as \`init\`, or \`run\`, and also in any templatized configuration file for your application or service.`)
lines.push(`The following settings can be used during a Chef Habitat service's lifecycle. This means that you can use these settings in any of the plan hooks, such as \`init\`, or \`run\`, and also in any templatized configuration file for your application or service.`)
lines.push('');
lines.push(`These configuration settings are referenced using the [Handlebars.js](https://github.com/wycats/handlebars.js/) version of [Mustache-style](https://mustache.github.io/mustache.5.html) tags.`)
lines.push('');
Expand Down

0 comments on commit bac091e

Please sign in to comment.