diff --git a/.prettierrc b/.prettierrc index f2b97de59..f7d738f21 100644 --- a/.prettierrc +++ b/.prettierrc @@ -10,7 +10,6 @@ "files": ["docs/*.md"], "options": { "tabWidth": 4, - "embeddedLanguageFormatting": "off" } } ] diff --git a/docs/advanced_usage.md b/docs/advanced_usage.md index 1a422d0af..2a001209b 100644 --- a/docs/advanced_usage.md +++ b/docs/advanced_usage.md @@ -532,15 +532,15 @@ installation, you can use volumes to accomplish this: ```yaml services: - # ... - webserver: - environment: - - PAPERLESS_ENABLE_FLOWER - ports: - - 5555:5555 # (2)! # ... - volumes: - - /path/to/my/flowerconfig.py:/usr/src/paperless/src/paperless/flowerconfig.py:ro # (1)! + webserver: + environment: + - PAPERLESS_ENABLE_FLOWER + ports: + - 5555:5555 # (2)! + # ... + volumes: + - /path/to/my/flowerconfig.py:/usr/src/paperless/src/paperless/flowerconfig.py:ro # (1)! ``` 1. Note the `:ro` tag means the file will be mounted as read only. @@ -571,11 +571,11 @@ For example, using Docker Compose: ```yaml services: - # ... - webserver: # ... - volumes: - - /path/to/my/scripts:/custom-cont-init.d:ro # (1)! + webserver: + # ... + volumes: + - /path/to/my/scripts:/custom-cont-init.d:ro # (1)! ``` 1. Note the `:ro` tag means the folder will be mounted as read only. This is for extra security against changes @@ -819,9 +819,9 @@ If using docker, you'll need to add the following volume mounts to your `docker- ```yaml webserver: - volumes: - - /home/user/.gnupg/pubring.gpg:/usr/src/paperless/.gnupg/pubring.gpg - - :/usr/src/paperless/.gnupg/S.gpg-agent + volumes: + - /home/user/.gnupg/pubring.gpg:/usr/src/paperless/.gnupg/pubring.gpg + - :/usr/src/paperless/.gnupg/S.gpg-agent ``` For a 'bare-metal' installation no further configuration is necessary. If you diff --git a/docs/api.md b/docs/api.md index cf1614604..ccbde9b22 100644 --- a/docs/api.md +++ b/docs/api.md @@ -125,12 +125,12 @@ File metadata is reported as a list of objects in the following form: ```json [ - { - "namespace": "http://ns.adobe.com/pdf/1.3/", - "prefix": "pdf", - "key": "Producer", - "value": "SparklePDF, Fancy edition" - } + { + "namespace": "http://ns.adobe.com/pdf/1.3/", + "prefix": "pdf", + "key": "Producer", + "value": "SparklePDF, Fancy edition" + } ] ``` diff --git a/docs/setup.md b/docs/setup.md index e8136438c..25e977130 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -105,14 +105,14 @@ steps described in [Docker setup](#docker_hub) automatically. ```yaml ports: - - 8000:8000 + - 8000:8000 ``` Replace the part BEFORE the colon with a port of your choice: ```yaml ports: - - 8010:8000 + - 8010:8000 ``` Don't change the part after the colon or edit other lines that @@ -222,7 +222,7 @@ steps described in [Docker setup](#docker_hub) automatically. ```yaml webserver: - image: ghcr.io/paperless-ngx/paperless-ngx:latest + image: ghcr.io/paperless-ngx/paperless-ngx:latest ``` and replace it with a line that instructs Docker Compose to build @@ -230,8 +230,8 @@ steps described in [Docker setup](#docker_hub) automatically. ```yaml webserver: - build: - context: . + build: + context: . ``` 4. Follow steps 3 to 8 of [Docker Setup](#docker_hub). When asked to run diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 8deeea7c2..6418b82ba 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -127,10 +127,10 @@ change in the `docker-compose.yml` file: # The gotenberg chromium route is used to convert .eml files. We do not # want to allow external content like tracking pixels or even javascript. command: - - 'gotenberg' - - '--chromium-disable-javascript=true' - - '--chromium-allow-list=file:///tmp/.*' - - '--api-timeout=60' + - 'gotenberg' + - '--chromium-disable-javascript=true' + - '--chromium-allow-list=file:///tmp/.*' + - '--api-timeout=60' ``` ## Permission denied errors in the consumption directory