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
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_modules
.docusaurus
.build
build
/dist
/.cache
/.parcel-cache
2 changes: 1 addition & 1 deletion docs/partners/become-a-partner.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ author: Mark Kauffman
sidebar_position: 1
---

Our Community partnership level is FREE to developers and provides access to the Learn AMI (Amazon Machine Images) for developers to build REST and LTI applications\*, API limits apply and Behind the Blackboard support is not included. [Community support is available](https://community.blackboard.com).
Our Community partnership level is FREE to developers and provides access to the Learn AMI (Amazon Machine Images) for developers to build REST and LTI applications\*, API limits apply and Behind the Blackboard support is not included. [Community support is available](https://community.anthology.com).

Consider investing in one of our other partnership levels to receive added benefits that help partners deepen integrations, promote solutions, and connect with Blackboard clients. The Blackboard Developers Network (BbDN) is Blackboard’s standard partnership and is available for $3,000 annually. BbDN Partnerships include the following benefits:

Expand Down
24 changes: 12 additions & 12 deletions package-lock.json

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

6 changes: 2 additions & 4 deletions page-redirects.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
const customRedirects = {
"old-slug": "new-slug",
"/docs/developer-amiaasd": "/docs/developer-ami",
"/docs/developer-ami": "/docs/blackboard/sandbox-envs/developer-ami",
"/docs/developer-amifromvmdk":
"/docs/blackboard/sandbox-envs/convert-the-vmdk-file",
"/docs/developer-ami": "/docs/blackboard/sandbox-envs/welcome",
"/docs/developer-amifromvmdk": "/docs/blackboard/sandbox-envs/welcome",
};

module.exports = customRedirects;
28 changes: 0 additions & 28 deletions src/theme/NotFound.js

This file was deleted.

25 changes: 25 additions & 0 deletions src/theme/NotFound/Content/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { useEffect } from "react";
import { useHistory } from "react-router-dom";
import Content from "@theme-original/NotFound/Content";

import customRedirects from "../../../../page-redirects";

export default function ContentWrapper(props) {
const history = useHistory();

useEffect(() => {
const currentUrl = window.location.pathname;
const targetLocation = customRedirects[currentUrl];

if (targetLocation) {
window.history.replaceState({}, "", targetLocation);
history.push(targetLocation);
}
}, [history]);

return (
<>
<Content {...props} />
</>
);
}