pulumi/pkg
Praneet Loke edbb05dddd
Update schema-based docs generator (#4035)
* Update properties.tmpl to render property comment as-is. WIP splitting out properties to lang-specific tables.

* Generate the constructor dynamically from the resource per language.

* Add doc functions in each language generator package for getting doc links for types..and later other functions too.

* Render the constructor params in the Go code and inject into the template.

* Generate nodejs types using the nodejs lang generator.

* Add a templates bundler. Added a new Make target for autogenerating a static bundle for the resource docs generator.

* Generate type links for all languages based on their schema type. Render the property type with a link if the underlying elements have a supporting type. Fix word-breaks for Python type names.

* Various changes including the introduction of an interface type under the codegen package to help with generating some language-specific information for the resource docs generator.

* Add a function to explicitly generate links for input types of nested types. Fix the resource doc link generator for Go. Don't replace the module name from the nodejs language type.

* Fix bug with C# property type html encoding.

* Fix some template formatting. Pass the state inputs for Python to generate the lookup function for it.
* Do not generate the examples section if there are none.

* Generating the property types per language.

* Formatting. Rename function for readability.

* Add comments. Update README.

* Use relative URLs for doc links within the main site
2020-03-09 10:35:20 -07:00
..
apitype Initial support for configuring policies (#4015) 2020-03-08 14:11:55 -07:00
backend Initial support for configuring policies (#4015) 2020-03-08 14:11:55 -07:00
codegen Update schema-based docs generator (#4035) 2020-03-09 10:35:20 -07:00
diag Do not prefix failed operation errors. 2019-11-19 17:17:17 -08:00
encoding Add license headers 2018-05-22 15:02:47 -07:00
engine Initial support for configuring policies (#4015) 2020-03-08 14:11:55 -07:00
graph Improve stack graph. (#3431) 2019-10-31 17:39:15 -07:00
npm Fix for windows policy-pack install (#3837) 2020-01-29 16:02:44 -08:00
operations Revert "Fix getting logs in tests for Lambdas" (#3923) 2020-02-13 22:38:12 -08:00
resource Initial support for configuring policies (#4015) 2020-03-08 14:11:55 -07:00
secrets Cache account information. (#3340) 2019-10-15 15:37:57 -07:00
testing Regression tests for StackReference in the Python SDK (#3913) 2020-02-17 10:40:46 -08:00
tokens Fix comment about QName regex (#3121) 2019-08-20 14:43:48 -07:00
tools Add a WriteString method to tools/GenWriter. (#1839) 2018-08-29 14:43:20 -07:00
util Check if TRAVIS_PULL_REQUEST is false before setting the ci vars' PRNumber property (#3869) 2020-02-06 12:25:06 -08:00
version Add license headers 2018-05-22 15:02:47 -07:00
workspace Stop new projects starting with the word Pulumi 2020-03-05 17:43:42 +02:00