mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
Description: Format all python files under onnxruntime with black and isort. After checking in, we can use .git-blame-ignore-revs to ignore the formatting PR in git blame. #11315, #11316
34 lines
1 KiB
Python
34 lines
1 KiB
Python
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
# Licensed under the MIT License.
|
|
|
|
# -*- coding: utf-8 -*-
|
|
#
|
|
# Configuration file for the Sphinx documentation builder.
|
|
|
|
# -- Project information -----------------------------------------------------
|
|
|
|
project = "ORTModule"
|
|
copyright = "2018-2021, Microsoft"
|
|
author = "Microsoft"
|
|
version = "0.1" # TODO: Should use `onnxruntime.__version__` instead?
|
|
release = version
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
|
|
extensions = ["sphinx.ext.autodoc", "sphinx.ext.intersphinx"]
|
|
templates_path = ["_templates"]
|
|
exclude_patterns = []
|
|
autoclass_content = "both"
|
|
|
|
# -- Options for HTML output -------------------------------------------------
|
|
|
|
html_theme = "sphinx_rtd_theme"
|
|
html_static_path = ["_static"]
|
|
|
|
# -- Options for intersphinx extension ---------------------------------------
|
|
|
|
intersphinx_mapping = {
|
|
"python": ("https://docs.python.org/3", None),
|
|
"numpy": ("https://numpy.org/doc/stable", None),
|
|
"torch": ("https://pytorch.org/docs/stable/", None),
|
|
}
|