tag:rubydoc.tenderapp.com,2010-12-26:/discussions/problems/508-custom-handlers-in-gem-documentationRubydoc.info: Discussion 2017-03-18T15:42:08Ztag:rubydoc.tenderapp.com,2010-12-26:Comment/417434762017-01-14T18:22:46Z2017-01-14T18:22:46ZCustom handlers in gem documentation<div><p>Hi,</p>
<p>We explicitly disable custom handlers from working on
rubydoc.info for security reasons. However, we DO allow (blessed)
plugins to run on the site, so if you export your handlers to a
generic yard- plugin, we could merge it into <a href="https://github.com/docmeta/rubydoc.info">https://github.com/docmeta/rubydoc.info</a>
so everyone could benefit from the functionality.</p>
<p>Hope that explains it, sorry we can't run your custom
handler!</p>
<p>Loren</p></div>lsegaltag:rubydoc.tenderapp.com,2010-12-26:Comment/417434762017-03-18T15:42:07Z2017-03-18T15:42:08ZCustom handlers in gem documentation<div><p>Hi Loren,</p>
<p>thanks for your reply.</p>
<p>The gem is actually using two plugins, one of them is a modified version of<br>
<a href="https://github.com/lsegal/yard-spec-plugin">https://github.com/lsegal/yard-spec-plugin</a>, I've sent a PR with the updates<br>
I needed.</p>
<p>The other plugin is too specific and I don't think it could be resused by<br>
any other library, if you're interested in the details it's available here:<br>
<a href="https://github.com/Jesus/dropbox_api/blob/master/yardoc/endpoint_handler.rb">https://github.com/Jesus/dropbox_api/blob/master/yardoc/endpoint_ha...</a></p>
<p>I've decided to host the documentation in Github Pages for now, that way I<br>
can use the custom plugins.</p>
<p>Kind regards</p></div>Jesús Burgos Maciá