From d5ce19ac18491b6e0703a5081cfb410226661e4d Mon Sep 17 00:00:00 2001 From: Sebastian Silva <44152511+OneComputerGuy@users.noreply.github.com> Date: Thu, 30 Jul 2026 18:18:07 -0500 Subject: [PATCH] rollback - Domain change --- .github/workflows/deploy.yml | 2 +- docusaurus.config.js | 92 ++++++++++++++++++------------------ 2 files changed, 47 insertions(+), 47 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8858add32..ea440fa66 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,7 +31,7 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} # Build output to publish to the `gh-pages` branch: publish_dir: ./build - cname: docs.blackboard.com + cname: docs.anthology.com # The following lines assign commit authorship to the official # GH-Actions bot for deploys to `gh-pages` branch: # https://github.com/actions/checkout/issues/13#issuecomment-724415212 diff --git a/docusaurus.config.js b/docusaurus.config.js index 1f9788bd4..029904b8d 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -1,46 +1,46 @@ // @ts-check // Note: type annotations allow type checking and IDEs autocompletion -const { themes } = require('prism-react-renderer'); +const { themes } = require("prism-react-renderer"); const lightCodeTheme = themes.github; const darkCodeTheme = themes.dracula; /** @type {import('@docusaurus/types').Config} */ const config = { - title: 'Blackboard Developer Docs', - tagline: 'Developer Documentation', - favicon: 'img/favicon.ico', + title: "Blackboard Developer Docs", + tagline: "Developer Documentation", + favicon: "img/favicon.ico", // Set the production url of your site here // url: 'https://blackboard.github.io', // url: 'https://anthologydevdocs.github.io', - // url: 'https://docs.anthology.com', - url: 'https://docs.blackboard.com', + url: "https://docs.anthology.com", + // url: 'https://docs.blackboard.com', // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' // baseUrl: '/', - baseUrl: '/', - projectName: 'BlackboardDevDocs', - organizationName: 'Blackboard', + baseUrl: "/", + projectName: "BlackboardDevDocs", + organizationName: "Blackboard", trailingSlash: false, // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. // organizationName: 'blackboard', // Usually your GitHub org/user name. //projectName: 'docusaurus', // Usually your repo name. - onBrokenLinks: 'throw', - onBrokenMarkdownLinks: 'throw', + onBrokenLinks: "throw", + onBrokenMarkdownLinks: "throw", // Even if you don't use internalization, 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'], + defaultLocale: "en", + locales: ["en"], }, presets: [ [ - 'classic', + "classic", /** @type {import('@docusaurus/preset-classic').Options} */ ({ docs: { @@ -50,14 +50,14 @@ const config = { // autoCollapseCategories: true, //}, - sidebarPath: require.resolve('./sidebar.js'), + sidebarPath: require.resolve("./sidebar.js"), // Please change this to your repo. // Remove this to remove the "edit this page" links. - editUrl: 'https://github.com/blackboard/anthologydevdocs/tree/main', + editUrl: "https://github.com/blackboard/anthologydevdocs/tree/main", }, blog: { showReadingTime: true, - postsPerPage: 'ALL', + postsPerPage: "ALL", // Please change this to your repo. // Remove this to remove the "edit this page" links. //editUrl: @@ -65,8 +65,8 @@ const config = { }, theme: { customCss: [ - require.resolve('./src/css/custom.css'), - require.resolve('./src/css/footer.css'), + require.resolve("./src/css/custom.css"), + require.resolve("./src/css/footer.css"), ], }, }), @@ -77,30 +77,30 @@ const config = { /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ // Replace with your project's social card - image: 'img/social-card.png', + image: "img/social-card.png", navbar: { logo: { - alt: 'Blackboard Logo', - src: '/img/Blackboard-Full-Color-Black.svg', - srcDark: '/img/Blackboard-Full-Color-White.svg', + alt: "Blackboard Logo", + src: "/img/Blackboard-Full-Color-Black.svg", + srcDark: "/img/Blackboard-Full-Color-White.svg", }, items: [ { - to: '/', - position: 'right', - label: 'Home', + to: "/", + position: "right", + label: "Home", }, - { to: '/blog', label: 'Blog', position: 'right' }, - { to: '/contributions', label: 'Contributions', position: 'right' }, + { to: "/blog", label: "Blog", position: "right" }, + { to: "/contributions", label: "Contributions", position: "right" }, { - type: 'html', - position: 'right', + type: "html", + position: "right", value: '', }, { - type: 'search', - position: 'left', + type: "search", + position: "left", }, ], }, @@ -114,26 +114,26 @@ const config = { theme: lightCodeTheme, darkTheme: darkCodeTheme, additionalLanguages: [ - 'bash', - 'diff', - 'json', - 'java', - 'javascript', - 'jsx', - 'typescript', - 'tsx', - 'python', - 'php', - 'sql', - 'yaml', + "bash", + "diff", + "json", + "java", + "javascript", + "jsx", + "typescript", + "tsx", + "python", + "php", + "sql", + "yaml", ], }, }), plugins: [ [ - require.resolve('docusaurus-lunr-search'), + require.resolve("docusaurus-lunr-search"), { - languages: ['en'], + languages: ["en"], disableVersioning: true, }, ],