Skip to content

Commit

Permalink
Docs: run the metadata stage before building
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Nov 12, 2023
1 parent d34043d commit 81f2550
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ namespace NetVips.Docs
using System;
using System.IO;
using System.Threading.Tasks;
using Docfx.Dotnet;

class Build
{
Expand All @@ -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);
}
Expand Down

0 comments on commit 81f2550

Please sign in to comment.