On Thursday, July 24, 2014 1:34:35 PM UTC+2, Jim Easterbrook wrote: > > On 24/07/14 10:39, [email protected] <javascript:> wrote: > > Hi, > > I have Python application (Karrigell) which imports modules written by > > me. I want to autodoc only my modules. > > But my modules use some functions defined in the calling application > > (here Karrigell). > > There I get Python errors from the autodoc extension since Python > > doesn't know these functions. > > How can this be achieved? > > > > Many thanks for a hint, > > I think you might be able to do this by defining dummy functions (with > the right names) in your conf.py.
I have done so but it looks as if conf.py isn't used when autodoc.py is running. I have put a print statement into my function and there is no output. What am I missing? > I've done something similar in one of > my projects to allow autodoc to work without installing some > dependencies: > https://github.com/jim-easterbrook/pywws/blob/master/src/doc/conf.py#L41 > > -- > Jim Easterbrook <http://www.jim-easterbrook.me.uk/> > -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
