-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e4f3bfb
commit b8a9b4f
Showing
5 changed files
with
337 additions
and
350 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ js | |
test | ||
_site | ||
vitest.config.ts | ||
docusaurus.config.ts |
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,119 @@ | ||
import type { Config } from '@docusaurus/types'; | ||
|
||
import { themes } from 'prism-react-renderer'; | ||
|
||
const { github: lightCodeTheme, dracula: darkCodeTheme } = themes; | ||
|
||
export default { | ||
title: 'Shuffle.js', | ||
tagline: 'Categorize, sort, and filter a responsive grid of items', | ||
url: 'https://vestride.github.io/', | ||
baseUrl: '/Shuffle/', | ||
onBrokenLinks: 'throw', | ||
onBrokenMarkdownLinks: 'warn', | ||
favicon: 'img/favicon.png', | ||
organizationName: 'Vestride', | ||
projectName: 'Shuffle', | ||
trailingSlash: false, | ||
|
||
presets: [ | ||
[ | ||
'classic', | ||
{ | ||
docs: { | ||
sidebarPath: require.resolve('./sidebars.js'), | ||
editUrl: 'https://github.com/Vestride/Shuffle/tree/main/apps/website/docs/', | ||
}, | ||
theme: { | ||
customCss: require.resolve('./src/css/custom.css'), | ||
}, | ||
googleAnalytics: { | ||
trackingID: 'UA-39355642-1', | ||
}, | ||
}, | ||
], | ||
], | ||
|
||
themeConfig: { | ||
colorMode: { | ||
respectPrefersColorScheme: true, | ||
}, | ||
navbar: { | ||
title: 'Shuffle.js', | ||
logo: { | ||
alt: 'Shuffle.js Logo', | ||
src: 'img/favicon.svg', | ||
width: 24, | ||
height: 24, | ||
}, | ||
items: [ | ||
{ | ||
type: 'doc', | ||
docId: 'install', | ||
position: 'left', | ||
label: 'Docs', | ||
}, | ||
{ | ||
href: 'https://www.buymeacoffee.com/glen.cheney', | ||
label: 'Buy me a coffee', | ||
position: 'right', | ||
}, | ||
{ | ||
href: 'https://github.com/Vestride/Shuffle', | ||
label: 'GitHub', | ||
position: 'right', | ||
}, | ||
], | ||
}, | ||
footer: { | ||
style: 'dark', | ||
links: [ | ||
{ | ||
title: 'Docs', | ||
items: [ | ||
{ | ||
label: 'Installation', | ||
to: '/docs/install', | ||
}, | ||
{ | ||
label: 'FAQs', | ||
to: '/docs/faqs', | ||
}, | ||
], | ||
}, | ||
{ | ||
title: 'Community', | ||
items: [ | ||
{ | ||
label: 'Twitter', | ||
href: 'https://twitter.com/Vestride', | ||
}, | ||
{ | ||
label: 'Stack Overflow', | ||
href: 'https://stackoverflow.com/search?q=shuffle+js', | ||
}, | ||
], | ||
}, | ||
{ | ||
title: 'More', | ||
items: [ | ||
{ | ||
label: 'GitHub', | ||
href: 'https://github.com/Vestride/Shuffle', | ||
}, | ||
{ | ||
label: 'CodePen template', | ||
href: 'http://codepen.io/pen?template=qrjOpX', | ||
}, | ||
], | ||
}, | ||
], | ||
copyright: `Copyright © ${new Date().getFullYear()} Glen Cheney. Built with Docusaurus.`, | ||
}, | ||
prism: { | ||
theme: lightCodeTheme, | ||
darkTheme: darkCodeTheme, | ||
}, | ||
image: 'img/shuffle-open-graph.png', | ||
}, | ||
} satisfies Config; |
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
Oops, something went wrong.