bypass sphinx conf.py from CLI
fungi at yuggoth.org
Wed Feb 2 22:09:41 UTC 2022
On 2022-02-02 20:49:05 +0000 (+0000), Stone, Ronald wrote:
> The StarlingX docs team is implementing the default
> sphinxcontrib.spelling spelling extension for use from tox via a
> virtualenv set up for this purpose. We do not want
> sphinxcontrib.spelling loaded into other tox jobs that won't use
> it. This means that it cannot be loaded from the standard conf.py.
> Instead I am bypassing conf.py and setting parameters from the
> sphinx-build command in the appropriate tox job:
Have you considered creating a separate doc/source/conf-spelling.py
and passing that via sphinx-build's -c option instead?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 963 bytes
Desc: not available
More information about the openstack-discuss