#10508: Missing syntax highlighting in view code snippets in formset 
documentation
----------------------------------------------------------------------+-----
          Reporter:  Paul Menzel <paulepan...@users.sourceforge.net>  |         
Owner:  nobody                 
            Status:  new                                              |     
Milestone:  1.1                    
         Component:  Documentation                                    |       
Version:  1.0                    
        Resolution:                                                   |      
Keywords:  syntax error pycamp2009
             Stage:  Accepted                                         |     
Has_patch:  0                      
        Needs_docs:  0                                                |   
Needs_tests:  0                      
Needs_better_patch:  0                                                |  
----------------------------------------------------------------------+-----
Changes (by humitos):

 * cc: humitos (added)
  * keywords:  syntax error => syntax error pycamp2009

Comment:

 I found a good description for this in
 http://bitbucket.org/birkenfeld/sphinx/src/bfda544c3193/doc/markup/code.rst
 (Line 32), it says that if the python code is ''invalid'' it will not be
 highlighted. So, when the code is interpret, the comments are deleted and
 then the code is ''invalid''.

 If you add '''pass''' below the line that contains the comment, it
 disappear. I can't find how to disable this option in Sphinx.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10508#comment:7>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to