From 288a42e73291520f5a802d1f7445f22c03c9cd1a Mon Sep 17 00:00:00 2001 From: IZUMI-Zu <274620705z@gmail.com> Date: Wed, 5 Feb 2025 13:09:43 +0800 Subject: [PATCH] refactor: rename project from "Casdoor App" to "Casdoor Authenticator" --- .github/workflows/master.yml | 1 + blog/2024-10-18.mdx | 4 ++-- docs/basic/getting-started.md | 4 ++-- docs/basic/usage.md | 2 +- docs/build/configuration.md | 6 +++--- docs/build/process.md | 2 +- docs/overview.md | 2 +- docusaurus.config.js | 20 ++++++++++---------- package.json | 2 +- src/components/DownloadSection/index.js | 4 ++-- src/pages/help.js | 2 +- src/pages/index.js | 2 +- 12 files changed, 26 insertions(+), 25 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index a3b6397..dbd5327 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -42,6 +42,7 @@ jobs: yarn build - name: Deploy 🚀 + if: github.repository_owner == 'casdoor' uses: JamesIves/github-pages-deploy-action@v4 with: ssh-key: ${{ secrets.DEPLOY_KEY }} diff --git a/blog/2024-10-18.mdx b/blog/2024-10-18.mdx index 26fac9c..6eb1c60 100644 --- a/blog/2024-10-18.mdx +++ b/blog/2024-10-18.mdx @@ -2,7 +2,7 @@ slug: welcome title: Welcome author: IZUMI-Zu -authorTitle: Casdoor App Contributor +authorTitle: Casdoor Authenticator Contributor authorURL: https://github.com/IZUMI-Zu authorImageURL: https://avatars.githubusercontent.com/u/23271676?s=100 tags: [Casdoor, Authenticator, Totp] @@ -44,7 +44,7 @@ For detailed instructions on setup, usage, and migration from other authenticato We welcome contributions and feedback from our users. Join our community to stay updated on the latest developments, share your experiences, and contribute to making Casdoor Authenticator even better! -* [GitHub Repository](https://github.com/casdoor/casdoor-app) +* [GitHub Repository](https://github.com/casdoor/casdoor-authenticator) * [Discord Channel](https://discord.gg/5rPsrAzK7S) * [QQ Group](https://cdn.casdoor.com/casdoor/resource/built-in/admin/qq_casdoor.png) diff --git a/docs/basic/getting-started.md b/docs/basic/getting-started.md index 8dd0176..60daa93 100644 --- a/docs/basic/getting-started.md +++ b/docs/basic/getting-started.md @@ -1,6 +1,6 @@ --- title: Getting Started -description: Casdoor App Getting Started +description: Casdoor Authenticator Getting Started keywords: [casdoor, authenticator] authors: [IZUMI-Zu] --- @@ -23,7 +23,7 @@ Before you begin, ensure you have the following prerequisites: - You can build the app from source code. See [here](../build/configuration.md) for more details. 2. For Android users: - - You can download the app from the [GitHub Releases page](https://github.com/casdoor/casdoor-app/releases). + - You can download the app from the [GitHub Releases page](https://github.com/casdoor/casdoor-authenticator/releases). - Install the APK file on your device. ## Initial Setup diff --git a/docs/basic/usage.md b/docs/basic/usage.md index e9a4c16..a984e85 100644 --- a/docs/basic/usage.md +++ b/docs/basic/usage.md @@ -1,6 +1,6 @@ --- title: Basic Usage -description: Casdoor App Basic Usage +description: Casdoor Authenticator Basic Usage keywords: [casdoor, authenticator] authors: [IZUMI-Zu] --- diff --git a/docs/build/configuration.md b/docs/build/configuration.md index a496f4c..c92a416 100644 --- a/docs/build/configuration.md +++ b/docs/build/configuration.md @@ -1,6 +1,6 @@ --- title: Build Configuration -description: Casdoor App Build Configuration +description: Casdoor Authenticator Build Configuration keywords: [casdoor, authenticator, configuration, build, android, ios] authors: [IZUMI-Zu] --- @@ -24,8 +24,8 @@ Before you begin, ensure you have the following installed: 1. Clone the Casdoor Authenticator App repository: ```bash - git clone https://github.com/casdoor/casdoor-app.git - cd casdoor-app + git clone https://github.com/casdoor/casdoor-authenticator.git + cd casdoor-authenticator ``` 2. Install dependencies: diff --git a/docs/build/process.md b/docs/build/process.md index 571eb73..f8908f0 100644 --- a/docs/build/process.md +++ b/docs/build/process.md @@ -1,6 +1,6 @@ --- title: Build Process -description: Casdoor App Build Process +description: Casdoor Authenticator Build Process keywords: [casdoor, authenticator, build, process] authors: [IZUMI-Zu] --- diff --git a/docs/overview.md b/docs/overview.md index 44e9bc9..e6d867e 100644 --- a/docs/overview.md +++ b/docs/overview.md @@ -1,6 +1,6 @@ --- title: Overview -description: Casdoor App Overview +description: Casdoor Authenticator Overview keywords: [casdoor, authenticator] authors: [IZUMI-Zu] --- diff --git a/docusaurus.config.js b/docusaurus.config.js index efd6976..be46215 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -9,7 +9,7 @@ const darkCodeTheme = require("prism-react-renderer/themes/dracula"); /** @type {import('@docusaurus/types').DocusaurusConfig} */ module.exports = { - title: "Casdoor App", + title: "Casdoor Authenticator", tagline: "A mobile app for iOS and Android providing multi-factor authentication with TOTP, built using React Native.", favicon: "img/favicon.png", @@ -17,7 +17,7 @@ module.exports = { baseUrl: "/", organizationName: "casdoor", - projectName: "casdoorapp-website", + projectName: "casdoor-authenticator-website", onBrokenLinks: "throw", onBrokenMarkdownLinks: "warn", @@ -55,7 +55,7 @@ module.exports = { ({ image: "img/casdoor.png", navbar: { - title: "Casdoor App", + title: "Casdoor Authenticator", logo: { alt: "Casdoor Logo", src: "img/casdoor.png", @@ -70,7 +70,7 @@ module.exports = { {to: "/blog", label: "Blog", position: "left"}, {to: "/help", label: "Help", position: "left"}, { - href: "https://github.com/casdoor/casdoor-app/releases", + href: "https://github.com/casdoor/casdoor-authenticator/releases", label: "Download", position: "left", }, @@ -83,13 +83,13 @@ module.exports = { value: "