From 46b10c61900625a766ec5554b27bd51655687d55 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 6 May 2025 12:03:17 +0000 Subject: [PATCH] Deleted files for issue: Fumadocs --- ct/fumadocs.sh | 72 ------------------------------ frontend/public/json/fumadocs.json | 35 --------------- install/fumadocs-install.sh | 54 ---------------------- 3 files changed, 161 deletions(-) delete mode 100644 ct/fumadocs.sh delete mode 100644 frontend/public/json/fumadocs.json delete mode 100644 install/fumadocs-install.sh diff --git a/ct/fumadocs.sh b/ct/fumadocs.sh deleted file mode 100644 index 72843ce..0000000 --- a/ct/fumadocs.sh +++ /dev/null @@ -1,72 +0,0 @@ -#!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) -# Copyright (c) 2021-2025 community-scripts ORG -# Author: MickLesk (CanbiZ) -# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE -# Source: https://github.com/fuma-nama/fumadoc - -APP="Fumadocs" -var_tags="${var_tags:-documentation}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-2048}" -var_disk="${var_disk:-5}" -var_os="${var_os:-debian}" -var_version="${var_version:-12}" -var_unprivileged="${var_unprivileged:-1}" - -header_info "$APP" -variables -color -catch_errors - -function update_script() { - header_info - check_container_storage - check_container_resources - - if [[ ! -d /opt/fumadocs ]]; then - msg_error "No installation found in /opt/fumadocs!" - exit 1 - fi - - if [[ ! -f /opt/fumadocs/.projectname ]]; then - msg_error "Project name file not found: /opt/fumadocs/.projectname!" - exit 1 - fi - - NODE_VERSION="22" NODE_MODULE="pnpm@latest" install_node_and_modules - PROJECT_NAME=$(/opt/fumadocs/.projectname -msg_ok "Installed Fumadocs" - -msg_info "Creating Service" -cat </etc/systemd/system/fumadocs_$PROJECT_NAME.service -[Unit] -Description=Fumadocs Documentation Server -After=network.target - -[Service] -WorkingDirectory=/opt/fumadocs/$PROJECT_NAME -ExecStart=/usr/bin/pnpm run dev -Restart=always - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now fumadocs_$PROJECT_NAME -msg_ok "Created Service" - -motd_ssh -customize - -msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean -msg_ok "Cleaned"