This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
/
gatsby-config.js
78 lines (76 loc) · 2.08 KB
/
gatsby-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
const scala = require("highlight.js/lib/languages/scala");
const { searchPluginConfig } = require("./config/search");
const wrapESMPlugin =
(name) =>
(opts) =>
async (...args) => {
const mod = await import(name);
const plugin = mod.default(opts);
return plugin(...args);
};
module.exports = {
siteMetadata: {
title: "Delta Lake Docs",
siteUrl: "https://docs.delta.io",
description:
"Delta Lake is an open-source storage framework that enables building a Lakehouse architecture with compute engines including Spark, PrestoDB, Flink, Trino, and Hive and APIs for Scala, Java, Rust, Ruby, and Python.",
twitter: "@DeltaLakeOSS",
},
plugins: [
"gatsby-plugin-anchor-links",
"gatsby-plugin-styled-components",
"gatsby-plugin-image",
"gatsby-plugin-sitemap",
{
resolve: "gatsby-plugin-manifest",
options: {
name: "Delta Lake",
short_name: "Delta Lake Docs",
start_url: "/",
background_color: "#042436",
theme_color: "#00ADD4",
icon: "src/images/icon.png",
icon_options: {
purpose: "maskable",
},
},
},
{
resolve: "gatsby-plugin-mdx",
options: {
gatsbyRemarkPlugins: [
{
resolve: "gatsby-remark-images",
options: {
maxWidth: 684 * 2,
},
},
{
resolve: "gatsby-remark-copy-linked-files",
options: {
ignoreFileExtensions: ["png", "jpg", "jpeg"],
},
},
],
mdxOptions: {
// eslint-disable-next-line global-require
remarkPlugins: [require("remark-gfm")],
rehypePlugins: [
wrapESMPlugin("rehype-slug"),
[wrapESMPlugin("rehype-highlight"), { languages: { scala } }],
],
},
},
},
"gatsby-plugin-sharp",
"gatsby-transformer-sharp",
{
resolve: `gatsby-source-filesystem`,
options: {
name: `pages`,
path: `${__dirname}/src/pages`,
},
},
searchPluginConfig,
],
};