Skip to content
Merged
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
23 changes: 21 additions & 2 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const config: Config = {
organizationName: "/HaudinFlorence/", // Usually your GitHub org/user name.
projectName: "quantstack.github.io", // Usually your repo name.

onBrokenLinks: "throw",
onBrokenLinks: "warn",
onBrokenMarkdownLinks: "warn",
staticDirectories: ["static"],

Expand Down Expand Up @@ -52,6 +52,7 @@ const config: Config = {
},
theme: {
customCss: "./src/css/custom.css",

},
} satisfies Preset.Options,
],
Expand All @@ -61,6 +62,17 @@ const config: Config = {
// Replace with your project's social card
//image: 'img/docusaurus-social-card.jpg',
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
headTags: [
{
tagName: 'link',
attributes: {
rel: 'alternate',
type: 'application/rss+xml',
title: 'RSS Feed',
href: '/rss.xml',
},
},
],
navbar: {
title: "",
logo: {
Expand Down Expand Up @@ -105,7 +117,6 @@ const config: Config = {
position: "right",
className: "contact",
},

{
to: "https://github.com/QuantStack",
title: "GitHub",
Expand Down Expand Up @@ -136,6 +147,14 @@ const config: Config = {
target: "_blank",
className: "mastodon-icon",
},

{
to: "rss.xml",
title: "RSS",
position: "right",
target: "_blank",
className: "rss-circle-icon",
},
],
},

Expand Down
144 changes: 98 additions & 46 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
},
"scripts": {
"docusaurus": "docusaurus",
"prestart": "node scripts/resize-images.js",
"prebuild": "node scripts/resize-images.js",
"prestart": "node scripts/resize-images.js && node scripts/generate-rss-feed.js",
"prebuild": "node scripts/resize-images.js && node scripts/generate-rss-feed.js",
"start": "docusaurus start",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
Expand Down Expand Up @@ -50,6 +50,7 @@
"react-slick": "^0.30.2",
"reactjs-popup": "^2.0.6",
"request": "^2.88.2",
"rss": "^1.2.2",
"sharp": "^0.34.2",
"slick-carousel": "^1.8.1"
},
Expand All @@ -58,7 +59,9 @@
"@docusaurus/tsconfig": "3.8.1",
"@docusaurus/types": "3.8.1",
"@types/node": "^20.12.12",
"typescript": "~5.2.2"
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"typescript": "^5.8.3"
},
"browserslist": {
"production": [
Expand All @@ -75,4 +78,4 @@
"engines": {
"node": "18.x"
}
}
}
Loading