I have difficulties with figuring how to properly format nested code blocks 
in rst.

For example (original formatting available at: 
https://gist.githubusercontent.com/ra1u/1a951c3783e6dc70db25c494dd38ba99/raw 
)


.. function:: level1
    
    .. code-block:: python
        
        def f1():
    
    .. function:: level2
        
        .. code-block:: python
            
            def f2():
        
        .. function:: level3
            
            .. code-block:: python
                
                def f3():


Makes something that looks like it is wrong for level2 and level3 at level 
'code-block'

Has anyone have idea how to fix this? I am running v 1.4.6 from pip.


-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To post to this group, send email to sphinx-users@googlegroups.com.
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to