From fa80574eb7cae1c39da149f642804f9479ec55b1 Mon Sep 17 00:00:00 2001 From: ifurther <55025025+ifurther@users.noreply.github.com> Date: Sun, 28 Jul 2024 03:46:04 +0000 Subject: [PATCH] external-renders: add agrs `--global` for pipx (#33) Add `--global` to fix jupyter to /usr/local/bin Reviewed-on: https://gitea.com/gitea/docs/pulls/33 Reviewed-by: yp05327 Reviewed-by: Lunny Xiao Co-authored-by: ifurther <55025025+ifurther@users.noreply.github.com> Co-committed-by: ifurther <55025025+ifurther@users.noreply.github.com> --- docs/administration/external-renderers.md | 2 +- .../version-1.22/administration/external-renderers.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/administration/external-renderers.md b/docs/administration/external-renderers.md index 0fa7a98c..e25ff369 100644 --- a/docs/administration/external-renderers.md +++ b/docs/administration/external-renderers.md @@ -32,7 +32,7 @@ COPY custom/app.ini /data/gitea/conf/app.ini RUN apk --no-cache add asciidoctor freetype freetype-dev gcc g++ libpng libffi-dev pandoc python3-dev py3-pyzmq pipx # install any other package you need for your external renderers -RUN pipx install jupyter docutils --include-deps +RUN pipx install jupyter docutils --include-deps --global # add above any other python package you may need to install ``` diff --git a/i18n/zh-cn/docusaurus-plugin-content-docs/version-1.22/administration/external-renderers.md b/i18n/zh-cn/docusaurus-plugin-content-docs/version-1.22/administration/external-renderers.md index e6c6d116..ae941584 100644 --- a/i18n/zh-cn/docusaurus-plugin-content-docs/version-1.22/administration/external-renderers.md +++ b/i18n/zh-cn/docusaurus-plugin-content-docs/version-1.22/administration/external-renderers.md @@ -40,7 +40,7 @@ COPY custom/app.ini /data/gitea/conf/app.ini RUN apk --no-cache add asciidoctor freetype freetype-dev gcc g++ libpng libffi-dev pandoc python3-dev py3-pyzmq pipx # 安装其他您需要的外部渲染器的软件包 -RUN pipx install jupyter docutils --include-deps +RUN pipx install jupyter docutils --include-deps --global # 在上面添加您需要安装的任何其他 Python 软件包 ```