Skip to content

Commit

Permalink
#110 Remove Gitee
Browse files Browse the repository at this point in the history
  • Loading branch information
thekingofcity committed Aug 3, 2024
1 parent 5a09c1e commit ce26c4a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 19 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,3 @@ jobs:
dist: dist
github_token: ${{ secrets.RMG_BUILD_AND_RELEASE }}
gitlab_token: ${{ secrets.GITLAB_RELEASE }}
gitee_token: ${{ secrets.GITEE_RELEASE }}
gitee_password: ${{ secrets.GITEE_PASSWORD }}
5 changes: 2 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@
</p>
<p style="position: absolute;top: 75%;left: 50%;transform: translate(-50%, -50%);margin: 0;font-size: small;font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;color: gray;">
Seeing this page for too long? Try another mirror
<a href="https://railmapgen.github.io" target="_blank" rel="noreferrer">GitHub</a>
<a href="https://railmapgen.gitlab.io" target="_blank" rel="noreferrer">Gitlab</a>
<a href="https://railmapgen.gitee.io" target="_blank" rel="noreferrer">Gitee</a>
<a href="https://railmapgen.github.io" target="_blank" rel="noreferrer">GitHub Mirror</a>
<a href="https://railmapgen.gitlab.io" target="_blank" rel="noreferrer">Gitlab Mirror</a>
or the
<a href="https://github.com/railmapgen/railmapgen.github.io/releases" target="_blank" rel="noreferrer">offline applications</a>
.
Expand Down
1 change: 0 additions & 1 deletion src/i18n/translations/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"Fonts are slow to load? Learn how to speed it up!": "字体加载太慢?看看如何提速!",
"GitHub Pages mirror": "GitHub Pages 镜像",
"GitLab Pages mirror": "GitLab Pages 镜像",
"Gitee Pages mirror": "Gitee (码云) Pages 镜像",
"Happy Chinese New Year!": "新年快乐!",
"Help & support": "帮助与支持",
"Join us on Slack": "加入我们的 Slack 群组",
Expand Down
1 change: 0 additions & 1 deletion src/i18n/translations/zh-Hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"Fonts are slow to load? Learn how to speed it up!": "字型載入太慢?看看如何提速!",
"GitHub Pages mirror": "GitHub Pages 鏡像",
"GitLab Pages mirror": "GitLab Pages 鏡像",
"Gitee Pages mirror": "Gitee (碼雲) Pages 鏡像",
"Happy Chinese New Year!": "新年快樂!",
"Help & support": "幫助及支援",
"Join us on Slack": "加入我們的 Slack 羣組",
Expand Down
1 change: 0 additions & 1 deletion src/redux/init.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const mockOpenedTabs: WorkspaceTab[] = [
{ id: '01', app: 'rmg' },
{ id: '02', app: 'rmg-palette' },
{ id: '03', app: 'runtime-demo' },
{ id: '04', app: 'gitee-pages' },
];

describe('ReduxInit', () => {
Expand Down
16 changes: 5 additions & 11 deletions src/util/asset-enablements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,37 +120,31 @@ export const assetEnablement: Record<string, AssetDetail> = {
name: 'GitHub Pages mirror',
url: 'https://railmapgen.github.io',
assetType: 'link',
allowedInstances: ['GitLab', 'Gitee', 'localhost', 'unknown'],
allowedInstances: ['GitLab', 'localhost', 'unknown'],
},
'gitlab-pages': {
name: 'GitLab Pages mirror',
url: 'https://railmapgen.gitlab.io',
assetType: 'link',
allowedInstances: ['GitHub', 'Gitee', 'localhost', 'unknown'],
},
'gitee-pages': {
name: 'Gitee Pages mirror',
url: 'https://railmapgen.gitee.io',
assetType: 'link',
allowedInstances: ['GitHub', 'GitLab', 'localhost', 'unknown'],
allowedInstances: ['GitHub', 'localhost', 'unknown'],
},
tauri: {
name: 'Download desktop app',
url: getTauriUrl(),
assetType: 'link',
allowedInstances: ['GitHub', 'GitLab', 'Gitee', 'localhost', 'unknown'],
allowedInstances: ['GitHub', 'GitLab', 'localhost', 'unknown'],
},
busLineDesigner: {
name: 'Bus Line Designer',
url: 'https://buslinedesigner.bobliu.tech',
assetType: 'link',
allowedInstances: ['GitHub', 'GitLab', 'Gitee', 'Tauri', 'localhost', 'unknown'],
allowedInstances: ['GitHub', 'GitLab', 'Tauri', 'localhost', 'unknown'],
},
linesPaper: {
name: 'LinesPaper线图荟',
url: 'https://space.bilibili.com/3546659889875715',
assetType: 'link',
allowedInstances: ['GitHub', 'GitLab', 'Gitee', 'Tauri', 'localhost', 'unknown'],
allowedInstances: ['GitHub', 'GitLab', 'Tauri', 'localhost', 'unknown'],
},
};

Expand Down

0 comments on commit ce26c4a

Please sign in to comment.