-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from wellcomecollection/upgrade-everything
Upgrade every package
- Loading branch information
Showing
19 changed files
with
6,041 additions
and
3,417 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v20.15.0 |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# These are default codeowners, later rules take precedence | ||
* @wellcomecollection/developers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
// @ts-check | ||
// Note: type annotations allow type checking and IDEs autocompletion | ||
|
||
const lightCodeTheme = require("prism-react-renderer/themes/github"); | ||
const darkCodeTheme = require("prism-react-renderer/themes/dracula"); | ||
import { themes } from "prism-react-renderer"; | ||
|
||
/** @type {import('@docusaurus/types').Config} */ | ||
const config = { | ||
|
@@ -25,12 +23,12 @@ const config = { | |
({ | ||
docs: { | ||
sidebarPath: require.resolve("./sidebars.js"), | ||
remarkPlugins: [require("mdx-mermaid")] | ||
remarkPlugins: [require("mdx-mermaid")], | ||
}, | ||
theme: { | ||
customCss: require.resolve("./src/css/custom.css") | ||
} | ||
}) | ||
customCss: require.resolve("./src/css/custom.css"), | ||
}, | ||
}), | ||
], | ||
[ | ||
"redocusaurus", | ||
|
@@ -39,30 +37,30 @@ const config = { | |
{ | ||
route: "api/catalogue", | ||
spec: "reference/catalogue.yaml", | ||
layout: { title: "Catalogue API" } | ||
layout: { title: "Catalogue API" }, | ||
}, | ||
{ | ||
route: "api/iiif", | ||
spec: "reference/iiif.yaml", | ||
layout: { title: "IIIF APIs" } | ||
layout: { title: "IIIF APIs" }, | ||
}, | ||
{ | ||
route: "api/content", | ||
spec: "reference/content.yaml", | ||
layout: { title: "Content API" } | ||
layout: { title: "Content API" }, | ||
}, | ||
// This is currently disabled until the documentation can be improved | ||
{ | ||
route: "api/text", | ||
spec: "reference/text.yaml", | ||
layout: { title: "Text API" } | ||
} | ||
layout: { title: "Text API" }, | ||
}, | ||
], | ||
theme: { | ||
primaryColor: "#007868" | ||
} | ||
} | ||
] | ||
primaryColor: "#007868", | ||
}, | ||
}, | ||
], | ||
], | ||
|
||
themeConfig: | ||
|
@@ -75,7 +73,7 @@ const config = { | |
logo: { | ||
alt: "Wellcome Collection", | ||
src: "images/wellcome-collection-black.svg", | ||
srcDark: "images/wellcome-collection-white.svg" | ||
srcDark: "images/wellcome-collection-white.svg", | ||
}, | ||
items: [ | ||
{ | ||
|
@@ -86,29 +84,29 @@ const config = { | |
items: [ | ||
{ | ||
to: "api/catalogue", | ||
label: "Catalogue" | ||
label: "Catalogue", | ||
}, | ||
{ | ||
to: "api/iiif", | ||
label: "IIIF" | ||
label: "IIIF", | ||
}, | ||
{ | ||
to: "api/content", | ||
label: "Content" | ||
} | ||
label: "Content", | ||
}, | ||
// Hidden pending improved docs | ||
// { | ||
// to: "api/text", | ||
// label: "Text", | ||
// }, | ||
] | ||
], | ||
}, | ||
{ | ||
href: "https://github.com/wellcomecollection", | ||
position: "right", | ||
label: "GitHub" | ||
} | ||
] | ||
label: "GitHub", | ||
}, | ||
], | ||
}, | ||
footer: { | ||
style: "dark", | ||
|
@@ -118,67 +116,67 @@ const config = { | |
items: [ | ||
{ | ||
label: "API Reference", | ||
to: "docs/api" | ||
} | ||
] | ||
to: "docs/api", | ||
}, | ||
], | ||
}, | ||
{ | ||
title: "Get Involved", | ||
items: [ | ||
{ | ||
label: "Stacks", | ||
href: "https://stacks.wellcomecollection.org" | ||
href: "https://stacks.wellcomecollection.org", | ||
}, | ||
{ | ||
label: "GitHub", | ||
href: "https://github.com/wellcomecollection" | ||
} | ||
] | ||
href: "https://github.com/wellcomecollection", | ||
}, | ||
], | ||
}, | ||
{ | ||
title: "Contact Us", | ||
items: [ | ||
{ | ||
label: "Twitter", | ||
href: "https://twitter.com/ExploreWellcome" | ||
href: "https://twitter.com/ExploreWellcome", | ||
}, | ||
{ | ||
label: "Facebook", | ||
href: "https://www.facebook.com/wellcomecollection" | ||
href: "https://www.facebook.com/wellcomecollection", | ||
}, | ||
{ | ||
label: "Email", | ||
href: "mailto:[email protected]" | ||
} | ||
] | ||
href: "mailto:[email protected]", | ||
}, | ||
], | ||
}, | ||
{ | ||
title: "More", | ||
items: [ | ||
{ | ||
label: "Jobs", | ||
href: "https://wellcome.org/jobs" | ||
href: "https://wellcome.org/jobs", | ||
}, | ||
{ | ||
label: "Privacy", | ||
href: "https://wellcome.org/who-we-are/privacy-and-terms" | ||
href: "https://wellcome.org/who-we-are/privacy-and-terms", | ||
}, | ||
{ | ||
label: "Wellcome Collection", | ||
href: "https://wellcomecollection.org" | ||
} | ||
] | ||
} | ||
href: "https://wellcomecollection.org", | ||
}, | ||
], | ||
}, | ||
], | ||
copyright: `Except where otherwise noted, content on this site is licensed under a <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International Licence</a>.` | ||
copyright: `Except where otherwise noted, content on this site is licensed under a <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International Licence</a>.`, | ||
}, | ||
prism: { | ||
theme: lightCodeTheme, | ||
darkTheme: darkCodeTheme | ||
} | ||
theme: themes.vsLight, | ||
darkTheme: themes.vsDark, | ||
}, | ||
}), | ||
|
||
plugins: [] | ||
plugins: [], | ||
}; | ||
|
||
module.exports = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.