Skip to content

Commit

Permalink
chore: use new baseurl
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 committed Dec 16, 2024
1 parent c847d23 commit c45c9dc
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,6 @@ import { themes as prismThemes } from 'prism-react-renderer';

// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)

function modifyContent(filename, content) {
const titleMatch = content.match(/^#\s*(.+)/);
if (titleMatch && titleMatch[1]) {
filename = `${titleMatch[1]}.md`;
}

return {
filename: filename,
content: content,
};
}

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Vela',
Expand All @@ -24,7 +12,7 @@ const config = {
url: 'https://pages.git.target.com',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/actions-playground/vela-prototype',
baseUrl: '/docs-v2/',
plugins: [
require.resolve('docusaurus-lunr-search'),
// [
Expand Down Expand Up @@ -153,4 +141,16 @@ const config = {
}),
};

function modifyContent(filename, content) {
const titleMatch = content.match(/^#\s*(.+)/);
if (titleMatch && titleMatch[1]) {
filename = `${titleMatch[1]}.md`;
}

return {
filename: filename,
content: content,
};
}

export default config;

0 comments on commit c45c9dc

Please sign in to comment.