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

            Options = options;

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

            Options = options;

            Paths = new SitePaths(options.SitePath);
        }