From 81f25500789f0accb7fcb70a66eb2dfdb0937c46 Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Sun, 12 Nov 2023 17:33:24 +0100 Subject: [PATCH] Docs: run the metadata stage before building --- docs/Build.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/Build.cs b/docs/Build.cs index 634ba282..aef33586 100644 --- a/docs/Build.cs +++ b/docs/Build.cs @@ -3,6 +3,7 @@ namespace NetVips.Docs using System; using System.IO; using System.Threading.Tasks; + using Docfx.Dotnet; class Build { @@ -13,6 +14,7 @@ static async Task Main(string[] args) var currentDirectory = Directory.GetCurrentDirectory(); Directory.SetCurrentDirectory(projectDir); + await DotnetApiCatalog.GenerateManagedReferenceYamlFiles("docfx.json"); await Docfx.Docset.Build("docfx.json"); Directory.SetCurrentDirectory(currentDirectory); }