From aad285ec3d2aa639299e3d45d14bf7914f65e0ad Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Sun, 20 Aug 2023 12:21:45 +0100 Subject: Add option to skip re-creating output directory --- README.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 16ffaf6..1518503 100644 --- a/README.md +++ b/README.md @@ -13,13 +13,14 @@ $ docker build -t panulat . The program uses the following environment variables: -| Name | Value | Default | -|-------------------------|-------------------------------------------------------------|----------| -| `PAGES_DIR` | The directory containing Markdown and HTML formatted pages. | `pages` | -| `VIEWS_DIR` | The directory containing templates. | `views` | -| `STATIC_DIR` | The directory containing static files to be copied. | `static` | -| `OUTPUT_DIR` | The output directory for rendered pages. | `build` | -| `WEBSERVER_ENABLED` | If the webserver should start. Used for testing. | `false` | -| `WEBSERVER_AUTOREBUILD` | If pages should be automatically rebuilt when changing. | `true` | -| `WEBSERVER_PORT` | The port the webserver should listen on. | `3000` | -| `LOGGING_LEVEL` | How verbose logs should be. | `info` | +| Name | Value | Default | +|----------------------------|-------------------------------------------------------------|----------| +| `PAGES_DIR` | The directory containing Markdown and HTML formatted pages. | `pages` | +| `VIEWS_DIR` | The directory containing templates. | `views` | +| `STATIC_DIR` | The directory containing static files to be copied. | `static` | +| `OUTPUT_DIR` | The output directory for rendered pages. | `build` | +| `SKIP_OUTPUT_DIR_CREATION` | If the output dir should not be deleted and re-created. | `false` | +| `WEBSERVER_ENABLED` | If the webserver should start. Used for testing. | `false` | +| `WEBSERVER_AUTOREBUILD` | If pages should be automatically rebuilt when changing. | `true` | +| `WEBSERVER_PORT` | The port the webserver should listen on. | `3000` | +| `LOGGING_LEVEL` | How verbose logs should be. | `info` | -- cgit v1.2.3-70-g09d2