Hi, 1. Sphinx does not filter envvars. It might be related with GNU make. How about invoke sphinx-build command directly?
2. If you've used autodoc, autodoc_mock_imports will help you. Thanks, Takeshi KOMIYA 2017-09-04 13:20 GMT+09:00 Bruce Sharpe <[email protected]>: > One of my modules imports TensorFlow. This causes a zillion messages like > >> Level 1:tensorflow:Registering GrowTree ... > > > to scroll down my screen when I generate the docs. > > 1. The TensorFlow messages can be controlled by an environment variable. > That variable is set, but Sphinx seems to launch its own shell to do its > work. Is there a way to pass an environment variable to Sphinx so it uses > it? > > 2. Alternatively, is there a way to tell Sphinx to just skip importing some > specified modules? > > -- > 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. -- 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.
