action-slack/docs/config.js

62 строки
1.7 KiB
JavaScript
Исходник Постоянная ссылка Обычный вид История

const config = {
2020-02-26 17:00:39 +03:00
gatsby: {
pathPrefix: '/',
2020-06-29 07:24:19 +03:00
siteUrl: 'https://action-slack.netlify.app',
2020-02-26 17:00:39 +03:00
gaTrackingId: null,
trailingSlash: false,
},
header: {
2020-02-27 15:19:28 +03:00
logo: '',
logoLink: '',
2020-02-26 17:00:39 +03:00
title: 'action-slack',
githubUrl: 'https://github.com/8398a7/action-slack',
helpUrl: '',
tweetText: '',
2020-06-28 09:59:17 +03:00
twitter: '8398a7',
2020-02-26 17:00:39 +03:00
links: [{ text: '', link: '' }],
search: {
2020-06-28 10:09:02 +03:00
enabled: true,
2020-06-29 07:22:04 +03:00
indexName: process.env.ALGOLIA === 'dev' ? 'dev_action-slack' : 'prod_action-slack',
2020-02-26 17:00:39 +03:00
algoliaAppId: process.env.GATSBY_ALGOLIA_APP_ID,
algoliaSearchKey: process.env.GATSBY_ALGOLIA_SEARCH_KEY,
algoliaAdminKey: process.env.ALGOLIA_ADMIN_KEY,
},
},
sidebar: {
2020-06-28 16:23:51 +03:00
forcedNavOrder: ['/usage', '/with', '/fields', '/migration', '/usecase', '/contributors'],
collapsedNav: ['/usecase', '/migration'],
2020-02-26 17:00:39 +03:00
links: [{ text: 'GitHub', link: 'https://github.com/8398a7/action-slack' }],
frontline: false,
ignoreIndex: true,
2020-06-28 09:59:17 +03:00
title: '',
2020-02-26 17:00:39 +03:00
},
siteMetadata: {
title: 'action-slack | 8398a7',
2020-02-27 15:19:28 +03:00
description: '',
2020-02-26 17:00:39 +03:00
ogImage: null,
2020-06-28 09:59:17 +03:00
docsLocation: 'https://github.com/8398a7/action-slack/tree/master/docs/content',
2020-02-27 15:19:28 +03:00
favicon: 'This is the action-slack documentation site.',
2020-02-26 17:00:39 +03:00
},
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;