Reputation: 139
I am trying to automate documentation using markdown compatible wiki without having a separate server.
I have ruby code with yard compatible documentation. If I run
yard doc
, it generates html files in ./doc
directory.
Would it be possible to generate .md
files from the code using yard
? So that I can simply add these files to GitLab or GitHub wiki or other markdown supported wiki?
Sorry if the question is repeated.
Upvotes: 3
Views: 981
Reputation: 133
Stumbled on this question doing my initial research, but haven't found an answer here. It may sound strange, that some people want to convert documentation no to html, but to markdown instead.
But there are plenty of software that can't render HTML, but works with markdown.
I have developed rdoc plugin to do that. https://github.com/skatkov/rdoc-markdown
Upvotes: 0