dlang / ddox

Advanced D documentation engine
MIT License
62 stars 20 forks source link

Show value of enums in documentation #223

Open Geod24 opened 4 years ago

Geod24 commented 4 years ago

The value of enum is quite important and should be displayed in the doc.

As an example, consider: https://vibed.org/api/vibe.http.status/HTTPStatus I wanted to return a 400 but use HTTPStatus. However, the lack of value (and me not knowing the exact name in the specs) means that opening the code was the fastest / best thing to do.