I am trying to build the documentation for ObjectListView. The OLV
docs folder does not have the conf.py file, it's just a folder full
of .rst files.

I don't like to run off command line, so I thought I could do this in
Python. Based on the source code for sphinx-build.py, I created the
following simple file:

---
from sphinx import main

import sys

sys.exit(main("-b html -C -a c:\olvdocs c:\olvhtml") )
---

I have tried several variations of the above line, but the most
frequent result is:

---
Error: Cannot find source directory.
---

Is it impossible to use the main function in Python code. I am hoping
to build a GUI around this, to make my future document-building easier.

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