Hmm. I've tried using .. raw: html to escape and put some extra javascript in one of the standard js files.
That worked - sortof. Except that the html builder doesn't copy over any images that aren't referenced in rst. I guess I'll have to look at making my own extension for this. Blast. -----Original Message----- From: sphinx-dev@googlegroups.com [mailto:sphinx-...@googlegroups.com] On Behalf Of Guenter Milde Sent: 15 September 2010 08:00 To: sphinx-dev@googlegroups.com Subject: [sphinx-dev] Re: secondary windows or hidden sections in html output On 2010-09-14, Alastair Dent wrote: > I'm used to working with raw html and adding sections of info or > graphics that are only displayed when the user clicks a link or button. > Sometimes it's text that is expanded inline, sometimes a large version > of a graphic. > Is there a way of doing this with rst and Sphinx, or do I need to > write an extension? If you do it in HTML, it can be done with reStruturedText. rst has a link syntax and also a syntax to have a graphic linking somewhere. http://docutils.sourceforge.net/docs/user/rst/quickref.html If you do it in some script, you can keep using raw HTML (in a raw directive or a custom role). Günter -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en. -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.