summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add a note to cron_accessmore_and_more_descriptionsTim Smith2020-05-011-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Embed the note for chocolatey_description to the descriptionTim Smith2020-05-011-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Split the descriptions and notes outTim Smith2020-05-011-8/+12
| | | | | | This fixes a few resources that included notes Signed-off-by: Tim Smith <tsmith@chef.io>
* We don't use the resource name bolding functionality anymoreTim Smith2020-05-011-14/+0
| | | | | | We just bold the text in the description ourselves. It's way more reliable. Signed-off-by: Tim Smith <tsmith@chef.io>
* Skip nil values in the type listTim Smith2020-05-011-4/+6
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump the ignored default length to 45Tim Smith2020-05-011-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Don't put very long descriptions in the block exampleTim Smith2020-05-011-1/+3
| | | | | | They'll wrap Signed-off-by: Tim Smith <tsmith@chef.io>
* Don't write out false values for configs in the resource yamlTim Smith2020-05-011-34/+30
| | | | | | The values default to false so only write out the true values, which makes it much easier to see what we're actually trying to set. This also means the yaml files won't wall change if we add a new config, which we will. Signed-off-by: Tim Smith <tsmith@chef.io>
* Improve descriptionsTim Smith2020-05-015-7/+12
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Use the brand name not the CLI name in more placesTim Smith2020-05-012-2/+2
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Improve descriptions and add a missing resource requireTim Smith2020-05-012-5/+9
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Skip syntax_shortcode entirely unless we're in a log resourceTim Smith2020-05-011-4/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove some nils that come for freeTim Smith2020-05-011-4/+0
| | | | | | Thanks Ruby! Signed-off-by: Tim Smith <tsmith@chef.io>
* Chefstyle fixesTim Smith2020-05-011-2/+2
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Add examples to apt_packageTim Smith2020-05-011-0/+29
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Handle the scenario where there are no properties betterTim Smith2020-05-011-3/+7
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove some special content for breakpointTim Smith2020-05-011-6/+1
| | | | | | We autogenerate better content that these snippets Signed-off-by: Tim Smith <tsmith@chef.io>
* Another round of description updatesTim Smith2020-05-018-12/+13
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #9769 from chef/fix-yaml-toolTim Smith2020-05-011-2/+2
|\ | | | | Fix symbols and arrays in yaml conversion tool
| * Use inspect instead of switching on element type.fix-yaml-toolPete Higgins2020-05-011-7/+1
| | | | | | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
| * Don't quote arrays in yaml conversion.Pete Higgins2020-05-011-1/+7
| | | | | | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
| * Allow symbols in yaml conversion.Pete Higgins2020-05-011-1/+1
| | | | | | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
* | Bump version to 16.0.265 by Chef Expeditorv16.0.265Chef Expeditor2020-05-017-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9775 from chef/more_docs_stuffTim Smith2020-05-0121-26/+341
|\ \ | |/ |/| Add more examples to resources
| * Update cron formattingmore_docs_stuffTim Smith2020-05-012-8/+8
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Fix more resource formattingTim Smith2020-05-013-10/+10
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Sort the equal_to valuesTim Smith2020-05-011-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Fixup more formattingTim Smith2020-05-012-5/+5
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Handle symbols in the equal_to valuesTim Smith2020-05-012-2/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Remove a magic quoteTim Smith2020-04-301-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add more examples to resourcesTim Smith2020-04-3015-5/+320
|/ | | | | | Backfilling the world! Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.0.264 by Chef Expeditorv16.0.264Chef Expeditor2020-04-307-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9774 from chef/unused_spec_helperTim Smith2020-04-301-13/+0
|\ | | | | Remove an unused spec helper
| * Remove an unused spec helperTim Smith2020-04-301-13/+0
| | | | | | | | | | | | The code this was used with is long gone Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.0.263 by Chef Expeditorv16.0.263Chef Expeditor2020-04-307-19/+20
|/ | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9773 from chef/self_documenting_resourcesTim Smith2020-04-30138-251/+581
|\ | | | | Improve resource self documentation
| * OS X -> macOSTim Smith2020-04-308-10/+10
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Docs generation: Add examples & simplify actionsTim Smith2020-04-301-8/+3
| | | | | | | | | | | | Add the new docs field and skip the special casing of nothing since the hugo template actually handles that. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add missing examples and resource formatting for docs siteTim Smith2020-04-30130-234/+569
|/ | | | | | Get us closer to automated documentation. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.0.262 by Chef Expeditorv16.0.262Chef Expeditor2020-04-307-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9767 from chef/more_docsTim Smith2020-04-3024-76/+100
|\ | | | | More improvements to the docs generation
| * Sort the list of actions when generating docsTim Smith2020-04-291-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * More resource formatting and wording updatesTim Smith2020-04-2910-15/+15
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * More resource formatting fixesTim Smith2020-04-293-26/+26
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add a skeleton values for actions / examplesTim Smith2020-04-291-0/+22
| | | | | | | | | | | | We need to extend the data we present via chef and also change the hugo template for the examples, but for now this makes the diff much easier. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update lib/chef/resource/apt_preference.rb Tim Smith2020-04-291-1/+1
| | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io> Co-Authored-By: pete higgins <pete@peterhiggins.org>
| * Improve resource doc formattingTim Smith2020-04-295-8/+8
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Comment why we append --- in the docs generatorTim Smith2020-04-291-0/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Make sure our yaml blocks end with ---Tim Smith2020-04-291-1/+1
| | | | | | | | | | | | The files aren't actually yaml. They're markdown with yaml blocks so we need to end them. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Tweak resource formattingTim Smith2020-04-295-9/+9
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>