From 82bf1987cf4e16cc4cb3708d15175ba85c7ad4bc Mon Sep 17 00:00:00 2001 From: ZenithalHourlyRate Date: Tue, 26 Oct 2021 00:16:32 +0800 Subject: [PATCH] options: cleanup Ref to 6fdc2990d --- _data/options.yml | 7 ------- static/js/help.es6 | 3 --- 2 files changed, 10 deletions(-) diff --git a/_data/options.yml b/_data/options.yml index d0cfaa8..7468f49 100644 --- a/_data/options.yml +++ b/_data/options.yml @@ -242,8 +242,6 @@ mirror_desc: desc: Linux 内核源代码的 Git 仓库, 稳定版分支 - name: linux.git desc: Linux 内核源代码的 Git 仓库 - - name: linuxbrew-bottles - desc: 预编译的 Linuxbrew 软件包 - name: linuxlite-cd desc: 基于 Ubuntu 长期支持版本(LTS)的 Linux 发行版 Linux Lite 的安装镜像 - name: linuxmint @@ -440,7 +438,6 @@ mirror_desc: desc: 著名的网络监视、管理系统 new_mirrors: - - hugging-face-models - endeavouros - ubuntukylin - putty @@ -520,7 +517,6 @@ unlisted_mirrors: name: "thuthesis" url: '/github-release/tuna/thuthesis' - force_redirect_help_mirrors: - AOSP - lineageOS @@ -545,9 +541,6 @@ force_redirect_help_mirrors: - flutter-sdk.git - julia-general.git -force_show_help_mirrors: - - hugging-face-models - label_map: unknown: label-default syncing: label-info diff --git a/static/js/help.es6 b/static/js/help.es6 index e83ff48..c684201 100644 --- a/static/js/help.es6 +++ b/static/js/help.es6 @@ -45,9 +45,6 @@ $(document).ready(() => { globalOptions.unlisted_mirrors.forEach(elem => { availableMirrorIds.add(elem.name) }); - globalOptions.force_show_help_mirrors.forEach(elem => { - availableMirrorIds.add(elem) - }); console.log(window.mirrorId); if (!availableMirrorIds.has(window.mirrorId)) { location.href = "/404-help-hidden.html"; // this will break 404 issue submission