def client(): app = create_app() with app.test_client() as client: yield client
# Brazil Data Cube STAC Service is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. # """Configuration file for the BDC-STAC module documentation. The documentation system is based on Sphinx. If you want to know more about the options to be used for configuration, please, see: - https://www.sphinx-doc.org/en/master/usage/configuration.html """ import bdc_stac import sphinx_rtd_theme # Create bdc-stac app to initialize `current_app` proxy object on `api.rst`. app = bdc_stac.create_app() # -- Project information ----------------------------------------------------- project = 'BDC-STAC' copyright = '2020, INPE,' author = 'Brazil Data Cube Team' release = bdc_stac.__version__ # -- General configuration --------------------------------------------------- # Enabled Sphinx extensions. extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.napoleon',