On Mon, Mar 22, 2010 at 2:55 PM, Warren Weckesser <[email protected]> wrote: > Is it possible to prevent the restructured text sources from being included > in the HTML generated by Sphinx? Currently I get the restructured text > copied to a _sources directory, and the HTML files have links to these--the > left side bar has a "Show Source" link under the heading "This Page". I > don't need this, and I'd prefer to eliminate the link in the HTML and to not > copy the restructured text. > > Thanks, > > Warren > > > -- > 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. >
In conf.py set "html_copy_source" to False. Also set "html_show_sourcelink" to False. See http://sphinx.pocoo.org/config.html#options-for-html-output for details. -- 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.
