diff --git a/ChartTools/Events/GlobalEvent.cs b/ChartTools/Events/GlobalEvent.cs
index fb102f75..744f0488 100644
--- a/ChartTools/Events/GlobalEvent.cs
+++ b/ChartTools/Events/GlobalEvent.cs
@@ -29,11 +29,12 @@ public GlobalEvent(uint position, string type, string? argument = null) : base(p
/// Reads global events from a file.
///
/// Path of the file
- public static IEnumerable FromFile(string path) => ExtensionHandler.Read>(path, (".chart", ChartFile.ReadGlobalEvents));
+ public static IEnumerable FromFile(string path) => ExtensionHandler.Read>(path, (".chart", p => ChartFile.ReadGlobalEvents(p));
+
///
/// Reads global events from a file asynchronously using multitasking.
///
///
/// Token to request cancellation
- public static async Task> FromFileAsync(string path, CancellationToken cancellationToken) => await ExtensionHandler.ReadAsync>(path, (".chart", path => ChartFile.ReadGlobalEventsAsync(path, cancellationToken)));
+ public static async Task> FromFileAsync(string path, CancellationToken cancellationToken) => await ExtensionHandler.ReadAsync(path, (".chart", path => ChartFile.ReadGlobalEventsAsync(path, cancellationToken)));
}
diff --git a/Docs/Program.cs b/Docs/Program.cs
index 2c377df5..99e341fa 100644
--- a/Docs/Program.cs
+++ b/Docs/Program.cs
@@ -9,7 +9,7 @@
Console.WriteLine("------- Building site with DocFx -------");
// TODO Only build api if the assembly is more recent than the last site build
-//await DotnetApiCatalog.GenerateManagedReferenceYamlFiles(config);
+await DotnetApiCatalog.GenerateManagedReferenceYamlFiles(config);
await Docset.Build(config);