Commit Graph

42 Commits (cb019e39cdae8af0bc35eee97adf8ea9db54a058)

Author SHA1 Message Date
Megan Marsh fa163c2514 fix generator to work even in nested packer/packer dirs
6 years ago
Adrien Delorme 946bc72ca8 snippet-extractor: better docs
6 years ago
Adrien Delorme a7abf75794 Add snippet-extract cmd that allows to extract parts of examples for docs
6 years ago
Adrien Delorme 0fe0cfc4cd remove docs scrapper ( it's old and unused now )
6 years ago
Jonathan Neal d8b67f8520
📌 Hard Pin Website Dependencies (#9543)
6 years ago
Megan Marsh 7c2dfd2760 appease linter
6 years ago
Megan Marsh a94e147865 fix go fmt
6 years ago
Megan Marsh b28059c0a5 add generator to create a list of all the deprecated options that the fixers fix
6 years ago
Adrien Delorme 40947c2bf6
HCL2: generate hcl tags with go-cty tags too (#9306)
6 years ago
Megan Marsh 756d0760b5 remove unused import
6 years ago
Megan Marsh 7e0cfd8b77 add undocumented tag to struct-markdown generator so that we can leave internal-use-only fields out of docs
6 years ago
Adrien Delorme c5c3585df1 make docs a bit more readable for KeyValues too
6 years ago
Adrien Delorme 840e67f775
HCL2: when we see a map generate an attribute spec instead of a block spec (#9035)
6 years ago
Jeff Escalante 2999934326
fix generation script, bugfixes in source comments, update website paths in primary codebase
6 years ago
Adrien Delorme 78ac1e256b better type for []NameValue in docs
6 years ago
Adrien Delorme 094b837ed2 codegen: force line return in all `FlatMapstructure` code generation to avoid weird go-fmt discrepencies
6 years ago
Adrien Delorme 0a46bb9525 more precise docs
6 years ago
Adrien Delorme ae4b158ca3 Update mapstructure-to-hcl2.go
6 years ago
Sylvia Moss ce674ff272
Add exclude mapstructure tag to exclude from hcl2spec struct (#8785)
6 years ago
jhawk28 ff1af40c66
struct-markdown should keep the same slash direction regardless of Windows or Linux (#8738)
6 years ago
Wilken Rivera a684fae28f mapstructure-to-hcl2: Update code formatter to use golang/x/tools/imports
6 years ago
Sylvia Moss bc11853ecf
Rename method writeSpecField to goFieldToCtyType (#8687)
6 years ago
Sylvia Moss 08b0bd1d2c
Fix HCL2 code generation for slices within another slice (#8669)
6 years ago
Megan Marsh 69fe131571
switch trilean to boolean in docs to prevent confusion (#8673)
6 years ago
Adrien Delorme 13ea97a1df mapstructure-to-hcl2: make basic named types pointers ( optional )
6 years ago
Adrien Delorme dc5bde97d7 log& skip field if struct tag parse did not work
6 years ago
Adrien Delorme 731904d3d2 mapstructure-to-hcl2: use accessor for named types and not named type + go genrate + tests
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Adrien Delorme 819329228a Change back to make sure all durations are a time.Duration
6 years ago
Adrien Delorme bf3d9841c6 Force durations to be passed a strings
6 years ago
Megan Marsh da53ac99be when using a slice of an imported field type, the Underlying still returned the slice rather than the element type.
6 years ago
Adrien Delorme f6af5ecf07 Update mapstructure-to-hcl2.go
6 years ago
Adrien Delorme 9dac7908a5 Update mapstructure-to-hcl2.go
6 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
6 years ago
Adrien Delorme 0eb9090dcf Create mapstructure-to-hcl2.go
6 years ago
Adrien Delorme 0fe48691e8 ignore doc fields containing `TODO`
7 years ago
Adrien Delorme ec52f36af1 docs: escape pointer (*) parameters `*` => `\*`
7 years ago
Adrien Delorme 349c3ef74b cmd/struct-markdown: also generate docs from header comments of a struct
7 years ago
Adrien Delorme 4ae10f08b2 docs: generate builders partials from struct comments
7 years ago
Adrien Delorme f1917edd34 generate the comments for config struct of builders scraping doc website
7 years ago
Adrien Delorme c7808aaf1f do things locally
7 years ago
Adrien Delorme 31b66a63b1 scrape builder docs from https://www.packer.io/docs/
7 years ago