website/gatsby-config.js

31 lines
1.1 KiB
JavaScript
Raw Normal View History

2022-08-26 13:46:21 +00:00
module.exports = {
siteMetadata: require("./metadata"),
plugins: [
2022-09-01 09:09:54 +00:00
'gatsby-plugin-postcss',
2022-08-26 13:46:21 +00:00
'gatsby-plugin-preact',
2022-08-26 15:30:19 +00:00
'gatsby-plugin-sitemap',
2022-09-01 08:13:02 +00:00
{ resolve: 'gatsby-plugin-robots-txt', options: { policy: [{userAgent: '*', allow: '/'}] } },
2022-08-26 13:46:21 +00:00
{
resolve: 'gatsby-source-filesystem',
options: {
"name": "pages",
"path": "./src/pages/docs/",
},
__key: "pages"
},
{
2022-09-01 09:09:54 +00:00
resolve: 'gatsby-transformer-remark',
2022-08-26 13:46:21 +00:00
options: {
plugins: [
2022-09-01 09:09:54 +00:00
'gatsby-remark-smartypants',
{ resolve: 'gatsby-remark-mermaid', options: { theme: "dark", } },
{ resolve: 'gatsby-remark-prismjs', options: { showLineNumbers: false, } },
2022-08-26 13:46:21 +00:00
]
}
},
2022-09-01 08:13:02 +00:00
{ resolve: 'gatsby-plugin-html-attributes', options: { lang: 'en', 'data-theme': 'dark' } },
2022-08-26 15:30:19 +00:00
{ resolve: 'gatsby-plugin-nprogress', options: { color: '#6419E6' } },
2022-09-01 08:13:02 +00:00
{ resolve: 'gatsby-plugin-manifest', options: require("./manifest") },
{ resolve: 'gatsby-plugin-canonical-urls', options: { siteUrl: require("./metadata").siteUrl } },
2022-08-26 13:46:21 +00:00
]
};