Skip to content

Commit

Permalink
docusaurus plugin client redirects installed, blog posts deleted and …
Browse files Browse the repository at this point in the history
…redirected to the new ones in the marketing site
  • Loading branch information
waldron258 committed Jul 12, 2024
1 parent cca3b5d commit 1772bb6
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 133 deletions.
47 changes: 0 additions & 47 deletions docs/blog/2024-05-13-soc2-announcement.md

This file was deleted.

86 changes: 0 additions & 86 deletions docs/blog/2024-05-15-active-learning.md

This file was deleted.

17 changes: 17 additions & 0 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,23 @@ const config = {
darkTheme: darkCodeTheme,
},
}),
plugins: [
[
"@docusaurus/plugin-client-redirects",
{
redirects: [
{
to: "https://www.groundlight.ai/blog/reducing-data-labeling-costs-with-uncertainty-sampling", // new marketing site route
from: "/blog/active-learning", // old blog route
},
{
to: "https://www.groundlight.ai/blog/groundlight-ai-achieves-soc-2-type-2-compliance", // new marketing site route
from: "/blog/groundlight-ai-achieves-soc-2-type-2-compliance", // old blog route
},
],
},
],
],
};

module.exports = config;
24 changes: 24 additions & 0 deletions docs/package-lock.json

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

1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
},
"dependencies": {
"@docusaurus/core": "3.0.0",
"@docusaurus/plugin-client-redirects": "^3.0.0",
"@docusaurus/preset-classic": "3.0.0",
"@easyops-cn/docusaurus-search-local": "^0.38.0",
"@mdx-js/react": "^3.0.0",
Expand Down

0 comments on commit 1772bb6

Please sign in to comment.