/// <summary> /// Updates the Wiki /// </summary> public static void UpdateWiki(Hg wiki, Hg samples, string releaseNotes, string zipDir) { // Make the changes. CommandLine.WriteAction("Updating 'APILibraries.wiki' ..."); new APILibrariesPage(samples).InsertIntoFile(Path.Combine(wiki.WorkingDirectory, "APIs.wiki")); if (releaseNotes != null) { CommandLine.WriteAction("Updating 'Downloads.wiki' ..."); new DownloadsPage(releaseNotes, zipDir).InsertIntoFile( Path.Combine(wiki.WorkingDirectory, "Downloads.wiki")); } }
public APILibrariesPage(Hg samples) { Samples = samples; }