diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2023-08-20 12:21:45 +0100 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2023-08-20 12:21:45 +0100 |
| commit | aad285ec3d2aa639299e3d45d14bf7914f65e0ad (patch) | |
| tree | 20c3d2fbf096fc087dd69a9f45006a5bf279ecac /README.md | |
| parent | 91f013ba3414d530b01fbd5587080c81e4c9a393 (diff) | |
Add option to skip re-creating output directory
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -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` | |
