FIX #182 by moving around initialization logic

#152 Merged at 6f417e7
Repository
daveshawley
Branch
new-sphinx
Repository
birkenfeld
Branch
default
Author
  1. Dave Shawley
Reviewers
Description

The autohttp.*.setup functions were detecting whether httpdomain was installed using an attribute on the sphinx application that was removed in recent Sphinx versions. This PR fixes https://bitbucket.org/birkenfeld/sphinx-contrib/issues/182 by calling app.setup_extension('sphinxcontrib.httpdomain') instead.

Comments (6)