|
15 | 15 | # -- Project information ----------------------------------------------------- |
16 | 16 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information |
17 | 17 | import agent_framework |
| 18 | +import agent_framework_foundry |
| 19 | +import agent_framework_azure |
18 | 20 |
|
19 | 21 | project = "agent_framework" |
20 | 22 | copyright = "2025, Microsoft" |
|
35 | 37 | extensions = [ |
36 | 38 | "sphinx.ext.napoleon", |
37 | 39 | "sphinx.ext.autodoc", |
| 40 | + "sphinx.ext.coverage", |
38 | 41 | "sphinx.ext.autosummary", |
39 | 42 | "sphinx.ext.todo", |
40 | 43 | "sphinx.ext.viewcode", |
|
50 | 53 | ] |
51 | 54 | suppress_warnings = ["myst.header"] |
52 | 55 |
|
53 | | -napoleon_custom_sections = [("Returns", "params_style")] |
| 56 | +# Napoleon settings |
| 57 | +napoleon_google_docstring = True |
| 58 | +napoleon_use_admonition_for_examples = False |
| 59 | +napoleon_include_init_with_doc = True |
| 60 | +napoleon_custom_sections = [("returns_style", "params_style")] |
54 | 61 |
|
55 | 62 | templates_path = ["_templates"] |
56 | 63 |
|
57 | | -autoclass_content = "class" |
58 | 64 |
|
59 | | -# TODO: incldue all notebooks excluding those requiring remote API access. |
| 65 | +# TODO: include all notebooks excluding those requiring remote API access. |
60 | 66 | nb_execution_mode = "off" |
61 | 67 |
|
62 | 68 | # Guides and tutorials must succeed. |
|
134 | 140 | "doc_path": "python/docs/agent-framework/", |
135 | 141 | } |
136 | 142 |
|
| 143 | +autoclass_content = "both" |
137 | 144 | autodoc_default_options = { |
138 | 145 | "members": True, |
| 146 | + "member-order": "alphabetical", |
139 | 147 | "undoc-members": True, |
| 148 | + "show-inheritance": True, |
| 149 | + "imported-members": True, |
140 | 150 | } |
141 | | - |
| 151 | +autodoc_pydantic_model_show_json = False |
142 | 152 | autodoc_pydantic_model_show_config_summary = False |
143 | 153 | autodoc_pydantic_model_show_json_error_strategy = "coerce" |
144 | 154 | python_use_unqualified_type_names = True |
|
0 commit comments