Skip to content

Commit

Permalink
Merge pull request #58 from ybnd/dev/sphinx-pydantic-bysource
Browse files Browse the repository at this point in the history
Set autodoc_pydantic_model_member_order bysource
  • Loading branch information
ybnd committed Jun 12, 2021
2 parents ce9b992 + d2c0338 commit 2232418
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
autodoc_pydantic_model_signature_prefix = "class"
autodoc_pydantic_validator_list_fields = True
autodoc_pydantic_config_signature_prefix = "class"
autodoc_pydantic_model_member_order = "bysource"


# -- autodoc configuration ---------------------------------------------------
Expand Down

0 comments on commit 2232418

Please sign in to comment.