import { themes as prismThemes } from "prism-react-renderer";
import type { Config } from "@docusaurus/types";
import type * as Preset from "@docusaurus/preset-classic";
let copyright = `Copyright © ${new Date().getFullYear()} · QuantStack website · Built with Docusaurus`;
const config: Config = {
title: "QuantStack",
favicon: "img/quantstack/favicon.ico",
tagline: "",
// Set the production url of your site here
url: "https://quantstack.net/",
// Set the // pathname under which your site is served
// For GitHub pages deployment, it is often '//'
baseUrl: "/",
// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: "/HaudinFlorence/", // Usually your GitHub org/user name.
projectName: "quantstack.github.io", // Usually your repo name.
onBrokenLinks: "warn",
onBrokenMarkdownLinks: "warn",
staticDirectories: ["static"],
// Even if you don't use internationalization, 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: "./sidebars.ts",
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/",
},
blog: {
showReadingTime: true,
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/",
},
theme: {
customCss: "./src/css/custom.css",
},
} satisfies Preset.Options,
],
],
plugins: [
[
'docusaurus-plugin-plausible',
{
domain: 'quantstack.net',
},
]
],
headTags: [
{
tagName: 'link',
attributes: {
rel: 'alternate',
type: 'application/atom+xml',
title: 'Atom Feed',
href: '/atom.xml',
},
},
{ tagName: 'meta',
attributes: {
property: 'og:title',
content: 'Open-source for discovery, science, and education',
},
},
{ tagName: 'meta',
attributes: {
property: 'og:image',
content: '/img/quantstack/astronaut.svg',
},
},
{ tagName: 'meta',
attributes: {
property: 'og:description',
content: 'A team behind major open-source projects of the scientific computing ecosystem such as Jupyter, Conda-Forge, Mamba, XTensor/SIMD, Apache Arrow/Parquet and more.',
},
},
],
themeConfig: {
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
navbar: {
title: "",
logo: {
alt: "QuantStack Logo",
src: "img/quantstack/logo-website-smaller.svg",
},
items: [
{
to: "/projects/",
className: "custom_navbar_item",
label: "Projects",
position: "left",
},
{
to: "/services/",
className: "custom_navbar_item",
label: "Services",
position: "left",
},
{
to: "/about/",
className: "custom_navbar_item",
label: "About us",
position: "left",
},
{
to: "/careers/",
className: "custom_navbar_item",
label: "Careers",
position: "left",
},
{
to: "/blog/",
className: "custom_navbar_item",
label: "Blog",
position: "left",
},
{
to: "/fundable/",
label: "Fundable projects",
position: "right",
className: "fundable_projects"
},
{
to: "/contact/",
label: "Contact us",
position: "right",
className: "contact",
},
{
to: "https://github.com/QuantStack",
title: "GitHub",
position: "right",
target: "_blank",
className: "github-icon",
},
{
to: "https://www.linkedin.com/company/quantstack/mycompany/",
title: "LinkedIn",
position: "right",
target: "_blank",
className: "linkedin-icon",
},
{
to: "https://bsky.app/profile/quantstack.bsky.social",
title: "Bluesky",
position: "right",
target: "_blank",
className: "bluesky-icon",
},
{
to: "https://mastodon.social/@QuantStack",
title: "Mastodon",
position: "right",
target: "_blank",
className: "mastodon-icon",
},
{
to: "atom.xml",
title: "Atom",
position: "right",
target: "_blank",
className: "rss-circle-icon",
},
],
},
colorMode: {
defaultMode: "light",
disableSwitch: true,
respectPrefersColorScheme: false,
},
prism: {
theme: prismThemes.github,
/*darkTheme: prismThemes.oneDark,*/
},
} satisfies Preset.ThemeConfig,
};
export default config;