bypass sphinx conf.py from CLI

Jeremy Stanley 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?
-- 
Jeremy Stanley
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20220202/3ace73da/attachment.sig>


More information about the openstack-discuss mailing list