Skip to content

Commit

Permalink
docs(): add sources summary page (#7480)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeff Merrick <jeff@wireform.io>
  • Loading branch information
laulpogan and jeffmerrick committed Mar 10, 2023
1 parent 66f255e commit c4d1d82
Show file tree
Hide file tree
Showing 26 changed files with 2,576 additions and 120 deletions.
35 changes: 25 additions & 10 deletions docs-website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ module.exports = {
favicon: "img/favicon.ico",
organizationName: "datahub-project", // Usually your GitHub org/user name.
projectName: "datahub", // Usually your repo name.
stylesheets: ["https://fonts.googleapis.com/css2?family=Manrope:wght@400;600&display=swap"],
stylesheets: [
"https://fonts.googleapis.com/css2?family=Manrope:wght@400;600&display=swap",
],
noIndex: isSaas,
customFields: {
isSaas: isSaas,
Expand All @@ -31,8 +33,12 @@ module.exports = {
title: null,
logo: {
alt: "DataHub Logo",
src: `img/${isSaas ? "acryl" : "datahub"}-logo-color-light-horizontal.svg`,
srcDark: `img/${isSaas ? "acryl" : "datahub"}-logo-color-dark-horizontal.svg`,
src: `img/${
isSaas ? "acryl" : "datahub"
}-logo-color-light-horizontal.svg`,
srcDark: `img/${
isSaas ? "acryl" : "datahub"
}-logo-color-dark-horizontal.svg`,
},
items: [
{
Expand All @@ -41,6 +47,11 @@ module.exports = {
label: "Docs",
position: "right",
},
{
href: "/integrations",
label: "Integrations",
position: "right",
},
{
to: "docs/demo",
label: "Demo",
Expand All @@ -51,11 +62,6 @@ module.exports = {
label: "Blog",
position: "right",
},
{
href: "https://feature-requests.datahubproject.io/",
label: "Feature Requests",
position: "right",
},
{
href: "https://feature-requests.datahubproject.io/roadmap",
label: "Roadmap",
Expand Down Expand Up @@ -188,15 +194,24 @@ module.exports = {
blog: false,
theme: {
customCss: [
isSaas ? require.resolve("./src/styles/acryl.scss") : require.resolve("./src/styles/datahub.scss"),
isSaas
? require.resolve("./src/styles/acryl.scss")
: require.resolve("./src/styles/datahub.scss"),
require.resolve("./src/styles/global.scss"),
],
},
pages: {
path: "src/pages",
mdxPageComponent: "@theme/MDXPage",
},
},
],
],
plugins: [
["@docusaurus/plugin-ideal-image", { quality: 100, sizes: [320, 640, 1280, 1440, 1600] }],
[
"@docusaurus/plugin-ideal-image",
{ quality: 100, sizes: [320, 640, 1280, 1440, 1600] },
],
"docusaurus-plugin-sass",
[
"docusaurus-graphql-plugin",
Expand Down
Loading

0 comments on commit c4d1d82

Please sign in to comment.