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
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
92 changes: 46 additions & 46 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -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 /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
// 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: {
Expand All @@ -50,23 +50,23 @@ 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:
// 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
},
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"),
],
},
}),
Expand All @@ -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:
'<a class="navbar-gh-link" href="https://github.com/blackboard/anthologydevdocs" target="_blank"><img class="navbar-gh-img-link" src="/img/github-logo.png"/></a>',
},
{
type: 'search',
position: 'left',
type: "search",
position: "left",
},
],
},
Expand All @@ -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,
},
],
Expand Down
Loading