From 69f5e5e4cdaa4fd82a12691a25c8ae0b80bfb6c2 Mon Sep 17 00:00:00 2001 From: Richard Ponton Date: Tue, 24 Sep 2024 15:10:17 -0700 Subject: [PATCH] Update Version in "Use the NuGet Library" Update the version in the example for "Use the NuGet Library". Add warning to use only the exact version. Add necessary line to example for GenerateManagedReferenceYamlFiles. --- docs/index.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/index.md b/docs/index.md index 5134ddb7a2f..93be1aab117 100644 --- a/docs/index.md +++ b/docs/index.md @@ -98,14 +98,16 @@ jobs: You can also use docfx as a NuGet library: ```xml - - - + + + + ``` Then build a docset using: ```cs +await Docfx.Dotnet.DotnetApiCatalog.GenerateManagedReferenceYamlFiles("docfx.json"); await Docfx.Docset.Build("docfx.json"); ```