From f3d6e0dfaec9cf3020fcd9183e31bb9ac6fb4ca7 Mon Sep 17 00:00:00 2001 From: Aitor Murguzur Date: Thu, 22 Feb 2024 17:43:39 +0100 Subject: [PATCH] Modify docusaurus build config --- docusaurus.config.ts | 20 ++++++-------------- static/img/favicon.svg | 15 +++++++++++++++ 2 files changed, 21 insertions(+), 14 deletions(-) create mode 100644 static/img/favicon.svg diff --git a/docusaurus.config.ts b/docusaurus.config.ts index b65cda6..5bb8fd3 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -3,15 +3,15 @@ import type {Config} from '@docusaurus/types'; import type * as Preset from '@docusaurus/preset-classic'; const config: Config = { - title: 'My Site', - tagline: 'Dinosaurs are cool', - favicon: 'img/favicon.ico', + title: 'Biotz Academy', + tagline: '', + favicon: 'img/favicon.svg', // Set the production url of your site here url: 'https://your-docusaurus-site.example.com', // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' - baseUrl: '/', + baseUrl: '/academy/', // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. @@ -36,18 +36,10 @@ const config: Config = { 'classic', { docs: { - sidebarPath: './sidebars.ts', - // Please change this to your repo. - // Remove this to remove the "edit this page" links. - editUrl: - 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', + sidebarPath: './sidebars.ts' }, blog: { - showReadingTime: true, - // Please change this to your repo. - // Remove this to remove the "edit this page" links. - editUrl: - 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', + showReadingTime: true }, theme: { customCss: './src/css/custom.css', diff --git a/static/img/favicon.svg b/static/img/favicon.svg new file mode 100644 index 0000000..165e5c3 --- /dev/null +++ b/static/img/favicon.svg @@ -0,0 +1,15 @@ + + + + + + + + +