pkgsite/internal/godoc
Jonathan Amsterdam 2e3472f912 internal/godoc: increase max doc HTML limit
Double the maximum allowed size of rendered documentation.

Increase the maximum file size as well.

Also, add information about the documentation size to logs and error
messages, so we can see the amount by which the limit was exceeded
next time.

For golang/go#40576.

Change-Id: Ia2aa11915d583e8e0c5ca0e273202a57679bd5f7
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/622556
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cody Oss <codyoss@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
2024-11-08 14:34:36 +00:00
..
codec internal/fetch,godoc: handle lint exceptions 2024-09-05 13:10:54 +00:00
dochtml internal/godoc: increase max doc HTML limit 2024-11-08 14:34:36 +00:00
internal/lazyregexp
testdata
encode.go
encode_ast.gen.go internal/fetch,godoc: handle lint exceptions 2024-09-05 13:10:54 +00:00
encode_test.go internal/fetch,godoc: handle lint exceptions 2024-09-05 13:10:54 +00:00
gen_ast.go
godoc.go
godoc_test.go
render.go internal/godoc: increase max doc HTML limit 2024-11-08 14:34:36 +00:00
render_test.go