From bd79451c9480708f03f78ed2d4c1709c6fda77bd Mon Sep 17 00:00:00 2001 From: Alejandro Serrano Date: Sat, 23 Nov 2024 21:04:36 +0100 Subject: [PATCH] Remove EnhanceDocs --- .github/workflows/gh-pages.yml | 8 -------- package.json | 1 - src/theme/Footer/index.tsx | 6 +----- 3 files changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index bc95f418..9977cd64 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -46,11 +46,3 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./build - - - name: Install EnhanceDocs CLI - uses: enhancedocs/setup-enhancedocs@v0.2.0 - with: - api-key: ${{ secrets.ENHANCEDOCS_API_KEY }} - - - name: Update Docs - run: enhancedocs alpha sources web --project ${{ secrets.ENHANCEDOCS_PROJECT_ID }} https://arrow-kt.io diff --git a/package.json b/package.json index 15a06aee..9727ebe7 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,6 @@ "@docusaurus/theme-mermaid": "^3.3.2", "@easyops-cn/docusaurus-search-local": "0.40.1", "@mdx-js/react": "^3.0.1", - "enhancedocs-chat": "1.1.9", "prism-react-renderer": "^2.3.1", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/src/theme/Footer/index.tsx b/src/theme/Footer/index.tsx index 26e5cdfb..bfc3ef13 100644 --- a/src/theme/Footer/index.tsx +++ b/src/theme/Footer/index.tsx @@ -1,7 +1,5 @@ import React, { memo } from 'react'; -// eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-ignore -import EnhancedChat from 'enhancedocs-chat'; + import { useThemeConfig, FooterLinkItem } from '@docusaurus/theme-common'; import FooterLinks from '@theme/Footer/Links'; @@ -11,8 +9,6 @@ import FooterCopyright from '@theme/Footer/Copyright'; import FooterLayout from '@site/src/theme/Footer/Layout'; import IconLinks from '@site/src/theme/Footer/Links/IconLinks'; -import 'enhancedocs-chat/dist/style.css'; - // The name of the links section that will be used differently const externalLinksTitle = 'Links';