From e9a1b6078e366a8ee071f5d423a1874608618e4d Mon Sep 17 00:00:00 2001 From: Dante Niewenhuis Date: Mon, 19 May 2025 13:31:34 +0200 Subject: Removing gh-pages site from master branch (#338) * Removing site from master branch * Updated README.md --- site/docusaurus.config.js | 145 ---------------------------------------------- 1 file changed, 145 deletions(-) delete mode 100644 site/docusaurus.config.js (limited to 'site/docusaurus.config.js') diff --git a/site/docusaurus.config.js b/site/docusaurus.config.js deleted file mode 100644 index 8fbef549..00000000 --- a/site/docusaurus.config.js +++ /dev/null @@ -1,145 +0,0 @@ -// @ts-check - -const organizationName = "atlarge-research"; -const projectName = "opendc"; - -const lightCodeTheme = require("prism-react-renderer/themes/github"); -const darkCodeTheme = require("prism-react-renderer/themes/dracula"); - -/** @type {import("@docusaurus/types").Config} */ -const config = { - title: "OpenDC", - tagline: "Collaborative Datacenter Simulation and Exploration for Everybody", - url: process.env.DOCUSAURUS_URL || `https://${organizationName}.github.io`, - baseUrl: process.env.DOCUSAURUS_BASE_PATH || `/${projectName}/`, - onBrokenLinks: "throw", - onBrokenMarkdownLinks: "warn", - favicon: "img/favicon.ico", - organizationName, - projectName, - - i18n: { - defaultLocale: "en", - locales: ["en"] - }, - - presets: [ - [ - "classic", - /** @type {import("@docusaurus/preset-classic").Options} */ - ({ - docs: { - sidebarPath: require.resolve("./sidebars.js"), - editUrl: `https://github.com/${organizationName}/${projectName}/tree/master/site/` - }, - theme: { - customCss: require.resolve("./src/css/custom.css") - } - }) - ] - ], - - plugins: [ - [ - "content-docs", - // /** @type {import("@docusaurus/plugin-content-docs").Options} */ - ({ - id: "community", - path: "community", - routeBasePath: "community", - editUrl: `https://github.com/${organizationName}/${projectName}/tree/master/site/`, - sidebarPath: require.resolve("./sidebars.js") - }) - ] - ], - - themeConfig: - /** @type {import("@docusaurus/preset-classic").ThemeConfig} */ - ({ - navbar: { - title: "OpenDC", - logo: { - alt: "OpenDC logo", - src: "/img/logo.svg" - }, - items: [ - { - type: "doc", - docId: "intro", - position: "left", - label: "Learn" - }, - { - to: "/community/support", - label: "Community", - position: "left", - activeBaseRegex: `/community/` - }, - { - href: "https://app.opendc.org", - html: "Log In", - position: "right", - className: "header-app-link button button--outline button--primary", - "aria-label": "OpenDC web application", - }, - { - href: `https://github.com/${organizationName}/${projectName}`, - position: "right", - className: "header-github-link", - "aria-label": "GitHub repository", - }, - ] - }, - footer: { - style: "dark", - links: [ - { - title: "Learn", - items: [ - { - label: "Getting Started", - to: "/docs/category/getting-started" - }, - { - label: "Tutorials", - to: "/docs/category/tutorials" - } - ] - }, - { - title: "Community", - items: [ - { - label: "Support", - to: "/community/support" - }, - { - label: "Team", - to: "/community/team" - }, - { - label: "GitHub Discussions", - href: `https://github.com/${organizationName}/${projectName}/discussions` - } - ] - }, - { - title: "More", - items: [ - { - label: "GitHub", - href: `https://github.com/${organizationName}/${projectName}` - } - ] - } - ], - copyright: `Copyright © ${new Date().getFullYear()} AtLarge Research. Built with Docusaurus.` - }, - prism: { - theme: lightCodeTheme, - darkTheme: darkCodeTheme - } - }) -}; - -module.exports = config; -- cgit v1.2.3