Ondrej Certik wrote: > Hi, > > I would like to put video tutorial inside the html docs. I have > already figured out how to embed it in my pages, see here for an > example: > > http://certik.github.com/record/ > > all I am doing is hosting my video file on the internet and then I > need to embed couple html tags (see the link for exact details). Is > there a way to do it in sphinx? Maybe by writing a simple extension, > that will take the link to the video file (and possibly width and > height) and it will produce the right html code?
Sphinx has a built-in raw directive that sounds like exactly what you need: http://docutils.sourceforge.net/docs/ref/rst/directives.html#raw-data-pass-through Example: .. raw:: html <!-- Your video embed code. --> -- --Max Battcher-- http://worldmaker.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
