From b18c41947ca801cc795ec7e2b72f781362abbb2c Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Sun, 2 Aug 2020 16:55:05 -0400 Subject: [PATCH] Add `LiveServer.jl` as an option for running a local web server (#1383) --- docs/src/man/guide.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/src/man/guide.md b/docs/src/man/guide.md index 549cfc24bd..73edf23026 100644 --- a/docs/src/man/guide.md +++ b/docs/src/man/guide.md @@ -141,8 +141,11 @@ build/ not resolve directory URLs like `foo/` to `foo/index.html` for local files. You have two options: - 1. You can run a local web server out of the `docs/build` directory. If you have Python - installed, you can simple start one with `python3 -m http.server --bind localhost` + 1. You can run a local web server out of the `docs/build` directory. One way to accomplish + this is to install the [LiveServer](https://github.com/asprionj/LiveServer.jl) Julia + package. You can then start the server with + `julia -e 'using LiveServer; cd("docs/build"); serve()'`. Alternatively, if you have Python + installed, you can start one with `python3 -m http.server --bind localhost` (or `python -m SimpleHTTPServer` with Python 2). 2. You can disable the pretty URLs feature by passing `prettyurls = false` with the