mirror of https://github.com/pulumi/pulumi.git
21c9bd23b4
12070: [codegen/docs] Only emit first 200 nested types r=lukehoban a=lukehoban There are a few resources with a *very* large number of nested types. We have seen this lead to generating docs pages that cannot be loaded in a browser. Instead, only emit the first 200 nested types, and emit a note to users if we have done this. In the AWS provider, this only triggers for `wafv2.WebAcl` and `wafv2.RuleGroup`. This reduces the size of http://localhost:1313/registry/packages/aws/api-docs/wafv2/webacl/ from 64MB to 2.5MB (still huge - but manageable). <img width="1295" alt="Screenshot 2023-02-03 at 3 28 40 PM" src="https://user-images.githubusercontent.com/223467/216729590-955fac65-e7e6-46cf-9960-f84c4238f911.png"> Fixes https://github.com/pulumi/registry/issues/1481 (once this is incorporate into `registrygen`). Co-authored-by: Luke Hoban <lukehoban@gmail.com> |
||
---|---|---|
.. | ||
authhelpers | ||
backend | ||
cmd/pulumi | ||
codegen | ||
engine | ||
graph | ||
operations | ||
resource | ||
secrets | ||
testing/integration | ||
util | ||
version | ||
README.md | ||
go.mod | ||
go.sum |
README.md
pulumi/pkg
While pulumi/sdk maintains strict backwards compatibility guarantees, code under pkg/ is handled more informally: while breaking changes are still discouraged they may happen when they make sense.