]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Update admonitions in docs missing (#11998)
authorSebastián Ramírez <tiangolo@gmail.com>
Mon, 12 Aug 2024 21:47:53 +0000 (16:47 -0500)
committerGitHub <noreply@github.com>
Mon, 12 Aug 2024 21:47:53 +0000 (16:47 -0500)
docs/de/docs/deployment/docker.md
docs/em/docs/deployment/docker.md
docs/en/docs/contributing.md
docs/en/docs/deployment/docker.md
docs/ja/docs/deployment/docker.md
docs/ko/docs/deployment/docker.md
docs/ko/docs/help-fastapi.md
docs/pt/docs/deployment/docker.md
docs/ru/docs/deployment/docker.md
docs/zh/docs/deployment/docker.md
docs/zh/docs/deployment/https.md

index 2186d16c5b430064018b77f662a596a77f1d89b2..c11dc41275f653c863e0a13be34f1599645d5e75 100644 (file)
@@ -205,8 +205,11 @@ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
 
     Die Option `--no-cache-dir` weist `pip` an, die heruntergeladenen Pakete nicht lokal zu speichern, da dies nur benötigt wird, sollte `pip` erneut ausgeführt werden, um dieselben Pakete zu installieren, aber das ist beim Arbeiten mit Containern nicht der Fall.
 
-    !!! note "Hinweis"
-        Das `--no-cache-dir` bezieht sich nur auf `pip`, es hat nichts mit Docker oder Containern zu tun.
+    /// note | Hinweis
+
+    Das `--no-cache-dir` bezieht sich nur auf `pip`, es hat nichts mit Docker oder Containern zu tun.
+
+    ///
 
     Die Option `--upgrade` weist `pip` an, die Packages zu aktualisieren, wenn sie bereits installiert sind.
 
index 6540761ac2fd6a89216d8e29de62664a590964ba..2152f1a0eeed42d9b50a74039c501ccd74261638 100644 (file)
@@ -205,8 +205,11 @@ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
 
      `--no-cache-dir` 🎛 💬 `pip` 🚫 🖊 ⏬ 📦 🌐, 👈 🕴 🚥 `pip` 🔜 🏃 🔄 ❎ 🎏 📦, ✋️ 👈 🚫 💼 🕐❔ 👷 ⏮️ 📦.
 
-    !!! note
-         `--no-cache-dir` 🕴 🔗 `pip`, ⚫️ ✔️ 🕳 ⏮️ ☁ ⚖️ 📦.
+    /// note
+
+    `--no-cache-dir` 🕴 🔗 `pip`, ⚫️ ✔️ 🕳 ⏮️ ☁ ⚖️ 📦.
+
+    ///
 
      `--upgrade` 🎛 💬 `pip` ♻ 📦 🚥 👫 ⏪ ❎.
 
index e86c34e48a9d3b860c3b0ed75c9f21375a5f67e6..9d6b773f7c2d15050cd110abd0363035efdadbdc 100644 (file)
@@ -458,9 +458,9 @@ Serving at: http://127.0.0.1:8008
 
 * Do not change anything enclosed in "``" (inline code).
 
-* In lines starting with `===` or `!!!`, translate only the ` "... Text ..."` part. Leave the rest unchanged.
+* In lines starting with `///` translate only the ` "... Text ..."` part. Leave the rest unchanged.
 
-* You can translate info boxes like `!!! warning` with for example `!!! warning "Achtung"`. But do not change the word immediately after the `!!!`, it determines the color of the info box.
+* You can translate info boxes like `/// warning` with for example `/// warning | Achtung`. But do not change the word immediately after the `///`, it determines the color of the info box.
 
 * Do not change the paths in links to images, code files, Markdown documents.
 
index 6140b1c429c8bd703388b4ff5624cfcb415931a9..253e25fe5d9cbd21c1deb2dd2ea2135d6c41c793 100644 (file)
@@ -202,8 +202,11 @@ CMD ["fastapi", "run", "app/main.py", "--port", "80"]
 
     The `--no-cache-dir` option tells `pip` to not save the downloaded packages locally, as that is only if `pip` was going to be run again to install the same packages, but that's not the case when working with containers.
 
-    !!! note
-        The `--no-cache-dir` is only related to `pip`, it has nothing to do with Docker or containers.
+    /// note
+
+    The `--no-cache-dir` is only related to `pip`, it has nothing to do with Docker or containers.
+
+    ///
 
     The `--upgrade` option tells `pip` to upgrade the packages if they are already installed.
 
index c294ef88d112583f7c267e2da111afeb6ef7e2cc..53fc851f1e9a12e02adba2d1782a9cf9317e7cf8 100644 (file)
@@ -213,8 +213,11 @@ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
 4. 要件ファイルにあるパッケージの依存関係をインストールします
     `--no-cache-dir` オプションはダウンロードしたパッケージをローカルに保存しないように `pip` に指示します。これは、同じパッケージをインストールするために `pip` を再度実行する場合にのみ有効ですが、コンテナで作業する場合はそうではないです。
 
-    !!! note
-        `--no-cache-dir`は`pip`に関連しているだけで、Dockerやコンテナとは何の関係もないです。
+    /// note
+
+    `--no-cache-dir`は`pip`に関連しているだけで、Dockerやコンテナとは何の関係もないです。
+
+    ///
 
     `--upgrade` オプションは、パッケージが既にインストールされている場合、`pip` にアップグレードするように指示します。
 
index edf10b318383491ec86212651b9d34afe24628af..502a36fc05343454ae309607931ec5513e7217b9 100644 (file)
@@ -205,8 +205,11 @@ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
 
     `--no-cache-dir` 옵션은 `pip`에게 다운로드한 패키지들을 로컬 환경에 저장하지 않도록 전달합니다. 이는 마치 같은 패키지를 설치하기 위해 오직 `pip`만 다시 실행하면 될 것 같지만, 컨테이너로 작업하는 경우 그렇지는 않습니다.
 
-    !!! note "노트"
-        `--no-cache-dir` 는 오직 `pip`와 관련되어 있으며, 도커나 컨테이너와는 무관합니다.
+    /// note | 노트
+
+    `--no-cache-dir` 는 오직 `pip`와 관련되어 있으며, 도커나 컨테이너와는 무관합니다.
+
+    ///
 
     `--upgrade` 옵션은 `pip`에게 설치된 패키지들을 업데이트하도록 합니다.
 
index 7c3b15d3395c8ff390e55262b6bdf03dc928fd36..932952b4a9c2878176cc2c8116af84729944f478 100644 (file)
 
   👥 [디스코드 채팅 서버](https://discord.gg/VQjSZaeJmf) 👥 에 가입하고 FastAPI 커뮤니티에서 다른 사람들과 어울리세요.
 
-  !!! tip 질문이 있는 경우, [GitHub 이슈 ](https://github.com/fastapi/fastapi/issues/new/choose) 에서 질문하십시오, [FastAPI 전문가](https://github.com/fastapi/fastapi/blob/master/docs/en/docs/fastapi-people.md#experts) 의 도움을 받을 가능성이 높습니다{.internal-link target=_blank} .
+  /// tip
+
+  질문이 있는 경우, [GitHub 이슈 ](https://github.com/fastapi/fastapi/issues/new/choose) 에서 질문하십시오, [FastAPI 전문가](https://github.com/fastapi/fastapi/blob/master/docs/en/docs/fastapi-people.md#experts) 의 도움을 받을 가능성이 높습니다{.internal-link target=_blank} .
+
+  ///
 
   ```
   다른 일반적인 대화에서만 채팅을 사용하십시오.
index fa1a6b9c2aa9c887cb917bc8968a0deec6bc1e35..df93bac2c4707a68669d69ef55c2ec79eefc42fc 100644 (file)
@@ -205,8 +205,11 @@ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
 
     A opção `--no-cache-dir` diz ao `pip` para não salvar os pacotes baixados localmente, pois isso só aconteceria se `pip` fosse executado novamente para instalar os mesmos pacotes, mas esse não é o caso quando trabalhamos com contêineres.
 
-    !!! note
-        `--no-cache-dir` é apenas relacionado ao `pip`, não tem nada a ver com Docker ou contêineres.
+    /// note
+
+    `--no-cache-dir` é apenas relacionado ao `pip`, não tem nada a ver com Docker ou contêineres.
+
+    ///
 
     A opção `--upgrade` diz ao `pip` para atualizar os pacotes se eles já estiverem instalados.
 
index e627d01fe43bb22f460ac006df09a02b57a95c61..9eef5c4d2a6a969012e004b2f957dd8187f29b92 100644 (file)
@@ -207,8 +207,11 @@ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
 
     Опция `--no-cache-dir` указывает `pip` не сохранять загружаемые библиотеки на локальной машине для использования их в случае повторной загрузки. В контейнере, в случае пересборки этого шага, они всё равно будут удалены.
 
-    !!! note "Заметка"
-        Опция `--no-cache-dir` нужна только для `pip`, она никак не влияет на Docker или контейнеры.
+    /// note | Заметка
+
+    Опция `--no-cache-dir` нужна только для `pip`, она никак не влияет на Docker или контейнеры.
+
+    ///
 
     Опция `--upgrade` указывает `pip` обновить библиотеки, емли они уже установлены.
 
index e5f66dba150cace1b6ecf1d66b38cb58d87858bb..f120ebfb8943eae968b8a30e4d492c05af91a960 100644 (file)
@@ -213,8 +213,11 @@ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
 
      `--no-cache-dir` 选项告诉 `pip` 不要在本地保存下载的包,因为只有当 `pip` 再次运行以安装相同的包时才会这样,但在与容器一起工作时情况并非如此。
 
-     !!! note "笔记"
-         `--no-cache-dir` 仅与 `pip` 相关,与 Docker 或容器无关。
+     /// note | 笔记
+
+     `--no-cache-dir` 仅与 `pip` 相关,与 Docker 或容器无关。
+
+     ///
 
      `--upgrade` 选项告诉 `pip` 升级软件包(如果已经安装)。
 
index e5d66482a7c5b97ee2be21dc7342c5198c3325bf..9c963d587f5ac033bba74983e4445f322ed52a03 100644 (file)
@@ -4,8 +4,11 @@
 
 但实际情况比这复杂得多。
 
-!!!提示
-     如果你很赶时间或不在乎,请继续阅读下一部分,下一部分会提供一个step-by-step的教程,告诉你怎么使用不同技术来把一切都配置好。
+/// note | 提示
+
+如果你很赶时间或不在乎,请继续阅读下一部分,下一部分会提供一个step-by-step的教程,告诉你怎么使用不同技术来把一切都配置好。
+
+///
 
 要从用户的视角**了解 HTTPS 的基础知识**,请查看 <a href="https://howhttps.works/" class="external-link" target="_blank">https://howhttps.works/</a>。