charlesdevandiere / xmldoc2md

Tool to generate markdown from C# XML documentation
https://charlesdevandiere.github.io/xmldoc2md/
MIT License
47 stars 18 forks source link

Front matter #36

Open ThomasNieto opened 2 months ago

ThomasNieto commented 2 months ago

In the just-the-docs template there is configuration through front matter. Is it possible to add in a parameter to add in front matter. In my use case there is a parent front matter property that defines the parent page. I manually added that to all of the pages but I expect that will get wiped out when I regenerate the markdown.

Example source Example webpage

---
parent: API
---

Also on the index.md page has a different front matter so maybe two parameters are needed.

Example source Example webpage

---
title: API
has_children: true
nav_order: 3
has_toc: false
---
charlesdevandiere commented 1 month ago

This is very interesting, thank you for your suggestion. I would probably implement it in 2025.