public void Generate(SitePaths paths) { FileSystem.EnsureDirectory(paths.SitePath); FileSystem.EnsureDirectory(paths.AssetsPath); FileSystem.EnsureDirectory(paths.OutputPath); FileSystem.EnsureDirectory(paths.PagesPath); }
public Converter(ConverterOptions options) { Guard.NotNull(options, "options"); Guard.NotNullOrEmpty(options.SitePath, "options.SitePath"); Options = options; Paths = new SitePaths(options.SitePath); }