I use PyCharm to debug Sphinx-related projects:
I copy the sphinx runner script:
# -*- coding: utf-8 -*-
import re
import sys
from sphinx.cmd.build import main
if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw?|\.exe)?$", "", sys.argv[0])
sys.exit(main())
And then I run it in the debugger with the options -b html -d
_build/doctrees . _build/html
Finally, I set the working directory to the location of my docs (where the
Makefile resides)
--
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/68763ba0-25b1-4cc8-83ff-343345d0edd2%40googlegroups.com.