JekyllServeSettingsExtensions.

SetSource(JekyllServeSettings, DirectoryPath) Method

Summary

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

Syntax

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

Parameters

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

Return Value

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