chef / chef/chef-web-docs

[BUG] The value_for_platform help is difficult to understand from the docs

Open
#3,159 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Documentation Status: Untriaged Type: Bug
Dominant language
HTML
Stars
143
Forks
438
Avg merge
1d 10h
Merged PRs (30d)
16

Description

General details

https://docs.chef.io/infra_language/checking_platforms/#value_for_platform

Product

[ ] Chef Automate
[ ] Chef Habitat
[X ] Chef Infra Client
[ ] Chef Infra Server
[ ] Chef InSpec
[ ] Other________________

Describe the update that needs to be made. Be as specific as possible:

What would help the docs would be some actual examples using the code. The current examples that just use 'platform', 'version' and 'value' make it difficult to know if those are literal strings or values that should be replaced. It would be helpful to have an working example that shows off all the different options available.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the value_for_platform section at the linked Chef Infra documentation page first. Replace abstract placeholder-only examples with concrete working examples that clarify which values are literal and demonstrate the available options; done means the section is understandable without guessing how to adapt the examples.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.