Hello, 

i want to develop a custom Sphinx extension, mentioned in another topic 
here.

I want to use the 'raw' node as basis, but sadly the ddocumentation for the 
raw node is not very extensive:
http://docutils.sourceforge.net/docs/ref/doctree.html#raw 

For a start i just want to know how i can debug Sphinx.

I created the following code snippet:

class ConfluencePageDirective(Directive):

    def run(self):
        confluence_text = GetConfluencePage()
        raw_node = nodes.raw(confluence_text) 
#(text='This is the audi confluence plugin!')
        return [raw_node]


Now i want to set a breakpoint at the line:

        raw_node = nodes.raw(confluence_text) 
#(text='This is the audi confluence plugin!')

To look what is inside the raw node.

Which python command must i use, to start a sphinx build, so i can debug to 
this point?

I guess if I run Sphinx over the command line, there is no way to debug.

So far, 
Dirk

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/2e4ff2f9-6b38-40cc-98e5-130dd6cb113a%40googlegroups.com.

Reply via email to