forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generate toml for reference-docs (pantsbuild#19718)
Fixes pantsbuild#19705. Adds a `toml` snippet to each configuration option in the reference. Not quite sure how to validate this across the hundreds of files generated -- I've looked at a few ones for examples of enums, bools, lists, maps, and scalars. Not sure what other fun things might happen, or what kind of weird setup might exist in other places. Open questions: - Should each config add the header? I think *yes* for clarity, but it does add a *lot* of extra lines to some pages. --- <img width="518" alt="image" src="https://github.com/pantsbuild/pants/assets/8234817/645e2942-26a2-4b3a-9460-c1565b106d28"> <img width="492" alt="image" src="https://github.com/pantsbuild/pants/assets/8234817/58c5bef0-a84c-4fbf-a92f-7d3236f74e99"> <img width="817" alt="image" src="https://github.com/pantsbuild/pants/assets/8234817/6fc14e14-e884-4ecb-9618-9e20467fef11">
Showing
2 changed files
with
65 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters