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
Add subcommand docfx template. You can now docfx template list and docfx template export -A to list and export all the embeded templates!
Add subcommand docfx merge. You can use this subcommand to merge platform from multiple APIs with the same uid
Add two options to build subcommand, --exportRawModel and --exportViewModel. --exportRawModel exports the data model to apply templates, --exportViewModel exports the view model after running template's pre-process scripts.
Add --globalMetadata, and --globalMetadataFile options to build subcommand. These options allow globalMetadata to be loaded from command line in json format or from a JSON file.
Add --fileMetadataFile option to build subcommand. This option allows fileMeatdata to be read from an external JSON file.
Support plugins. You can create your own template with a plugins folder, inside which, you create your own build steps. Refer to @Microsoft.DocAsCode.EntityModel.Plugins.BaseDocumentBuildStep for a sample plugin implementation.
DFM syntax improvements
Support note&div syntax
Support query format in code snippet [!code-<language>[<name>](<codepath><queryoption><queryoptionvalue> "<title>")]
Change xref logic:
If content after @ is wrapped by ' or ", it contains any character including white space
If content after @ is not wrapped by ' or ", it ends when:
line ends
meets whitespaces
line ends with ., ,, ;, :, !, ? and ~
meets 2 times or more ., ,, ;, :, !, ? and ~
Code improvements
Add @Microsoft.DocAsCode.YamlSerialization
This project is based on YamlDotNet. It overrides classes like type converters to improve performance and fix bug existed in YamlDotNet