JekyllCleanSettingsExtensions.

SetSource(JekyllCleanSettings, DirectoryPath) Method

Summary

Sets the Site Source directory, the directory where Jekyll will read files (defaults to `./`). -s, --source DIR

Syntax

public static JekyllCleanSettings SetSource(this JekyllCleanSettings settings, DirectoryPath sourceDirectoryPath)

Parameters

Name Type Description
settings JekyllCleanSettings The settings.
sourceDirectoryPath DirectoryPath The source directory (defaults to `./`).

Return Value

Type Description
JekyllCleanSettings The settings instance with updated with the sourceDirectoryPath provided.