-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from ai-buddies/dev-1
added new pages
- Loading branch information
Showing
20 changed files
with
4,738 additions
and
2,554 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ import { themes as prismThemes } from "prism-react-renderer"; | |
import type { Config } from "@docusaurus/types"; | ||
import type * as Preset from "@docusaurus/preset-classic"; | ||
import tailwindPlugin from "./plugins/tailwind-config.cjs"; | ||
import remarkMath from 'remark-math'; | ||
import rehypeKatex from 'rehype-katex'; | ||
|
||
const config: Config = { | ||
title: "AIBuddies", | ||
|
@@ -36,14 +38,19 @@ const config: Config = { | |
{ | ||
docs: { | ||
sidebarPath: "./sidebars.ts", | ||
remarkPlugins: [remarkMath], | ||
rehypePlugins: [rehypeKatex], | ||
editUrl: | ||
"https://github.com/ai-buddies/ai-buddies.github.io/tree/main/", | ||
}, | ||
blog: { | ||
showReadingTime: true, | ||
remarkPlugins: [remarkMath], | ||
rehypePlugins: [rehypeKatex], | ||
editUrl: | ||
"https://github.com/ai-buddies/ai-buddies.github.io/tree/main/", | ||
}, | ||
|
||
theme: { | ||
customCss: "./src/css/custom.css", | ||
}, | ||
|
@@ -80,6 +87,22 @@ const config: Config = { | |
], | ||
], | ||
|
||
markdown: { | ||
mermaid: true, | ||
}, | ||
|
||
themes: ['@docusaurus/theme-mermaid'], | ||
|
||
stylesheets: [ | ||
{ | ||
href: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css', | ||
type: 'text/css', | ||
integrity: | ||
'sha384-odtC+0UGzzFL/6PNoE8rX/SPcQDXBJ+uRepguP4QkPCm2LBxH3FA3y+fKSiJ+AmM', | ||
crossorigin: 'anonymous', | ||
}, | ||
], | ||
|
||
themeConfig: { | ||
// Replace with your project's social card | ||
image: "img/docusaurus-social-card.jpg", | ||
|
@@ -96,6 +119,11 @@ const config: Config = { | |
position: "left", | ||
label: "Tutorial", | ||
}, | ||
{ | ||
label: "Learning Paths", | ||
to: "/learning-paths", | ||
position: "left", | ||
}, | ||
{ | ||
to: "/blog", | ||
label: "Blog", | ||
|
Oops, something went wrong.