From afaa4c89a1d18439796aaf286235203d0a75faa7 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Tue, 25 Nov 2025 16:35:04 -0800 Subject: [PATCH] Adding inline example of USES_PLUGINS with Cardboard (#3779) --- docs/mods-and-plugins/index.md | 12 ++++++++++++ docs/requirements.txt | 3 +++ 2 files changed, 15 insertions(+) diff --git a/docs/mods-and-plugins/index.md b/docs/mods-and-plugins/index.md index f592f842..7d265633 100644 --- a/docs/mods-and-plugins/index.md +++ b/docs/mods-and-plugins/index.md @@ -27,6 +27,18 @@ There are optional volume paths that can be attached to supply content to be cop `/plugins` : content in this directory is synchronized into `/data/plugins` for server types that use plugins, [as described above](#mods-vs-plugins). For special cases, the source can be changed by setting `COPY_PLUGINS_SRC` and destination by setting `COPY_PLUGINS_DEST`. If using a mod-based loader, such as Forge or Fabric, but a hybrid mod like [Cardboard](https://modrinth.com/mod/cardboard), then set `USES_PLUGINS` to have the automation utilize `/plugins` mount. +!!! example "Using Cardboard plugins with Fabric" + + ```yaml + environment: + EULA: "TRUE" + TYPE: "FABRIC" + MODRINTH_PROJECTS: | + fabric-api + cardboard + USES_PLUGINS: true + ``` + `/mods` : content in this directory is synchronized into `/data/mods` for server types that use mods, [as described above](#mods-vs-plugins). For special cases, the source can be changed by setting `COPY_MODS_SRC` and destination by setting `COPY_MODS_DEST`. diff --git a/docs/requirements.txt b/docs/requirements.txt index a0384078..3a268480 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -3,5 +3,8 @@ mkdocs-autorefs == 1.4.3 mkdocstrings[python] == 0.30.1 mkdocs-literate-nav == 0.6.2 mdx-gh-links == 0.4 +# need to pin for auto reload to work +# see https://github.com/mkdocs/mkdocs/issues/4032 +click==8.2.1 mkdocs-click == 0.9.0 mkdocs-static-i18n == 1.3.0 \ No newline at end of file