doc/sphinx/conf.py (21 lines of code) (raw):

# Configuration file for the Sphinx documentation builder. # # For the full list of built-in configuration values, see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information project = 'Azure Storage Connector for PyTorch' copyright = '2025, Microsoft' # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration extensions = [] templates_path = ['_templates'] exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] language = 'Python' # -- Options for HTML output ------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output html_theme = 'furo' extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx_copybutton', ] intersphinx_mapping = { 'python': ('https://docs.python.org/3', None), 'torch': ('https://pytorch.org/docs/stable/', None), # Matches the mapping the Azure Python SDKs use for cross-referencing with other SDKs. # These URLs have objects.inv files that Sphinx can use to resolve auto-doc class references # while the learn.microsoft.com version appear to not host this file. 'azure-core': ('https://azuresdkdocs.z19.web.core.windows.net/python/azure-core/latest/', None), 'azure-identity': ('https://azuresdkdocs.z19.web.core.windows.net/python/azure-identity/latest/', None), 'pillow': ('https://pillow.readthedocs.io/en/stable/', None), } autodoc_typehints = 'both' autodoc_typehints_description_target = 'documented_params'