2021-03-05 00:12:12 -08:00
module . exports = {
title : "DataHub" ,
2021-06-24 22:21:21 -07:00
tagline : "A Metadata Platform for the Modern Data Stack" ,
2021-03-05 00:12:12 -08:00
url : "https://datahubproject.io" ,
baseUrl : "/" ,
onBrokenLinks : "throw" ,
onBrokenMarkdownLinks : "throw" ,
favicon : "img/favicon.ico" ,
organizationName : "linkedin" , // Usually your GitHub org/user name.
projectName : "datahub" , // Usually your repo name.
2021-10-21 15:49:44 -05:00
stylesheets : [
"https://fonts.googleapis.com/css2?family=Manrope:wght@400;600&display=swap" ,
] ,
2021-03-05 00:12:12 -08:00
themeConfig : {
2021-10-21 15:49:44 -05:00
colorMode : {
switchConfig : {
darkIcon : " " ,
darkIconStyle : {
backgroundImage : ` url("data:image/svg+xml,%3Csvg width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.556 9.784A6.065 6.065 0 0 1 14 9.987a5.948 5.948 0 0 1-4.235-1.752 6.02 6.02 0 0 1-1.548-5.792.75.75 0 0 0-.918-.917A7.51 7.51 0 0 0 3.93 3.462c-2.924 2.924-2.924 7.682 0 10.607a7.453 7.453 0 0 0 5.304 2.198c2.003 0 3.886-.78 5.302-2.197a7.505 7.505 0 0 0 1.937-3.368.75.75 0 0 0-.918-.918Zm-2.079 3.225a5.96 5.96 0 0 1-4.242 1.758 5.964 5.964 0 0 1-4.243-1.758 6.009 6.009 0 0 1 0-8.486 5.942 5.942 0 0 1 1.545-1.112 7.52 7.52 0 0 0 2.167 5.886 7.479 7.479 0 0 0 5.886 2.168 6.026 6.026 0 0 1-1.113 1.544Z' fill='%23fff' opacity='.5'/%3E%3C/svg%3E") ` ,
width : "18px" ,
height : "18px" ,
margin : "-4px 0 0 -4px" ,
} ,
lightIcon : " " ,
lightIconStyle : {
backgroundImage : ` url("data:image/svg+xml,%3Csvg width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='.5' fill='%23fff'%3E%3Cpath d='M5.245 9A3.76 3.76 0 0 0 9 12.755 3.76 3.76 0 0 0 12.755 9 3.76 3.76 0 0 0 9 5.245 3.76 3.76 0 0 0 5.245 9ZM9 6.745A2.258 2.258 0 0 1 11.255 9 2.258 2.258 0 0 1 9 11.255 2.258 2.258 0 0 1 6.745 9 2.258 2.258 0 0 1 9 6.745Zm-.752 7.505h1.5v2.25h-1.5v-2.25Zm0-12.75h1.5v2.25h-1.5V1.5Zm-6.75 6.75h2.25v1.5h-2.25v-1.5Zm12.75 0h2.25v1.5h-2.25v-1.5ZM3.164 13.773l1.59-1.592 1.062 1.06-1.59 1.592-1.062-1.06ZM12.18 4.758l1.592-1.592 1.06 1.06-1.591 1.592-1.06-1.06ZM4.756 5.819l-1.59-1.592 1.06-1.06L5.818 4.76l-1.06 1.06ZM14.832 13.773l-1.06 1.06-1.592-1.591 1.06-1.06 1.592 1.59Z'/%3E%3C/g%3E%3C/svg%3E") ` ,
width : "18px" ,
height : "18px" ,
margin : "-4px 0 0 -4px" ,
} ,
} ,
} ,
announcementBar : {
id : "announcement" ,
content :
2021-11-26 16:35:51 -06:00
'<div><img src="/img/acryl-logo-white-mark.svg" /><p><strong>Managed DataHub</strong><span> Acryl Data delivers an easy to consume DataHub platform for the enterprise</span></p></div> <a href="https://www.acryldata.io/datahub-beta" target="_blank" class="button button--primary">Sign up for Managed DataHub →</a>' ,
2021-10-21 15:49:44 -05:00
backgroundColor : "#090a11" ,
textColor : "#ffffff" ,
isCloseable : false ,
} ,
2021-03-05 00:12:12 -08:00
navbar : {
2021-10-21 15:49:44 -05:00
title : null ,
2021-03-05 00:12:12 -08:00
logo : {
alt : "DataHub Logo" ,
2021-10-21 15:49:44 -05:00
src : "img/datahub-logo-color-light-horizontal.svg" ,
srcDark : "img/datahub-logo-color-dark-horizontal.svg" ,
2021-03-05 00:12:12 -08:00
} ,
items : [
{
to : "docs/" ,
activeBasePath : "docs" ,
label : "Docs" ,
position : "right" ,
} ,
{
to : "docs/demo" ,
label : "Demo" ,
position : "right" ,
} ,
2021-11-17 18:51:56 -06:00
{
href : "https://blog.datahubproject.io/" ,
label : "Blog" ,
position : "right" ,
} ,
{
href : "https://feature-requests.datahubproject.io/" ,
label : "Feature Requests" ,
position : "right" ,
} ,
{
2021-12-07 19:11:22 -06:00
to : "docs/roadmap" ,
2021-11-17 18:51:56 -06:00
label : "Roadmap" ,
position : "right" ,
} ,
2021-05-25 18:51:24 -07:00
{
2021-08-10 01:31:37 -04:00
href : "https://slack.datahubproject.io" ,
2021-10-21 15:49:44 -05:00
"aria-label" : "Slack" ,
2021-05-25 18:51:24 -07:00
position : "right" ,
2021-10-21 15:49:44 -05:00
className : "item__icon item__slack" ,
2021-05-25 18:51:24 -07:00
} ,
2021-03-05 00:12:12 -08:00
{
href : "https://github.com/linkedin/datahub" ,
2021-10-21 15:49:44 -05:00
"aria-label" : "GitHub" ,
2021-03-05 00:12:12 -08:00
position : "right" ,
2021-10-21 15:49:44 -05:00
className : "item__icon item__github" ,
2021-03-05 00:12:12 -08:00
} ,
2021-11-17 18:51:56 -06:00
2021-10-21 15:49:44 -05:00
{
href : "https://www.youtube.com/channel/UC3qFQC5IiwR5fvWEqi_tJ5w" ,
"aria-label" : "YouTube" ,
position : "right" ,
className : "item__icon item__youtube" ,
2021-08-10 01:31:37 -04:00
} ,
2021-03-05 00:12:12 -08:00
] ,
} ,
footer : {
style : "dark" ,
links : [
{
title : "Docs" ,
items : [
{
label : "Introduction" ,
to : "docs/" ,
} ,
{
label : "Quickstart" ,
to : "docs/quickstart" ,
} ,
{
label : "Features" ,
to : "docs/features" ,
} ,
{
label : "FAQs" ,
to : "docs/faq" ,
} ,
] ,
} ,
{
title : "Community" ,
items : [
{
label : "Slack" ,
2021-03-31 12:29:01 -07:00
href : "https://slack.datahubproject.io" ,
2021-03-05 00:12:12 -08:00
} ,
{
label : "YouTube" ,
href : "https://www.youtube.com/channel/UC3qFQC5IiwR5fvWEqi_tJ5w" ,
} ,
2021-11-17 18:51:56 -06:00
{
label : "Blog" ,
href : "https://blog.datahubproject.io/" ,
} ,
2021-03-05 00:12:12 -08:00
{
label : "Town Halls" ,
to : "docs/townhalls" ,
} ,
{
label : "Adoption" ,
to : "docs/#adoption" ,
} ,
] ,
} ,
{
title : "More" ,
items : [
{
label : "Demo" ,
2021-03-07 10:46:27 -08:00
to : "docs/demo" ,
2021-03-05 00:12:12 -08:00
} ,
{
label : "Roadmap" ,
2021-12-07 19:11:22 -06:00
to : "docs/roadmap" ,
2021-03-05 00:12:12 -08:00
} ,
{
label : "Contributing" ,
to : "docs/contributing" ,
} ,
{
label : "GitHub" ,
href : "https://github.com/linkedin/datahub" ,
} ,
2021-11-17 18:51:56 -06:00
{
label : "Feature Requests" ,
href : "https://feature-requests.datahubproject.io/" ,
} ,
2021-03-05 00:12:12 -08:00
] ,
} ,
] ,
copyright : ` Copyright © 2015- ${ new Date ( ) . getFullYear ( ) } DataHub Project Authors. ` ,
} ,
2021-05-11 15:16:12 -07:00
prism : {
2021-08-10 01:31:37 -04:00
// theme: require('prism-react-renderer/themes/github'),
// darkTheme: require('prism-react-renderer/themes/dracula'),
additionalLanguages : [ "ini" ] ,
2021-05-11 15:16:12 -07:00
} ,
2021-03-05 00:12:12 -08:00
algolia : {
apiKey : "26a4b687e96e7476b5a6f11365a83336" ,
indexName : "datahubproject" ,
// contextualSearch: true,
// searchParameters: {},
// debug: true,
} ,
} ,
presets : [
[
"@docusaurus/preset-classic" ,
{
docs : {
path : "genDocs" ,
sidebarPath : require . resolve ( "./sidebars.js" ) ,
editUrl : "https://github.com/linkedin/datahub/blob/master/" ,
// TODO: make these work correctly with the doc generation
showLastUpdateAuthor : true ,
showLastUpdateTime : true ,
} ,
blog : false ,
theme : {
2021-10-21 15:49:44 -05:00
customCss : require . resolve ( "./src/styles/global.scss" ) ,
2021-03-05 00:12:12 -08:00
} ,
} ,
] ,
] ,
plugins : [
2021-10-21 15:49:44 -05:00
[
"@docusaurus/plugin-ideal-image" ,
{ quality : 100 , sizes : [ 320 , 640 , 1280 , 1440 , 1600 ] } ,
] ,
"docusaurus-plugin-sass" ,
2021-09-22 17:30:15 -07:00
[
"docusaurus-graphql-plugin" ,
{
schema : "./graphql/combined.graphql" ,
routeBasePath : "/docs/graphql" ,
} ,
2021-10-21 15:49:44 -05:00
] ,
2021-03-05 00:12:12 -08:00
// '@docusaurus/plugin-google-gtag',
// [
// require.resolve("@easyops-cn/docusaurus-search-local"),
// {
// // `hashed` is recommended as long-term-cache of index file is possible.
// hashed: true,
// language: ["en"],
// docsDir: "genDocs",
// blogDir: [],
// },
// ],
] ,
} ;