diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 098679e13..e3d3d4822 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,5 @@ blank_issues_enabled: true contact_links: - name: Documentation - url: https://actionbase.io/ + url: https://kakao.github.io/actionbase/ about: Read the documentation diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 0bca30175..ed8a23649 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -6,7 +6,6 @@ on: - main paths: - "website/**" - - "CNAME" - ".github/workflows/deploy-website.yml" workflow_dispatch: @@ -41,10 +40,7 @@ jobs: working-directory: ./website run: npm run build env: - SITE_URL: ${{ secrets.SITE_URL || 'https://actionbase.io/' }} - - - name: Copy CNAME file - run: cp CNAME website/dist/CNAME + SITE_URL: ${{ secrets.SITE_URL || 'https://kakao.github.io/actionbase/' }} - name: Setup Pages uses: actions/configure-pages@v4 diff --git a/CNAME b/CNAME deleted file mode 100644 index ec567c6aa..000000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -actionbase.io diff --git a/README.md b/README.md index eb6346a45..14f670a67 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@ **One database for user–user, user–item, and item–item interactions — precomputed at write time, served as simple lookups.**
**1M+ req/min in production at Kakao. Built on HBase.** -[![CI](https://img.shields.io/github/actions/workflow/status/kakao/actionbase/continuous-integration.yml?label=ci&style=flat-square)](https://github.com/kakao/actionbase/actions/workflows/continuous-integration.yml) [![Release](https://img.shields.io/github/v/release/kakao/actionbase?label=release&style=flat-square)](https://github.com/kakao/actionbase/releases) [![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://opensource.org/licenses/Apache-2.0) [![Docs](https://img.shields.io/badge/docs-actionbase.io-green?style=flat-square)](https://actionbase.io) +[![CI](https://img.shields.io/github/actions/workflow/status/kakao/actionbase/continuous-integration.yml?label=ci&style=flat-square)](https://github.com/kakao/actionbase/actions/workflows/continuous-integration.yml) [![Release](https://img.shields.io/github/v/release/kakao/actionbase?label=release&style=flat-square)](https://github.com/kakao/actionbase/releases) [![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://opensource.org/licenses/Apache-2.0) [![Docs](https://img.shields.io/badge/docs-kakao.github.io%2Factionbase-green?style=flat-square)](https://kakao.github.io/actionbase/) -[Documentation](https://actionbase.io) · [Path to open source](https://actionbase.io/project/path-to-open-source/) · [Why we built this](https://github.com/kakao/actionbase/issues/358) · [Production stories](https://actionbase.io/stories/kakaotalk-gift-wish/) +[Documentation](https://kakao.github.io/actionbase/) · [Path to open source](https://kakao.github.io/actionbase/project/path-to-open-source/) · [Why we built this](https://github.com/kakao/actionbase/issues/358) · [Production stories](https://kakao.github.io/actionbase/stories/kakaotalk-gift-wish/) ## Why Actionbase @@ -54,11 +54,11 @@ count --start Alice --direction OUT # 1 count --start Phone --direction IN # 2 ``` - + Actionbase Quick Start Demo -See [Quick Start](https://actionbase.io/quick-start/) for more, or [Build Your Social Media App](https://actionbase.io/guides/build-your-social-media-app/) to go deeper. +See [Quick Start](https://kakao.github.io/actionbase/quick-start/) for more, or [Build Your Social Media App](https://kakao.github.io/actionbase/guides/build-your-social-media-app/) to go deeper. ## How It Works @@ -125,7 +125,7 @@ For questions, ideas, or feedback, open an [issue](https://github.com/kakao/acti ## Learn More -* [Documentation](https://actionbase.io/) +* [Documentation](https://kakao.github.io/actionbase/) * [Roadmap](ROADMAP.md) * [Actionbase at if(kakaoAI) 2024](https://www.youtube.com/watch?v=8-hVAFVHISE) (YouTube, Korean) diff --git a/guides/build-your-social-app/src/components/layout/Layout.tsx b/guides/build-your-social-app/src/components/layout/Layout.tsx index 638010723..b678ccb41 100644 --- a/guides/build-your-social-app/src/components/layout/Layout.tsx +++ b/guides/build-your-social-app/src/components/layout/Layout.tsx @@ -125,7 +125,7 @@ const Layout: React.FC = ({ children }) => {
{ - if (process.env.SITE_URL) { - try { - const url = new URL(process.env.SITE_URL); - return url.pathname.endsWith('/') ? url.pathname : url.pathname + '/'; - } catch { - return '/'; - } + try { + const { pathname } = new URL(site); + return pathname.endsWith('/') ? pathname : pathname + '/'; + } catch { + return '/'; } - return '/'; }; const base = getBasePath(); diff --git a/website/src/content/docs/llms-txt.mdx b/website/src/content/docs/llms-txt.mdx index d01651423..e425dd326 100644 --- a/website/src/content/docs/llms-txt.mdx +++ b/website/src/content/docs/llms-txt.mdx @@ -10,7 +10,7 @@ Copy and paste to start asking questions about Actionbase. **1. Overview** ``` -Read https://actionbase.io/llms-small.txt +Read https://kakao.github.io/actionbase/llms-small.txt You are an assistant answering questions about Actionbase. Answer using only the provided Actionbase documentation. @@ -20,7 +20,7 @@ If the documentation does not specify the answer, say so explicitly. **2. Full documentation** ``` -Read https://actionbase.io/_llms-txt/core.txt +Read https://kakao.github.io/actionbase/_llms-txt/core.txt You are an assistant answering questions about Actionbase. Answer using only the provided Actionbase documentation. @@ -30,8 +30,8 @@ If the documentation does not specify the answer, say so explicitly. **3. Full documentation with API reference** ``` -Read https://actionbase.io/_llms-txt/core.txt -and https://actionbase.io/_llms-txt/api.txt +Read https://kakao.github.io/actionbase/_llms-txt/core.txt +and https://kakao.github.io/actionbase/_llms-txt/api.txt You are an assistant answering questions about Actionbase. Answer using only the provided Actionbase documentation. @@ -43,7 +43,7 @@ If the documentation does not specify the answer, say so explicitly. Add as source: ``` -https://actionbase.io/llms-full.txt +https://kakao.github.io/actionbase/llms-full.txt ``` ## Files