Docfx2xml 1.0.4

dotnet tool install --global Docfx2xml --version 1.0.4
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local Docfx2xml --version 1.0.4
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Docfx2xml&version=1.0.4
nuke :add-package Docfx2xml --version 1.0.4

Introduction

<code>docfx2xml</code> is a tool for building OpenSquiggly-hosted reference documentation using metadata output from DocFX.

DocFX is an open source static site generated sponsored by Microsoft.

Background

While DocFX is a good tool for what it does, it wasn't designed to produce output that is appropriately formatted for hosting inside of OpenSquiggly. As with other static site generators, it generates full server-side rendered pages designed to be served from a CDN or a static web page hosting site such as GitHub Pages or Netlify.

That doesn't work for OpenSquiggly because these pages contain too much information. They are fully-formed presentation-oriented web pages containing styles, a table of contents, embedded JavaScript code, a lightweight search engine, etc.

What we need for OpenSquiggly is a directory structure containing content-only HTML, Markdown, or XML files. OpenSquiggly then handles dynamically generating the table of contents and indexing of pages for searching, requiring only the content that is to be displayed in the content pane to be contained in the actual files.

XML is a particularly good format for displaying reference documentation inside of OpenSquiggly. Because OpenSquiggly supports XSLT transforms, reference documentation can be written in a semantic-oriented structure, and the associated XSL file can transform it into the final presentation format dynamically.

The DocFX "metadata" process will generate a set of YAML files. While YAML files are good in the sense that they contain semantic structure, since they aren't XML files they can't be transformed using XSLT.

<code>docfx2xml</code> is a tool that transforms the YAML metadata produced by DocFX into a set of XML files that can be hosted and displayed inside of OpenSquiggly.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.4 458 7/23/2021
1.0.3 346 7/22/2021
1.0.2 334 7/22/2021
1.0.1 374 7/21/2021
1.0.0 360 7/19/2021

1.0.0 - Tool for convert docfx .yml files to xml files and save to local path. Xml files for Opensquiggly.com
           1.0.1 - Add xml config data provider, add ConvertConfig.template.xml. Add file logger.
           1.0.2 - Add new cmd verb 'init' for create and save new json and xml config files (if file is not exist), improve exception message for json config file running (when file is not exist)
           1.0.3 - Fix bugs for xml file config.
           1.0.4 - Improve Dependency Injection, improve Exception handling, fix small bugs.