pulumi/pkg/codegen/docs/templates
Praneet Loke cfcfad2f3c
Fixes for resource docs generator (#4085)
* Generate the constructor params for Python along with other languages.

* Remove redundant py_function_param nested template. Declare a new type for defining property characteristics rather than using inlining formal params. Generate the Lookup functions for all languages similar to the constructor params with linking enabled.

* Fix bug with generating the input arg type name for Functions in Go.

* Add prefix for args param of a Go-based Resource Function.

* Input args for Go-based Functions use Lookup*Args and not Get*Args.

* Turns out that args for Go-based Functions use a different prefix based on whether the function is a package-level or module-level Function.

* Update the Python list and dictionary type names for the resource doc generator.

* Add a separate function for Python doc helper return a type string representing dictionaries that are simple maps and don't have a known nested element type.
2020-03-17 13:37:40 -07:00
..
constructor_args.tmpl Update schema-based docs generator (#4035) 2020-03-09 10:35:20 -07:00
constructor_params.tmpl Fixes for resource docs generator (#4085) 2020-03-17 13:37:40 -07:00
function.tmpl Updates to resource doc generator for generating docs for Functions (#4055) 2020-03-11 17:58:12 -07:00
header.tmpl Update schema-based docs generator (#4035) 2020-03-09 10:35:20 -07:00
properties.tmpl Update schema-based docs generator (#4035) 2020-03-09 10:35:20 -07:00
read_inputs.tmpl Update schema-based docs generator (#4035) 2020-03-09 10:35:20 -07:00
resource.tmpl Fixes for resource docs generator (#4085) 2020-03-17 13:37:40 -07:00
utils.tmpl Update schema-based docs generator (#4035) 2020-03-09 10:35:20 -07:00