That's weird...because when I called it from the command line, it worked! :)

j

On Wednesday, January 20, 2021 4:01:07 AM AKST Komiya Takeshi wrote:
> Hi,
> 
> `conf.py` is a configuration file for "sphinx-build", not
> "sphinx-apidoc". So it will be never loaded from the command.
> 
> Thanks,
> Takeshi KOMIIYA
> 
> 2021年1月20日(水) 11:31 Joshua J. Kugler <jos...@azariah.com>:
> > I was invoking sphinx-apidoc from the command line, and all was working.
> > 
> > We modified our build system and now sphinx is being called from a python
> > script.  That parts looks like this:
> > 
> > from sphinx.ext.apidoc import main as apidoc_main
> > ...
> > apidoc_main(['-q', '-f', '-e', '-M', '--implicit-namespaces', '-o',
> > 'modules',> 
> >                      os.path.join('..', 'devkit'),
> >                      os.path.join('..', 'devkit', 'tests')])
> > 
> > It generates the API rsts, BUT it doesn't call setup() in conf.py, as
> > evidenced by a print statement I put in there. sphinx-build does call
> > setup.py when called in a similar manner.
> > 
> > What is the best way to debug why setup.py isn't being called by sphinx-
> > apidoc?
> > 
> > j
> > 
> > --
> > Joshua J. Kugler - Fairbanks, Alaska - jos...@azariah.com
> > Azariah Enterprises - Programming and Website Design
> > PGP Key: http://pgp.mit.edu/  ID 0x68108cbb73b13b6a
> > 
> > 
> > --
> > 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 view this discussion on the
> > web visit
> > https://groups.google.com/d/msgid/sphinx-users/3753498.taCxCBeP46%40hosan
> > na.


-- 
Joshua J. Kugler -- Fairbanks, AK
Blogs: http://jjncj.com/blog/ (Family) -- http://joshuakugler.com (Geek)
Philippians 2:9-11


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/13699523.O9o76ZdvQC%40hosanna.

Reply via email to