From b5e788dadc670331cce577d68550d4a0e226af2d Mon Sep 17 00:00:00 2001 From: Eli Flanagan Date: Wed, 24 Jan 2018 20:31:11 -0500 Subject: [PATCH] doc: remove raw markup macro saw the `:::` macro in hledger-web, hledger-ui so removed. Not sure if that had special behavior in somewhere in the build chain. --- hledger-web/hledger-web.m4.md | 8 ++++---- site/doc/1.5/hledger-ui.md | 4 ++-- site/doc/1.5/hledger-web.md | 5 ++--- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/hledger-web/hledger-web.m4.md b/hledger-web/hledger-web.m4.md index 25718b96e..1c4bd212e 100644 --- a/hledger-web/hledger-web.m4.md +++ b/hledger-web/hledger-web.m4.md @@ -61,20 +61,20 @@ With `--serve`, it just runs the web app without exiting, and logs requests to the console. By default the server listens on IP address 127.0.0.1, accessible only to local requests. -You can use `--host` to change this, eg `--host 0.0.0.0` to listen on all configured addresses. +You can use `--host` to change this, eg `--host 0.0.0.0` to listen on all configured addresses. Similarly, use `--port` to set a TCP port other than 5000, eg if you are running multiple hledger-web instances. You can use `--base-url` to change the protocol, hostname, port and path that appear in hyperlinks, -useful eg for integrating hledger-web within a larger website. +useful eg for integrating hledger-web within a larger website. The default is `http://HOST:PORT/` using the server's configured host address and TCP port (or `http://HOST` if PORT is 80). With `--file-url` you can set a different base url for static files, -eg for better caching or cookie-less serving on high performance websites. +eg for better caching or cookie-less serving on high performance websites. -Note there is no built-in access control (aside from listening on 127.0.0.1 by default). +Note there is no built-in access control (aside from listening on 127.0.0.1 by default). So you will need to hide hledger-web behind an authenticating proxy (such as apache or nginx) if you want to restrict who can see and add entries to your journal. diff --git a/site/doc/1.5/hledger-ui.md b/site/doc/1.5/hledger-ui.md index 9e3b15ff6..4ba518dd7 100644 --- a/site/doc/1.5/hledger-ui.md +++ b/site/doc/1.5/hledger-ui.md @@ -24,7 +24,7 @@ ledger(1). .highslide img {max-width:200px; border:0;} .highslide-caption {color:white; background-color:black;} -::: {style="float:right; max-width:200px; text-align:right;"} +
@@ -34,7 +34,7 @@ ledger(1). -::: +
hledger-ui is hledger's curses-style interface, providing an efficient full-window text UI for viewing accounts and transactions, and some diff --git a/site/doc/1.5/hledger-web.md b/site/doc/1.5/hledger-web.md index c229c112d..323b92421 100644 --- a/site/doc/1.5/hledger-web.md +++ b/site/doc/1.5/hledger-web.md @@ -24,13 +24,12 @@ ledger(1). .highslide img {max-width:200px; border:thin grey solid; margin:0 0 1em 1em; } .highslide-caption {color:white; background-color:black;} -::: {style="float:right; max-width:200px; text-align:right;"} +
-::: - +
hledger-web is hledger's web interface. It starts a simple web application for browsing and adding transactions, and optionally opens it in a web browser window if possible. It provides a more user-friendly