Skip to content

Commit dd5abd6

Browse files
committed
Format Markdown admonition lists for Prettier 3.4
Prettier 3.4 removes extra spaces after unordered list line prefixes. https://prettier.io/blog/2024/11/26/3.4.0#markdown Prettier 3.4 (and below, apparently) do not appear to format unordered lists within admonitions at all. This commit will manually update the formatting of unordered lists to match Prettier 3.4 style.
1 parent 8907eae commit dd5abd6

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎docs/docker.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,8 @@ A _Dockerfile_ equivalent to the Alpine Linux example might look like the follow
418418

419419
For more info, see:
420420

421-
- [br3ndonland/inboard#54](https://github.com/br3ndonland/inboard/pull/54)
422-
- [BuildKit docs: Dockerfile frontend syntaxes](https://github.com/moby/buildkit/blob/HEAD/frontend/dockerfile/docs/reference.md)
423-
- [BuildKit releases: dockerfile/1.4.0](https://github.com/moby/buildkit/releases/tag/dockerfile%2F1.4.0)
424-
- [Docker blog 2021-07-30: Introduction to heredocs in Dockerfiles](https://www.docker.com/blog/introduction-to-heredocs-in-dockerfiles/)
425-
- [Docker docs: BuildKit](https://docs.docker.com/build/buildkit/)
421+
- [br3ndonland/inboard#54](https://github.com/br3ndonland/inboard/pull/54)
422+
- [BuildKit docs: Dockerfile frontend syntaxes](https://github.com/moby/buildkit/blob/HEAD/frontend/dockerfile/docs/reference.md)
423+
- [BuildKit releases: dockerfile/1.4.0](https://github.com/moby/buildkit/releases/tag/dockerfile%2F1.4.0)
424+
- [Docker blog 2021-07-30: Introduction to heredocs in Dockerfiles](https://www.docker.com/blog/introduction-to-heredocs-in-dockerfiles/)
425+
- [Docker docs: BuildKit](https://docs.docker.com/build/buildkit/)

‎docs/environment.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ ENV APP_MODULE="package.custom.module:api" WORKERS_PER_CORE="2"
127127

128128
!!! note
129129

130-
- The default number of workers is the number of CPU cores multiplied by the value of the environment variable `WORKERS_PER_CORE` (which defaults to 1). On a machine with only 1 CPU core, the default minimum number of workers is 2 to avoid poor performance and blocking, as explained in the release notes for [tiangolo/uvicorn-gunicorn-docker 0.3.0](https://github.com/tiangolo/uvicorn-gunicorn-docker/releases/tag/0.3.0).
131-
- If both `MAX_WORKERS` and `WEB_CONCURRENCY` are set, the least of the two will be used as the total number of workers.
132-
- If either `MAX_WORKERS` or `WEB_CONCURRENCY` are set to 1, the total number of workers will be 1, overriding the default minimum of 2.
130+
- The default number of workers is the number of CPU cores multiplied by the value of the environment variable `WORKERS_PER_CORE` (which defaults to 1). On a machine with only 1 CPU core, the default minimum number of workers is 2 to avoid poor performance and blocking, as explained in the release notes for [tiangolo/uvicorn-gunicorn-docker 0.3.0](https://github.com/tiangolo/uvicorn-gunicorn-docker/releases/tag/0.3.0).
131+
- If both `MAX_WORKERS` and `WEB_CONCURRENCY` are set, the least of the two will be used as the total number of workers.
132+
- If either `MAX_WORKERS` or `WEB_CONCURRENCY` are set to 1, the total number of workers will be 1, overriding the default minimum of 2.
133133

134134
### Worker timeouts
135135

0 commit comments

Comments
 (0)