crate-crypto / go-eth-kzg

Apache License 2.0
29 stars 22 forks source link

Ungroup consts in serialization to fix docs #40

Closed jtraglia closed 1 year ago

jtraglia commented 1 year ago

When I changed this to a group of constants, I didn't know it would affect how the documentation looked. Right now, it looks like this (which I think is pretty ugly):

image

See: https://pkg.go.dev/github.com/crate-crypto/go-kzg-4844

If you ungroup the constants, it will look like this (rendered locally):

image