On Wednesday, November 9, 2011, Manuel Bastioni <mbasti...@gmail.com> wrote: > Hi, > I'm the admin of the open source project makehuman ( http://www.makehuman.org). > We are going to use Sphinx (thanks for it guys!) to document our software. > It works fine in linux, but our windows developers have a problem with > highlights. > Pygments is correctly installed. The code manually included in the rst > pages is correctly highlighted. > The problem is about the "source code" automatically build from the > python files. It has not highlight. > I've examined the html of generated pages: there are no "span" tags, > the code is just a text block. > > The Sphinx files are here: > > http://code.google.com/p/makehuman/source/browse/#svn%2Ftrunk%2Fmakehuman%2Fdocs
>From what I skimmed of your source reST files, you are simply using the literal directive (::) rather than Sphinx' Pygments-enable .. source-code:: {lang} directive. More details can be found in Sphinx' directives documentation. Hope that helps. -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@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.