Custom Handlers

Lucas Dohmen's Avatar

Lucas Dohmen

30 Aug, 2012 08:22 PM

Hey Folks,

Do you support custom handlers on rubydoc.info? If so: How do I tell rubydoc that it should use the custom handler?

Best Wishes,
Lucas

  1. Support Staff 1 Posted by lsegal on 30 Aug, 2012 10:39 PM

    lsegal's Avatar

    We explicitly disable custom handlers from working on rubydoc.info for security reasons. However, we DO allow plugins to run on the site, so if you export your handlers to a yard- plugin, we will be able to run it. Alternatively we could bless your project/gem if you'd like... I would have to look over the handlers to make sure we can safely/efficiently run them, though-- I prefer to not do this.

    The best option here is unfortunately to generate YARD docs on your own server. It's a little difficult for us to run arbitrary code for the community.

  2. 2 Posted by Lucas Dohmen on 31 Aug, 2012 07:54 AM

    Lucas Dohmen's Avatar

    I absolutely understand that :)

    Ok, I think I will go with hosting it myself! Thank you for your answer :)

  3. Support Staff 3 Posted by lsegal on 31 Aug, 2012 03:21 PM

    lsegal's Avatar

    Sorry that we can't properly host your project! You're still welcome to pull your handlers out into a plugin-- that way your work could benefit the entire community! ...but I'm not sure how specific your handlers are to your code. Either way, I really do wish we had a better way to deal with this, sorry again!

  4. lsegal closed this discussion on 31 Aug, 2012 03:21 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac