/// <caption> /// This is a caption for test method..... /// </caption> /// <description> ///This is a description /// </description>
Hi, I am new to DocFx and trying to generate static website from the markdown files (currently on local machine but soon to be in VSTS Git Repo). I am able to generate static website (simple), but am not able to add Create Date / Last Updated Date into the generated HTML. What is the best approach to achieve this?
Just to add information about my current structure in md files. I have the following section at the start of the file...
title: Getting started with Web Apps description: author: Girish Zalke cust.date: 10/06/2019 cust.topic: Getting started article helpviewer_keywords: Getting Started, Web Apps
I'd like the cust.date to end up in the generated HTML file as Created Date or Last Updated Date.
I will have a similar requirement for author but I guess I could follow the same solution as that for the cust.date.
exportViewModelto examine how your data added to model, and to feed them into template.
IEnumerable<FileModel> Prebuild(ImmutableList<FileModel> models, IHostService host). Your plugins's attribute should be
Prebuildmethod now. I've already figured out how to extract the YAML header for a conceptual document via host.Markup().YamlHeader, but global/file metadata is something I'm not super sure about