File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 "sphinxcontrib.spelling" ,
2727 "sphinxcontrib.autohttp.flask" ,
2828 "sphinx_toolbox.more_autodoc.autoprotocol" ,
29- "enum_tools.autoenum" ,
3029]
3130
31+ # Required by sphinx-toolbox 4.2.0rc1 for compatibility with Sphinx 9.
32+ # See https://github.com/sphinx-toolbox/sphinx-toolbox/issues/201#issuecomment-4313483053.
33+ autodoc_use_legacy_class_based = True
34+
3235templates_path = ["_templates" ]
3336source_suffix = ".rst"
3437master_doc = "index"
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ API Reference
2525 :undoc-members:
2626 :exclude-members: to_dict, from_dict, not_deleted_targets
2727
28- .. autoenum :: mock_vws.states.States
28+ .. autoclass :: mock_vws.states.States
2929 :members:
3030 :undoc-members:
3131
32- .. autoenum :: mock_vws.database_type.DatabaseType
32+ .. autoclass :: mock_vws.database_type.DatabaseType
3333 :members:
3434 :undoc-members:
3535
Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ optional-dependencies.dev = [
6161 " doc8==2.0.0" ,
6262 " doccmd==2026.3.26.2" ,
6363 " docker==7.1.0" ,
64- " enum-tools[sphinx]==0.13.0" ,
6564 " freezegun==1.5.5" ,
6665 " furo==2025.12.19" ,
6766 " interrogate==1.7.0" ,
@@ -88,13 +87,13 @@ optional-dependencies.dev = [
8887 # use it to lint shell commands in GitHub workflow files.
8988 " shellcheck-py==0.11.0.1" ,
9089 " shfmt-py==3.12.0.2" ,
91- " sphinx==8.2.3 " ,
90+ " sphinx==9.1.0 " ,
9291 " sphinx-copybutton==0.5.2" ,
9392 " sphinx-lint==1.0.2" ,
9493 " sphinx-paramlinks==0.6" ,
9594 " sphinx-pyproject==0.3.0" ,
9695 " sphinx-substitution-extensions==2026.1.12" ,
97- " sphinx-toolbox==4.1.2 " ,
96+ " sphinx-toolbox==4.2.0rc1 " ,
9897 " sphinxcontrib-httpdomain==2.0.0" ,
9998 " sphinxcontrib-spelling==8.0.2" ,
10099 " sybil==10.0.1" ,
@@ -427,6 +426,7 @@ ignore_names = [
427426 " autoclass_content" ,
428427 " autoclass_content" ,
429428 " autodoc_member_order" ,
429+ " autodoc_use_legacy_class_based" ,
430430 " copybutton_exclude" ,
431431 " extensions" ,
432432 " html_show_copyright" ,
You can’t perform that action at this time.
0 commit comments