Skip to content

docs: fix typos in flag docs and examples - #5

Open
Avicennasis wants to merge 1 commit into
ASML-Labs:mainfrom
TypoScan3000:docs/fix-typos
Open

Avicennasis wants to merge 1 commit into
ASML-Labs:mainfrom
TypoScan3000:docs/fix-typos

Conversation

@Avicennasis

Copy link
Copy Markdown

Summary

Fix typos and grammar across 7 files:

  • variant/private/flags.bzl + docs/variant/defs.md (string_flag_with_values docstring): "True if by all supported values" → "True if all supported values"; "visiblility" → "visibility". defs.md is Stardoc output, so the fix is made in the .bzl source and mirrored byte-identically into the generated file, which keeps stardoc_with_diff_test green.
  • examples/README.md: "augumenting" → "augmenting"
  • examples/implicit_settings/README.md: "augument" → "augment"
  • examples/tv_channels/README.md: "to configure and TV, radio channels" → "to configure TV and radio channels"
  • examples/kitchen/basil_fresh.cc + examples/kitchen/README.md: "Noticable" → "Noticeable". This is a string the example program prints, so the source and the two README output blocks that quote it change together.

No functional changes to the rules: comments and documentation only, plus that one printed label in the kitchen example.

Fix misspellings and grammar in the string_flag_with_values docstring (and the Stardoc-generated docs/variant/defs.md, kept byte-identical so the diff test passes) and in the example READMEs. The kitchen example's printed garlic label is corrected in basil_fresh.cc and in the README output that quotes it.

Signed-off-by: Léon Avic Simmons <Avicennasis@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant