File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
.. _conf-reference :
2
2
3
+
4
+ .. autopydantic_model :: asv.schema.ASVConfig
5
+
6
+
3
7
``asv.conf.json `` reference
4
8
===========================
5
9
Original file line number Diff line number Diff line change 18
18
"sphinxcontrib.bibtex" ,
19
19
"sphinx_collapse" ,
20
20
"autoapi.extension" ,
21
+ "sphinxcontrib.autodoc_pydantic" ,
21
22
]
22
23
23
24
autoapi_dirs = ["../../asv" ]
24
25
autoapi_add_toc_entry = True
25
26
autoapi_keep_files = True
26
- autoapi_ignore = ["*_version*" , "*migrations*" ]
27
+ autoapi_ignore = ["*_version*" , "*migrations*" , "*schema*" ]
27
28
autoapi_options = [
28
29
"members" ,
29
30
"undoc-members" ,
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ dependencies = [
33
33
" tabulate" ,
34
34
" virtualenv" ,
35
35
" packaging" ,
36
+ " pydantic" ,
36
37
" importlib-metadata" ,
37
38
" tomli; python_version < '3.11'" ,
38
39
" colorama; platform_system == 'Windows'" ,
@@ -70,6 +71,7 @@ doc = [
70
71
" sphinxcontrib.bibtex" ,
71
72
" setuptools" , # dependency from bibtex
72
73
" sphinxcontrib.katex" ,
74
+ " autodoc-pydantic" ,
73
75
" furo" ,
74
76
]
75
77
dev = [
You can’t perform that action at this time.
0 commit comments