Exemple #1
0
 public void Generate(SitePaths paths)
 {
     FileSystem.EnsureDirectory(paths.SitePath);
     FileSystem.EnsureDirectory(paths.AssetsPath);
     FileSystem.EnsureDirectory(paths.OutputPath);
     FileSystem.EnsureDirectory(paths.PagesPath);
 }
Exemple #2
0
 public void Generate(SitePaths paths)
 {
     FileSystem.EnsureDirectory(paths.SitePath);
     FileSystem.EnsureDirectory(paths.AssetsPath);
     FileSystem.EnsureDirectory(paths.OutputPath);
     FileSystem.EnsureDirectory(paths.PagesPath);
 }
Exemple #3
0
        public Converter(ConverterOptions options)
        {
            Guard.NotNull(options, "options");
            Guard.NotNullOrEmpty(options.SitePath, "options.SitePath");

            Options = options;

            Paths = new SitePaths(options.SitePath);
        }
Exemple #4
0
        public Converter(ConverterOptions options)
        {
            Guard.NotNull(options, "options");
            Guard.NotNullOrEmpty(options.SitePath, "options.SitePath");

            Options = options;

            Paths = new SitePaths(options.SitePath);
        }