HomeSoftware Heritage

docs: Fix autodoc generation problem

Description

docs: Fix autodoc generation problem

autodoc tries to import discovered modules independently from their
runtime use.

As swh/deposit/settings holds multiple runtime settings (including
production), this wrongly tries to load the production one.

This only fixes the local html documentation generation. This does
not fix the global html documentation generation though.

Related T1182

Details

Provenance
ardumontAuthored on Sep 27 2018, 11:26 AM
ardumontPushed on Sep 27 2018, 11:29 AM
Parents
rDDEPda91e04fd705: api.converters: Move common convertion code to converters module
Branches
Unknown
Tags
Unknown