Skip to content

Commit 54bfeca

Browse files
authored
Merge branch 'master' into master
2 parents ebc80bc + 6803c92 commit 54bfeca

File tree

10 files changed

+951
-831
lines changed

10 files changed

+951
-831
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ If set to true, string enums and unions will be converted to docgen enum format.
140140

141141
If set to true, every unions will be converted to docgen enum format.
142142

143+
### `shouldSortUnions`: boolean
144+
145+
When used in combination with `shouldExtractValuesFromUnion` or `shouldExtractLiteralValuesFromEnum`, sorts union members in string-sort order when set to true. This is useful for ensuring the same order of members every time.
146+
143147
### `skipChildrenPropWithoutDoc`: boolean (default: `true`)
144148

145149
If set to false the docs for the `children` prop will be generated even without an explicit description.

0 commit comments

Comments
 (0)