JekyllDoctorSettingsExtensions.

SetSource(JekyllDoctorSettings, DirectoryPath) Method

Summary

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

Syntax

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

Parameters

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

Return Value

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