Skip to content

Commit

Permalink
[NFC] A few whitespace changes to make sure certain columns line up (#…
Browse files Browse the repository at this point in the history
…874)

Co-authored-by: Thibaut Lienart <[email protected]>
  • Loading branch information
DilumAluthge and tlienart authored Aug 29, 2021
1 parent 4dd8ef5 commit 9705a8d
Showing 1 changed file with 22 additions and 23 deletions.
45 changes: 22 additions & 23 deletions src/manager/franklin.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,30 +22,29 @@ Runs Franklin in the current directory.
Keyword arguments:
* `clear=false`: whether to remove any existing output directory
* `verb=false`: whether to display messages
* `port=8000`: the port to use for the local server (should pick a number
between 8000 and 9000)
* `single=false`: whether to run a single pass or run continuously
* `nomess=false`: suppresses all messages (internal use).
* `is_final_pass=false`: whether we're in a "final pass" (if so, links are
fixed in case of a project website, see
[`convert_and_write`](@ref).
* `prerender=false`: whether to pre-render javascript (KaTeX and highlight.js)
* `clear=false`: whether to remove any existing output directory
* `verb=false`: whether to display messages
* `port=8000`: the port to use for the local server (should pick a number
between 8000 and 9000)
* `single=false`: whether to run a single pass or run continuously
* `nomess=false`: suppresses all messages (internal use).
* `is_final_pass=false`: whether we're in a "final pass" (if so, links are
fixed in case of a project website, see
[`convert_and_write`](@ref).
* `prerender=false`: whether to pre-render javascript (KaTeX and highlight.js)
* `no_fail_prerender=true`: whether, in a prerendering phase, ignore errors and
try to produce an output
* `eval_all=false`: whether to force re-evaluation of all code blocks
* `silent=false`: switch this on to suppress all output (including eval
statements).
* `cleanup=true`: whether to clear environment dictionaries, see
[`cleanup`](@ref).
* `on_write(pg, fd_vars)`: callback function after the page is rendered,
passing as arguments the rendered page and the page
variables
* `host="127.0.0.1"`: the host to use for the local server
* `show_warnings=true`: whether to show franklin warnings
* `fail_on_warning=false`: if true, warnings become fatal errors
* `launch=!single`: whether to launch the browser when serving
try to produce an output
* `eval_all=false`: whether to force re-evaluation of all code blocks
* `silent=false`: switch this on to suppress all output (including eval
statements).
* `cleanup=true`: whether to clear environment dictionaries, see
[`cleanup`](@ref).
* `on_write(pg, fd_vars)`: callback function after the page is rendered,
passing as arguments the rendered page and the page
variables
* `host="127.0.0.1"`: the host to use for the local server
* `show_warnings=true`: whether to show franklin warnings
* `launch=!single`: whether to launch the browser when serving
"""
function serve(; clear::Bool = false,
verb::Bool = false,
Expand Down

0 comments on commit 9705a8d

Please sign in to comment.