You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alternatively, if the current version of the docfx tool doesn't recognize a property specified in the docfx.json file, or if it rejects the syntax of a property, it should output a warning on the command line when it builds the site.
https://json.schemastore.org/docfx.json should be maintained, so that editing a docfx.json file in a modern editor (Visual Studio) helps the author to find the right syntax without trial-and-error.
I've confirmed "enumSortOrder": "declaringOrder" settings works as expected on both mref/apipage output formats.
(Environment: Windows + docfx v2.78.2)
If problems remain.
Please provide reproducible files for investigation.
Describe the bug
Enum values are always shown in alphabetical order, regardless of the requested order in docfx.json.
To Reproduce
Steps to reproduce the behavior:
docfx.json
file:"enumSortOrder": "declaringOrder"
"enumSortOrder": "DeclaringOrder"
"EnumSortOrder": "declaringOrder"
"EnumSortOrder": "DeclaringOrder"
Expected behavior
Context (please complete the following information):
Additional context
This PR, merged August 2023:
...purports to fix this issue from December 2017:
The text was updated successfully, but these errors were encountered: