mirror of
https://github.com/codedownio/sandwich.git
synced 2024-09-11 19:57:11 +03:00
docs: modernize
This commit is contained in:
parent
57d535f6fe
commit
d62c6f03b9
@ -1,7 +1,11 @@
|
||||
module.exports = {
|
||||
import {themes as prismThemes} from 'prism-react-renderer';
|
||||
import type {Config} from '@docusaurus/types';
|
||||
import type * as Preset from '@docusaurus/preset-classic';
|
||||
|
||||
const config: Config = {
|
||||
title: 'Sandwich',
|
||||
tagline: 'Yet another test framework for Haskell',
|
||||
url: 'https://github.com/codedownio/sandwich',
|
||||
url: 'https://codedownio.github.io',
|
||||
baseUrl: '/sandwich/',
|
||||
onBrokenLinks: 'throw',
|
||||
onBrokenMarkdownLinks: 'warn',
|
||||
@ -78,7 +82,7 @@ module.exports = {
|
||||
],
|
||||
copyright: `Copyright © ${new Date().getFullYear()} Tom McLaughlin. Built with Docusaurus.`,
|
||||
},
|
||||
},
|
||||
} satisfies Preset.ThemeConfig,
|
||||
presets: [
|
||||
[
|
||||
'@docusaurus/preset-classic',
|
||||
@ -96,7 +100,9 @@ module.exports = {
|
||||
theme: {
|
||||
customCss: require.resolve('./src/css/custom.css'),
|
||||
},
|
||||
},
|
||||
} satisfies Preset.Options,
|
||||
],
|
||||
],
|
||||
};
|
||||
|
||||
export default config;
|
42708
sandwich-site/package-lock.json
generated
42708
sandwich-site/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -9,18 +9,22 @@
|
||||
"swizzle": "docusaurus swizzle",
|
||||
"deploy": "docusaurus deploy",
|
||||
"serve": "docusaurus serve",
|
||||
"clear": "docusaurus clear"
|
||||
"clear": "docusaurus clear",
|
||||
"upgrade-interactive": "npm-check --update"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "2.0.0-alpha.72",
|
||||
"@docusaurus/preset-classic": "2.0.0-alpha.72",
|
||||
"@mdx-js/react": "^1.6.21",
|
||||
"clsx": "^1.1.1",
|
||||
"react": "^16.8.4",
|
||||
"react-dom": "^16.8.4",
|
||||
"@docusaurus/core": "^3.3.2",
|
||||
"@docusaurus/preset-classic": "^3.3.2",
|
||||
"@mdx-js/react": "^2",
|
||||
"clsx": "^2",
|
||||
"react": "^18",
|
||||
"react-dom": "^18",
|
||||
"react-responsive-carousel": "^3.2.13",
|
||||
"react-typist": "^2.0.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"npm-check": "^6.0.1"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
">0.5%",
|
||||
|
18270
sandwich-site/yarn.lock
18270
sandwich-site/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user