zcaudate-me / lein-midje-doc

moved -> 'lucid.publish'
http://docs.caudate.me/lucidity/lucid-publish.html
73 stars 8 forks source link

Add possibility to hide code from documentation #12

Closed zilti closed 10 years ago

zilti commented 10 years ago

It would be nice to have a possibility to hide stuff from being shown in the documentation. E.g. I often have things like

(prerequisite (config :groups) => test-config)

in my code which then turns the documentation into a less-well readable document since it's kinda "random".

zcaudate commented 10 years ago

I think that is already possible. You can add a [[{:hide true}]] in front of the code that you wish to hide.

It's not documented but it should work. I remember doing it before https://github.com/zcaudate/lein-midje-doc/search?q=%3Ahide&ref=cmdform

zilti commented 10 years ago

Yes, this works :+1: Thanks!