-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: upgrade
docusaurus
to v3 (#291)
- Loading branch information
Showing
6 changed files
with
7,906 additions
and
14,632 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,102 @@ | ||
import type { Config } from "@docusaurus/types"; | ||
import { themes } from "prism-react-renderer"; | ||
|
||
export default { | ||
title: "Rudus", | ||
tagline: "Parser combinator library for TypeScript", | ||
url: "https://rudus.pages.dev", | ||
baseUrl: "/", | ||
onBrokenLinks: "throw", | ||
onBrokenMarkdownLinks: "warn", | ||
favicon: "img/favicon.ico", | ||
// GitHub pages deployment config. | ||
// If you aren't using GitHub pages, you don't need these. | ||
organizationName: "Bikossor", // Usually your GitHub org/user name. | ||
projectName: "Rudus", // Usually your repo name. | ||
// 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". | ||
i18n: { | ||
defaultLocale: "en", | ||
locales: ["en"], | ||
}, | ||
presets: [ | ||
[ | ||
"classic", | ||
{ | ||
docs: { | ||
sidebarPath: require.resolve("./sidebars.js"), | ||
showLastUpdateTime: true, | ||
showLastUpdateAuthor: true, | ||
}, | ||
theme: { | ||
customCss: require.resolve("./src/css/custom.css"), | ||
}, | ||
}, | ||
], | ||
], | ||
themeConfig: { | ||
navbar: { | ||
title: "Rudus", | ||
logo: { | ||
alt: "Rudus Logo", | ||
src: "img/Rudus-Logo.svg", | ||
}, | ||
items: [ | ||
{ | ||
type: "doc", | ||
docId: "intro", | ||
position: "left", | ||
label: "Documentation", | ||
}, | ||
{ | ||
href: "https://npmjs.com/package/rudus", | ||
label: "npm", | ||
position: "right", | ||
}, | ||
{ | ||
href: "https://github.com/Bikossor/Rudus", | ||
label: "GitHub", | ||
position: "right", | ||
}, | ||
], | ||
}, | ||
footer: { | ||
style: "dark", | ||
links: [ | ||
{ | ||
title: "Docs", | ||
items: [ | ||
{ | ||
label: "Tutorial", | ||
to: "/docs/intro", | ||
}, | ||
], | ||
}, | ||
{ | ||
title: "Community", | ||
items: [ | ||
{ | ||
label: "Stack Overflow", | ||
href: "https://stackoverflow.com/questions/tagged/rudus", | ||
}, | ||
], | ||
}, | ||
{ | ||
title: "More", | ||
items: [ | ||
{ | ||
label: "GitHub", | ||
href: "https://github.com/Bikossor/Rudus", | ||
}, | ||
], | ||
}, | ||
], | ||
copyright: `Copyright © ${new Date().getFullYear()} Bikossor. Built with Docusaurus.`, | ||
}, | ||
prism: { | ||
theme: themes.github, | ||
darkTheme: themes.dracula, | ||
}, | ||
}, | ||
} satisfies Config; |
Oops, something went wrong.