Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
Update docusaurus to v3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Bastin committed Mar 14, 2024
1 parent cd09b4c commit dc5131c
Show file tree
Hide file tree
Showing 4 changed files with 10,865 additions and 16,637 deletions.
14 changes: 10 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
const lightCodeTheme = require('prism-react-renderer').themes.github;
const darkCodeTheme = require('prism-react-renderer').themes.dracula;

const organizationName = 'chirpwireless';
const projectName = 'docs.chirpwireless.io';

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Chirp',
tagline: 'Chirp docs',
url: 'https://docs.chirpwireless.io',
baseUrl: '/',
url: 'https://chirpwireless.github.io',
baseUrl: '/docs.chirpwireless.io/',
organizationName,
projectName,
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
Expand All @@ -26,6 +31,7 @@ const config = {
docs: {
routeBasePath: '/',
sidebarPath: require.resolve('./sidebars.js'),
editUrl: `https://github.com/${organizationName}/${projectName}/tree/main/`,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
Expand Down
Loading

0 comments on commit dc5131c

Please sign in to comment.