Hi,

Unfortunately, there are no way to reset them.
Note: It is reported as https://github.com/sphinx-doc/sphinx/issues/2687

Thanks,
Takeshi KOMIYA

2016年9月7日水曜日 17時33分17秒 UTC+9 Andrea Cassioli:
>
> Hi,
> I am trying to call Sphinx directly from Python3. That would simplify my 
> workflow, as I need to make pre and post processing of the docs.
>
> I am trying this way
>
> res = sphinx.build_main(args)
>
> where args is the list of argument.
>
> Now, this works fine, except that I want to run for different set of 
> arguments in a loop, say 
>
> for args in args_list:
>    res = sphinx.build_main(args)
>
>
> The first execution is fine, but the following ones seems to find some 
> global Sphinx environment already set! I see warnings that some of my 
> extensions are already connected. 
>
> Is there a way to reset Sphinx? 
>

-- 
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 https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to