Onebox support for readthedocs.org

onebox

(Jonathan Malmaud) #1

Hi all,
Very pleased with the onebox support. One limitation seems to be that links to readthedocs.org aren’t oneboxed; eg

http://julia.readthedocs.org/en/latest/manual/types/

Would be great to have this as we experiment with moving the Julia forums over to Discourse; I can help out if someone points me in the right direction.


(Sam Saffron) #2

You have two options here:

  1. implement a custom onebox here: onebox/lib/onebox at master · discourse/onebox · GitHub

  2. (more desirable) add support for opengraph http://ogp.me/ to readthedocs (which would help everywhere) … then you simply whitelist the url.


(Jeff Atwood) #3

You should implement OpenGraph at readthedocs.org if you control it, or strongly lobby them to do so.


(Jonathan Malmaud) #4

Lobbying process has begun.