mirror of
https://github.com/microsoft/autogen.git
synced 2025-07-14 12:31:28 +00:00

* Python host runtime impl * update * ignore proto generated files * move worker runtime to application * Move example to samples * Fix import * fix * update * server client * better shutdown * fix doc conf * add type
67 lines
1.9 KiB
Python
67 lines
1.9 KiB
Python
# 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 = "agnext"
|
|
copyright = "2024, Microsoft"
|
|
author = "Microsoft"
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
|
|
extensions = [
|
|
"sphinx.ext.autodoc",
|
|
"sphinx.ext.autosummary",
|
|
"sphinx.ext.napoleon",
|
|
"sphinxcontrib.apidoc",
|
|
"myst_nb",
|
|
"sphinx.ext.intersphinx",
|
|
]
|
|
|
|
apidoc_module_dir = "../../src/agnext"
|
|
apidoc_output_dir = "reference"
|
|
apidoc_template_dir = "_apidoc_templates"
|
|
apidoc_separate_modules = True
|
|
apidoc_extra_args = ["--no-toc"]
|
|
napoleon_custom_sections = [("Returns", "params_style")]
|
|
apidoc_excluded_paths = ["./application/protos/"]
|
|
|
|
templates_path = []
|
|
exclude_patterns = ["reference/agnext.rst"]
|
|
|
|
autoclass_content = "init"
|
|
|
|
# TODO: incldue all notebooks excluding those requiring remote API access.
|
|
nb_execution_mode = "off"
|
|
|
|
# Guides and tutorials must succeed.
|
|
nb_execution_raise_on_error = True
|
|
nb_execution_timeout = 60
|
|
|
|
myst_heading_anchors = 5
|
|
|
|
# -- Options for HTML output -------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
|
|
|
html_title = "AGNext"
|
|
|
|
html_theme = "furo"
|
|
html_static_path = []
|
|
|
|
html_theme_options = {
|
|
"source_repository": "https://github.com/microsoft/agnext",
|
|
"source_branch": "main",
|
|
"source_directory": "python/docs/src/",
|
|
}
|
|
|
|
autodoc_default_options = {
|
|
"members": True,
|
|
"undoc-members": True,
|
|
}
|
|
|
|
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
|