Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ const {themes} = require('prism-react-renderer');
const lightCodeTheme = themes.github;
const darkCodeTheme = themes.dracula;

// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
const baseUrl = '/';

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Apache Ozone',
Expand All @@ -34,9 +38,7 @@ const config = {
// This must match the URL the website is hosted at for social media previews to work.
// If you are testing the social media image (themeConfig.image) locally, set this to http://localhost:3001.
url: 'https://ozone.apache.org',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/',
baseUrl,

// Fail the build if there are any broken links.
onBrokenLinks: 'throw',
Expand All @@ -62,23 +64,23 @@ const config = {
tagName: 'link',
attributes: {
rel: 'icon',
href: 'favicon.ico',
href: `${baseUrl}favicon.ico`,
sizes: '32x32'
},
},
{
tagName: 'link',
attributes: {
rel: 'icon',
href: 'favicon.svg',
href: `${baseUrl}favicon.svg`,
type: "image/svg+xml"
},
},
{
tagName: 'link',
attributes: {
rel: 'apple-touch-icon',
href: 'apple-touch-icon.png',
href: `${baseUrl}apple-touch-icon.png`,
},
},
{
Expand Down