You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's fairly common in Clojure documentation to have the following snippet:
## Usage
To use this library in your project, add the following leiningen dependency:
[org.clojars.simon_brooke/html-to-md "0.3.0"]
In my experience (and I'd love to hear from anyone who knows better) this line has to be manually edited at every release. I'd like to be able to put a magic token, e.g. {{version}} and have it magically update to the current project version.
Explicitly, I'd like to write:
## Usage
To use this library in your project, add the following leiningen dependency:
[org.clojars.simon_brooke/html-to-md "{{version}}"]
and have it appear in the generated documentation:
Usage
To use this library in your project, add the following leiningen dependency:
Adding tokens to the documentation sounds fine, though I'm not sure how useful it would be for most people, as the "Usage" information is typically in the README, which people usually read through Github etc. rather than Codox.
It's fairly common in Clojure documentation to have the following snippet:
In my experience (and I'd love to hear from anyone who knows better) this line has to be manually edited at every release. I'd like to be able to put a magic token, e.g.
{{version}}
and have it magically update to the current project version.Explicitly, I'd like to write:
and have it appear in the generated documentation:
Usage
To use this library in your project, add the following leiningen dependency:
The text was updated successfully, but these errors were encountered: