Skip to content

Commit

Permalink
Update User Guide to add option -a <address>
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiu Fong Lam committed Feb 8, 2024
1 parent 401bc37 commit 813a0e2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/userGuide/cliCommands.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Usage: markbind <command>

**Description:** Does the following steps:
1. Builds the site and puts the generated files in a directory named `_site`.
1. Starts a web server instance locally and makes the site available at `http://127.0.0.1:8080`.
1. Starts a web server instance locally and makes the site available at `http://127.0.0.1:8080` by default.
1. Opens a <trigger trigger="click" for="modal:cliCommands-livePreview">live preview</trigger> of the website.

<modal large header="Live Preview" id="modal:cliCommands-livePreview">
Expand Down Expand Up @@ -124,9 +124,11 @@ The caveat is that not building all pages during the initial process, or not reb
* `-f`, `--force-reload`<br>
Force live reload to process all files in the site, instead of just the relevant files. This option is useful when you are modifying a file that is not a file type monitored by the <trigger trigger="click" for="modal:cliCommands-livePreview">live preview</trigger> feature.

* `-p <port>`, `--port <port>`<br>
Serve the website in the specified port.
* `-a <address>`, `--address <address>`<br>
Specify the server address/host (Default is 127.0.0.1).

* `-p <port>`, `--port <port>`<br>
Serve the website in the specified port (Default is 8080).

{{ icon_examples }}
* `markbind serve` : Serves the site from the current working directory.
Expand Down

0 comments on commit 813a0e2

Please sign in to comment.