#340 Provide defaults to allow importing the app when building the docs
Merged by abompard. Opened by abompard.
abompard/fedora-hubs fix-docs-build  into  develop

Download 340.patch

I wanted to build the docs for the views.utils module, but it has to import the Flask app and it crashed with a KeyError because the fedmsg config could not be found. The reason is that the docs are built with the working directory set to docs, thus fedmsg.config can't find the fedmsg.d directory.

Ideally, we would be able to set an environment variable that would tell fedmsg.config to look at an additional directory, but for the moment this commit works.

LGTM.

Pull-Request has been merged by abompard

Metadata