diff --git a/build-dev.sh b/build-dev.sh index ab709a4..db284b1 100755 --- a/build-dev.sh +++ b/build-dev.sh @@ -9,12 +9,12 @@ export PATH=${BASE}/node_modules/.bin:$PATH echo "Docs directory: $script_dir" -# Change baseUrl to '/tftechdev/' -sed -i "s|/tftech/|/tftechdev/|g" docusaurus.config.ts ./src/pages/index.tsx +# Change baseUrl to '/techdev/' +sed -i "s|/tech/|/techdev/|g" docusaurus.config.ts ./src/pages/index.tsx bun docusaurus build -rsync -rv --delete ${script_dir}/build/ root@info.ourworld.tf:/root/hero/www/info/tftechdev +rsync -rv --delete ${script_dir}/build/ root@info.ourworld.tf:/root/hero/www/info/techdev -# Change baseUrl to '/tftech/' -sed -i "s|/tftechdev/|/tftech/|g" docusaurus.config.ts ./src/pages/index.tsx \ No newline at end of file +# Change baseUrl to '/tech/' +sed -i "s|/techdev/|/tech/|g" docusaurus.config.ts ./src/pages/index.tsx \ No newline at end of file diff --git a/build.sh b/build.sh index 64d118d..9936df9 100755 --- a/build.sh +++ b/build.sh @@ -11,4 +11,4 @@ echo "Docs directory: $script_dir" bun docusaurus build -rsync -rv --delete ${script_dir}/build/ root@info.ourworld.tf:/root/hero/www/info/tftech +rsync -rv --delete ${script_dir}/build/ root@info.ourworld.tf:/root/hero/www/info/tech diff --git a/docusaurus.config.ts b/docusaurus.config.ts index ee32f6d..58d95c3 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -8,7 +8,7 @@ const config: Config = { favicon: 'img/favicon.png', url: 'https://threefold.info', - baseUrl: '/tftech/', + baseUrl: '/tech/', onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'warn', diff --git a/src/pages/index.tsx b/src/pages/index.tsx index cb43ef3..f44cad2 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -2,5 +2,5 @@ import React from 'react'; import { Redirect } from '@docusaurus/router'; export default function Home() { - return ; + return ; } \ No newline at end of file