From 8cf557eb4e17108e391703296363b2edc4451616 Mon Sep 17 00:00:00 2001 From: dangreen Date: Tue, 31 Dec 2024 01:31:41 +0400 Subject: [PATCH] docs: temporary change site url --- netlify.toml | 5 ----- website/docusaurus.config.js | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml deleted file mode 100644 index ccab57772..000000000 --- a/netlify.toml +++ /dev/null @@ -1,5 +0,0 @@ -[build.environment] - NPM_FLAGS = "--version" # prevent Netlify npm install -[build] - publish = "website/build" - command = "npx pnpm i --store=node_modules/.pnpm-store && cd website && npx pnpm i --store=node_modules/.pnpm-store && npx pnpm build" diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 3e5cf7e29..73af7de70 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -10,8 +10,8 @@ const currentBranch = process.env.BRANCH || branch.sync(); const config = { title: 'react-chartjs-2', tagline: 'React wrapper for Chart.js', - url: 'https://react-chartjs-2.js.org', - baseUrl: '/', + url: 'http://reactchartjs.github.io/react-chartjs-2/', // 'https://react-chartjs-2.js.org', + baseUrl: '/react-chartjs-2/', // '/', onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'warn', favicon: 'img/favicon.ico',