action-slack/docs/config.js

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

const config = {
2020-02-26 17:00:39 +03:00
gatsby: {
pathPrefix: '/',
2020-02-27 15:19:28 +03:00
siteUrl: 'https://action-slack.netlify.com',
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: '',
links: [{ text: '', link: '' }],
search: {
enabled: false,
indexName: '',
algoliaAppId: process.env.GATSBY_ALGOLIA_APP_ID,
algoliaSearchKey: process.env.GATSBY_ALGOLIA_SEARCH_KEY,
algoliaAdminKey: process.env.ALGOLIA_ADMIN_KEY,
},
},
sidebar: {
2020-02-27 15:19:28 +03:00
forcedNavOrder: [
'/usage',
'/with',
2020-04-05 16:27:10 +03:00
'/migration',
2020-02-27 15:19:28 +03:00
'/usecase',
'/contributors',
],
2020-02-26 17:00:39 +03:00
collapsedNav: [
2020-02-27 15:19:28 +03:00
'/usecase', // add trailing slash if enabled above
2020-04-05 16:27:10 +03:00
'/migration',
2020-02-26 17:00:39 +03:00
],
links: [{ text: 'GitHub', link: 'https://github.com/8398a7/action-slack' }],
frontline: false,
ignoreIndex: true,
},
siteMetadata: {
title: 'action-slack | 8398a7',
2020-02-27 15:19:28 +03:00
description: '',
2020-02-26 17:00:39 +03:00
ogImage: null,
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;