private void BuildIndexPage() { var index = new ScottPlot.Cookbook.Site.IndexPage(CookbookFolder, SourceFolder); index.AddLinksToRecipes(); index.SaveAs("index.html", null); Console.WriteLine($"View Cookbook: {System.IO.Path.GetFullPath(CookbookFolder)}/index.html"); }
private void BuildPlotApiPage() { var index = new ScottPlot.Cookbook.Site.IndexPage(CookbookFolder, SourceFolder); index.AddPlotApiTableWithoutPlottables(XD, PlotMethods); index.AddPlotApiTablePlottables(XD, PlotMethods); index.AddPlotApiDetails(XD, PlotMethods); index.SaveAs("api-plot.html", "Plot API"); }
private void BuildPlottableApiPages() { foreach (Type plottableType in Locate.GetPlottableTypes()) { var index = new ScottPlot.Cookbook.Site.IndexPage(CookbookFolder, SourceFolder); index.AddPlottableDetails(XD, plottableType); string typeName = Locate.TypeName(plottableType); string typeUrl = Locate.TypeName(plottableType, urlSafe: true); index.SaveAs($"api-plottable-{typeUrl}.html", typeName); } }
private void BuildIndexPage() { var index = new ScottPlot.Cookbook.Site.IndexPage(CookbookFolder, SourceFolder); // add recipes index.AddLinksToRecipes(); // add API tables index.AddPlotApiTableWithoutPlottables(XD, PlotMethods); index.AddPlotApiTablePlottables(XD, PlotMethods); index.AddPlottableApiTable(XD); index.SaveAs("index.html", null); Console.WriteLine($"View Cookbook: {System.IO.Path.GetFullPath(CookbookFolder)}/index.html"); }