google / starlark-go

Starlark in Go: the Starlark configuration language, implemented in Go
BSD 3-Clause "New" or "Revised" License
2.26k stars 204 forks source link

starlark,syntax,repl: improve docs for deprecated functions #548

Closed alexandear closed 1 month ago

alexandear commented 1 month ago

This PR adds a newline before the "// Deprecated:" comments to fix the display of deprecated functions on the pkgsite. The changes are made in accordance with the guidelines on the wiki page https://go.dev/wiki/Deprecated.

Before:

image

After:

image