Skip to content

Commit

Permalink
Status Dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
afshin committed Feb 26, 2024
1 parent 6cbd394 commit b7118fb
Show file tree
Hide file tree
Showing 21 changed files with 2,443 additions and 29 deletions.
24 changes: 19 additions & 5 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const prism = require('prism-react-renderer');
const path = require("path");
import { themes } from 'prism-react-renderer'

const editUrl = {
editUrl: "https://github.com/conda-forge/conda-forge.github.io/tree/main/",
};
Expand Down Expand Up @@ -107,6 +109,18 @@ const config = {
// breadcrumbs: false,
// }),
// ],
[
path.resolve(__dirname, "plugin-migration-urls"),
{
routes: [
{
path: "/status/migration/",
exact: false,
component: "@site/src/components/MigrationDetails/",
},
],
},
],
[
"content-blog",
/** @type {import('@docusaurus/plugin-content-blog').Options} */
Expand Down Expand Up @@ -379,8 +393,8 @@ const config = {
title: "Resources",
items: [
{
label: "Dashboard",
to: "/dashboard/",
label: "Status",
to: "/status/",
},
{
label: "Style guide",
Expand Down Expand Up @@ -408,8 +422,8 @@ const config = {
copyright: copyright,
},
prism: {
theme: prism.themes.github,
darkTheme: prism.themes.dracula,
theme: themes.github,
darkTheme: themes.dracula,
additionalLanguages: ['bash', 'diff', 'json', 'batch', 'yaml', 'python', 'markdown', 'shell-session'],
},
docs: {
Expand Down
Loading

0 comments on commit b7118fb

Please sign in to comment.