JekyllNewSettingsExtensions.

SetSource(JekyllNewSettings, DirectoryPath) Method

Summary

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

Syntax

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

Parameters

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

Return Value

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