Skip to content
Open
Show file tree
Hide file tree
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
12 changes: 0 additions & 12 deletions blog/2019-05-28-first-blog-post.md

This file was deleted.

44 changes: 0 additions & 44 deletions blog/2019-05-29-long-blog-post.md

This file was deleted.

20 changes: 0 additions & 20 deletions blog/2021-08-01-mdx-blog-post.mdx

This file was deleted.

Binary file not shown.
25 changes: 0 additions & 25 deletions blog/2021-08-26-welcome/index.md

This file was deleted.

34 changes: 19 additions & 15 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
// @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 themes = require("prism-react-renderer").themes;
const lightCodeTheme = themes.github;
const darkCodeTheme = themes.dracula

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand All @@ -22,8 +24,7 @@ const config = {
projectName: 'Omega-Guide', // Usually your repo name.

onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'throw',


// Even if you don't use internalization, you can use this field to set useful
// metadata like html lang. For example, if your site is Chinese, you may want
// to replace "en" with "zh-Hans".
Expand All @@ -35,6 +36,9 @@ const config = {
// Activate Mermaid Graphs in Markdown
markdown: {
mermaid: true,
hooks: {
onBrokenMarkdownLinks: 'throw',
}
},
themes: ['@docusaurus/theme-mermaid'],

Expand All @@ -49,15 +53,15 @@ const config = {
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
},
/*
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/',
},
*/
/*
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/',
},
*/
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
Expand All @@ -82,7 +86,7 @@ const config = {
position: 'left',
label: 'Guide',
},
// {to: '/blog', label: 'Blog', position: 'left'},
// {to: '/blog', label: 'Blog', position: 'left'},
{
href: 'https://github.com/Omega-Numworks/Omega-Guide',
label: 'GitHub',
Expand All @@ -92,7 +96,7 @@ const config = {
type: 'localeDropdown',
position: 'right',
},

],
},
footer: {
Expand Down
Loading