This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Jekyll.
Summary
Sets the local server port to listen on.
- Assembly
- Cake
.Jekyll .dll - Namespace
- Cake
.Jekyll .Commands .Serve - Containing Type
- Jekyll
Serve Settings Extensions
Syntax
public static JekyllServeSettings SetPort(this JekyllServeSettings settings, Nullable<int> port)
Parameters
Name | Type | Description |
---|---|---|
settings | JekyllServeSettings | The settings. |
port | Nullable |
The local server port to listen on. |
Return Value
Type | Description |
---|---|
JekyllServeSettings | The settings instance with updated with the port provided. |