mum-rs / mum

Daemon/cli mumble client
MIT License
31 stars 2 forks source link

Generate man-files for the config file via a proc macro #144

Open sornas opened 1 year ago

sornas commented 1 year ago

It's very easy to forget updating the documentation for the configuration file. A procedural macro that reads the doc comments and formats them into a man-page would ensure they stay more up-to-date. The macro would need to be recursive to handle the fact that we have an AudioConfig inside our Config and would like to document both.