pseudomuto / protoc-gen-doc

Documentation generator plugin for Google Protocol Buffers
MIT License
2.61k stars 462 forks source link

Note deprecated fields in HTML and Markdown outputs #426

Closed jacobtolar closed 4 years ago

jacobtolar commented 4 years ago

This updates the Markdown and HTML outputs to prefix field descriptions with Deprecated. if the field is configured with [deprecated=true].

While there is a table at the end listing all the fields by option (at least in the HTML output), it's probably more helpful to see them in context.

jacobtolar commented 4 years ago

Ping someone on the PR (Lots of people, including myself, won't get a notification unless pinged directly)

Oops, I missed this item.

@pseudomuto - please take a look; thanks!