2021-03-22 17:20:33 +00:00
|
|
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
|
# Licensed under the MIT License.
|
|
|
|
|
|
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
#
|
|
|
|
|
# Configuration file for the Sphinx documentation builder.
|
|
|
|
|
|
|
|
|
|
# -- Project information -----------------------------------------------------
|
|
|
|
|
|
2022-04-26 16:35:16 +00:00
|
|
|
project = "ORTModule"
|
|
|
|
|
copyright = "2018-2021, Microsoft"
|
|
|
|
|
author = "Microsoft"
|
|
|
|
|
version = "0.1" # TODO: Should use `onnxruntime.__version__` instead?
|
2021-03-22 17:20:33 +00:00
|
|
|
release = version
|
|
|
|
|
|
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
|
|
|
|
2022-04-26 16:35:16 +00:00
|
|
|
extensions = ["sphinx.ext.autodoc", "sphinx.ext.intersphinx"]
|
|
|
|
|
templates_path = ["_templates"]
|
2021-03-22 17:20:33 +00:00
|
|
|
exclude_patterns = []
|
2022-04-26 16:35:16 +00:00
|
|
|
autoclass_content = "both"
|
2021-03-22 17:20:33 +00:00
|
|
|
|
|
|
|
|
# -- Options for HTML output -------------------------------------------------
|
|
|
|
|
|
2022-04-26 16:35:16 +00:00
|
|
|
html_theme = "sphinx_rtd_theme"
|
|
|
|
|
html_static_path = ["_static"]
|
2021-03-22 17:20:33 +00:00
|
|
|
|
|
|
|
|
# -- Options for intersphinx extension ---------------------------------------
|
|
|
|
|
|
2021-05-17 16:55:49 +00:00
|
|
|
intersphinx_mapping = {
|
2022-04-26 16:35:16 +00:00
|
|
|
"python": ("https://docs.python.org/3", None),
|
|
|
|
|
"numpy": ("https://numpy.org/doc/stable", None),
|
|
|
|
|
"torch": ("https://pytorch.org/docs/stable/", None),
|
2021-05-17 16:55:49 +00:00
|
|
|
}
|