I think I have observed such a behavior when the python code sample
is, for example valid python 2.6 but not python 2.4, which is the
version of python I use to compile the docs.

It seemed that sphinx try to compile the sample to decide it it is
valid python, and if not the code doesn't get coloured.

I'm not 100% sure of this but if it can help...

Christophe de Vienne

2008/10/19 Bruce Eckel <[EMAIL PROTECTED]>:
> Not really clear why it works most of the time, and not some of the time.
> In particular, you see examples of this in the first and second chapters.
> I've attached the source files; all you need to do is "make html"
>
> --
> Bruce Eckel
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to