action-slack/docs/config.js

62 строки
1.7 KiB
JavaScript

const config = {
gatsby: {
pathPrefix: '/',
siteUrl: 'https://action-slack.netlify.app',
gaTrackingId: null,
trailingSlash: false,
},
header: {
logo: '',
logoLink: '',
title: 'action-slack',
githubUrl: 'https://github.com/8398a7/action-slack',
helpUrl: '',
tweetText: '',
twitter: '8398a7',
links: [{ text: '', link: '' }],
search: {
enabled: true,
indexName: process.env.ALGOLIA === 'dev' ? 'dev_action-slack' : 'prod_action-slack',
algoliaAppId: process.env.GATSBY_ALGOLIA_APP_ID,
algoliaSearchKey: process.env.GATSBY_ALGOLIA_SEARCH_KEY,
algoliaAdminKey: process.env.ALGOLIA_ADMIN_KEY,
},
},
sidebar: {
forcedNavOrder: ['/usage', '/with', '/fields', '/migration', '/usecase', '/contributors'],
collapsedNav: ['/usecase', '/migration'],
links: [{ text: 'GitHub', link: 'https://github.com/8398a7/action-slack' }],
frontline: false,
ignoreIndex: true,
title: '',
},
siteMetadata: {
title: 'action-slack | 8398a7',
description: '',
ogImage: null,
docsLocation: 'https://github.com/8398a7/action-slack/tree/master/docs/content',
favicon: 'This is the action-slack documentation site.',
},
pwa: {
enabled: false, // disabling this will also remove the existing service worker.
manifest: {
name: '8398a7@action-slack',
short_name: 'action-slack',
start_url: '/',
background_color: '#6b37bf',
theme_color: '#6b37bf',
display: 'standalone',
crossOrigin: 'use-credentials',
icons: [
{
src: 'src/pwa-512.png',
sizes: `512x512`,
type: `image/png`,
},
],
},
},
};
module.exports = config;