This repo holds the markdown files of Steeltoe documentation in the docs
sub-folder and a markdown parser console app. The app converts the markdown to HTML using the Markdig library. It also uses the contents of docs/nav-menu.yaml
to create a toc.json (table of contents).
The pipeline attached to this repo creates an artifact that holds the created files, in a specific folder structure. The MainSite
repository contains the release pipelines that copy the contents of this artifact into the wwwroot folder during deployment.
-
Documentation - All markdown documentation is located under the
docs
folder. These are the files that need to be modified for updates to the documentation section on the website. -
The markdown parser - This converts the markdown files to html and is located under
src
.
- Running the markdown parser
- Usage:
> dotnet run --project src/ParseMD <location-of-markdown-files> <output-html-directory>
- Example Usage:
> dotnet run --project src/ParseMD <location-of-markdown-files> <output-html-directory>
- Usage:
- MainSite - This repository contains the main site builder for steeltoe.io. It pulls in the html from the output of
ParseMD
and adds it to the documentation section of steeltoe.io.