コード例 #1
0
        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");
        }
コード例 #2
0
ファイル: Generate.cs プロジェクト: ctxQ/ScottPlot
        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");
        }