JekyllBuildSettingsExtensions.

SetSource(JekyllBuildSettings, DirectoryPath) Method

Summary

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

Syntax

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

Parameters

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

Return Value

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