def METHOD_NAME(self):
    """Create Sphinx app."""
    # Avoid warnings about re-registration, see:
    # https://github.com/sphinx-doc/sphinx/issues/5038
    with self.create_sphinx_app_context() as app:
        pass
    return app