strapi/docs/.vuepress/config.js

347 lines
9.5 KiB
JavaScript
Raw Normal View History

2018-08-28 11:23:59 +02:00
module.exports = {
2019-11-07 12:05:39 +01:00
title: 'Strapi Documentation',
description: 'The headless CMS developers love.',
2018-10-05 17:24:17 +02:00
base: '/documentation/',
2019-11-28 11:45:45 +01:00
plugins: [
'@vuepress/medium-zoom',
'vuepress-plugin-element-tabs',
[
'@vuepress/google-analytics',
{
ga: 'UA-54313258-1',
},
],
],
2019-11-07 13:53:36 +01:00
head: [
[
'link',
{
rel: 'icon',
href: 'https://strapi.io/favicon.ico',
},
],
[
'meta',
{
property: 'og:title',
content: 'Strapi Documentation',
},
],
[
'meta',
{
property: 'og:type',
content: 'article',
},
],
[
'meta',
{
property: 'og:url',
content: 'https://strapi.io/documentation/',
},
],
[
'meta',
{
property: 'og:description',
content: 'The headless CMS developers love.',
},
],
[
'meta',
{
property: 'og:image',
content: 'https://strapi.io/assets/images/strapi-website-preview.png',
},
],
[
'meta',
{
property: 'og:article:author',
content: 'strapi',
},
],
[
'meta',
{
property: 'twitter:card',
content: 'summary_large_image',
},
],
[
'meta',
{
property: 'twitter:url',
content: 'https://strapi.io/documentation/',
},
],
[
'meta',
{
property: 'twitter:site',
content: '@strapijs',
},
],
[
'meta',
{
property: 'twitter:title',
content: 'Strapi Documentation',
},
],
[
'meta',
{
property: 'twitter:description',
content: 'The headless CMS developers love.',
},
],
[
'meta',
{
property: 'twitter:image',
content: 'http://strapi.io/assets/images/strapi-website-preview.png',
},
],
],
2018-08-28 11:23:59 +02:00
themeConfig: {
2019-11-07 13:53:36 +01:00
nav: [
2019-11-07 12:05:39 +01:00
{
text: 'Versions',
items: [
{
text: 'Version 3.0.0-beta.x',
link: '/3.0.0-beta.x/',
},
{
text: 'Version 3.0.0-alpha.x',
link: '/3.0.0-alpha.x/',
},
],
},
{
text: 'Website',
2019-11-26 16:58:35 +01:00
link: 'https://strapi.io',
2019-11-07 12:05:39 +01:00
},
{
2019-11-07 13:53:36 +01:00
text: 'Slack',
2019-11-07 12:05:39 +01:00
link: 'https://slack.strapi.io',
},
{
text: 'Blog',
link: 'https://blog.strapi.io',
},
2019-11-07 13:53:36 +01:00
],
2018-09-28 11:04:07 +02:00
repo: 'strapi/strapi',
docsDir: 'docs',
2019-04-24 16:27:43 +02:00
algolia: {
apiKey: 'a93451de224096fb34471c8b8b049de7',
indexName: 'strapi',
2019-04-24 16:27:43 +02:00
},
2018-09-28 11:04:07 +02:00
editLinks: true,
editLinkText: 'Improve this page',
serviceWorker: true,
2019-11-07 12:05:39 +01:00
sidebarDepth: 1,
sidebar: {
2019-05-07 17:00:37 +02:00
'/3.0.0-beta.x/': [
{
collapsable: false,
2019-11-07 13:53:36 +01:00
title: '🚀 Getting Started',
children: [
2019-05-07 17:00:37 +02:00
'/3.0.0-beta.x/getting-started/introduction',
'/3.0.0-beta.x/getting-started/install-requirements',
'/3.0.0-beta.x/getting-started/quick-start',
'/3.0.0-beta.x/getting-started/quick-start-tutorial',
],
},
{
collapsable: true,
title: '📄 Content API',
children: [
'/3.0.0-beta.x/content-api/api-endpoints',
'/3.0.0-beta.x/content-api/parameters',
],
},
{
collapsable: true,
title: '💡 Concepts',
children: [
'/3.0.0-beta.x/concepts/file-structure',
'/3.0.0-beta.x/concepts/configurations',
'/3.0.0-beta.x/concepts/requests-responses',
'/3.0.0-beta.x/concepts/customization',
'/3.0.0-beta.x/concepts/routing',
'/3.0.0-beta.x/concepts/controllers',
'/3.0.0-beta.x/concepts/models',
'/3.0.0-beta.x/concepts/services',
'/3.0.0-beta.x/concepts/queries',
'/3.0.0-beta.x/concepts/parameters',
'/3.0.0-beta.x/concepts/policies',
'/3.0.0-beta.x/concepts/public-assets',
'/3.0.0-beta.x/concepts/hooks',
'/3.0.0-beta.x/concepts/middlewares',
'/3.0.0-beta.x/concepts/logging',
'/3.0.0-beta.x/concepts/plugins',
],
},
{
collapsable: true,
title: '📚 Guides',
children: [
2019-10-29 20:06:45 +01:00
'/3.0.0-beta.x/guides/update-version',
2019-05-07 17:00:37 +02:00
'/3.0.0-beta.x/guides/databases',
'/3.0.0-beta.x/guides/deployment',
2019-11-21 14:35:56 +01:00
'/3.0.0-beta.x/guides/process-manager',
2019-10-23 17:56:17 +02:00
'/3.0.0-beta.x/guides/jwt-validation',
2019-10-24 15:08:42 +02:00
'/3.0.0-beta.x/guides/error-catching',
'/3.0.0-beta.x/guides/external-data',
2019-11-21 16:39:42 +01:00
'/3.0.0-beta.x/guides/custom-data-response',
'/3.0.0-beta.x/guides/custom-admin',
2019-10-29 19:27:16 +01:00
'/3.0.0-beta.x/guides/slug',
2019-05-07 17:00:37 +02:00
'/3.0.0-beta.x/guides/webhooks',
],
},
{
collapsable: true,
2019-11-07 13:53:36 +01:00
title: '⚙️️ Admin Panel',
children: [
'/3.0.0-beta.x/admin-panel/customization',
'/3.0.0-beta.x/admin-panel/deploy',
],
},
{
collapsable: true,
title: '📦 Plugins',
children: [
'/3.0.0-beta.x/plugins/users-permissions',
'/3.0.0-beta.x/plugins/documentation',
2019-10-07 17:53:33 +02:00
'/3.0.0-beta.x/plugins/email',
'/3.0.0-beta.x/plugins/upload',
'/3.0.0-beta.x/plugins/graphql',
],
},
{
collapsable: true,
2019-11-07 13:53:36 +01:00
title: '🔌 Local Plugins',
children: [
2019-05-07 17:00:37 +02:00
'/3.0.0-beta.x/plugin-development/quick-start',
'/3.0.0-beta.x/plugin-development/plugin-architecture',
'/3.0.0-beta.x/plugin-development/backend-development',
'/3.0.0-beta.x/plugin-development/frontend-development',
],
},
{
collapsable: true,
title: '💻 Command Line Interface',
2019-05-07 17:00:37 +02:00
children: ['/3.0.0-beta.x/cli/CLI'],
},
{
collapsable: true,
title: '🏗 Global strapi',
children: [
'/3.0.0-beta.x/global-strapi/api-reference',
'/3.0.0-beta.x/global-strapi/usage-information',
],
},
{
collapsable: false,
title: '📚 Resources',
children: [
[
'https://github.com/strapi/strapi/blob/master/CONTRIBUTING.md',
'Contributing guide',
],
2019-05-07 17:00:37 +02:00
'/3.0.0-beta.x/migration-guide/',
],
},
],
2019-06-01 08:51:42 -07:00
'/3.0.0-alpha.x/': [
{
collapsable: false,
2019-11-07 13:53:36 +01:00
title: '🚀 Getting Started',
children: [
2019-06-01 08:51:42 -07:00
'/3.0.0-alpha.x/getting-started/introduction',
'/3.0.0-alpha.x/getting-started/install-requirements',
'/3.0.0-alpha.x/getting-started/quick-start',
'/3.0.0-alpha.x/getting-started/quick-start-tutorial',
],
},
{
2018-10-28 08:15:31 +01:00
collapsable: true,
title: '💡 Guides',
2018-10-13 19:07:25 +01:00
children: [
2019-06-01 08:51:42 -07:00
'/3.0.0-alpha.x/concepts/concepts',
'/3.0.0-alpha.x/guides/api-documentation',
'/3.0.0-alpha.x/guides/authentication',
'/3.0.0-alpha.x/configurations/configurations',
'/3.0.0-alpha.x/guides/controllers',
'/3.0.0-alpha.x/guides/databases',
'/3.0.0-alpha.x/guides/deployment',
'/3.0.0-alpha.x/guides/email',
'/3.0.0-alpha.x/guides/upload',
'/3.0.0-alpha.x/guides/filters',
'/3.0.0-alpha.x/guides/graphql',
'/3.0.0-alpha.x/guides/i18n',
'/3.0.0-alpha.x/guides/models',
'/3.0.0-alpha.x/guides/policies',
'/3.0.0-alpha.x/guides/public-assets',
'/3.0.0-alpha.x/guides/requests',
'/3.0.0-alpha.x/guides/responses',
'/3.0.0-alpha.x/guides/routing',
'/3.0.0-alpha.x/guides/services',
'/3.0.0-alpha.x/guides/webhooks',
2018-10-03 14:30:06 +02:00
],
},
2018-10-03 14:30:06 +02:00
{
2018-10-28 08:15:31 +01:00
collapsable: true,
title: '⚙️️ Advanced',
2018-10-03 14:30:06 +02:00
children: [
2019-06-01 08:51:42 -07:00
'/3.0.0-alpha.x/advanced/customize-admin',
'/3.0.0-alpha.x/advanced/hooks',
'/3.0.0-alpha.x/advanced/logging',
'/3.0.0-alpha.x/advanced/middlewares',
'/3.0.0-alpha.x/advanced/usage-information',
2018-10-03 14:30:06 +02:00
],
},
2018-10-28 08:15:31 +01:00
{
collapsable: true,
title: '🔌 Plugin Development',
children: [
2019-06-01 08:51:42 -07:00
'/3.0.0-alpha.x/plugin-development/quick-start',
'/3.0.0-alpha.x/plugin-development/plugin-architecture',
'/3.0.0-alpha.x/plugin-development/backend-development',
'/3.0.0-alpha.x/plugin-development/frontend-development',
'/3.0.0-alpha.x/plugin-development/frontend-use-cases',
'/3.0.0-alpha.x/plugin-development/utils',
2018-10-28 08:15:31 +01:00
],
},
{
collapsable: true,
title: '💻 Command Line Interface',
2019-06-01 08:51:42 -07:00
children: ['/3.0.0-alpha.x/cli/CLI'],
2018-10-28 08:15:31 +01:00
},
{
collapsable: true,
title: '🏗 API Reference',
2019-06-01 08:51:42 -07:00
children: ['/3.0.0-alpha.x/api-reference/reference'],
2018-10-28 08:15:31 +01:00
},
2018-10-03 14:30:06 +02:00
{
collapsable: false,
2018-10-28 08:15:31 +01:00
title: '📚 Resources',
2018-10-03 14:30:06 +02:00
children: [
[
'https://github.com/strapi/strapi/blob/master/CONTRIBUTING.md',
'Contributing guide',
],
2019-06-01 08:51:42 -07:00
'/3.0.0-alpha.x/migration-guide/',
'/3.0.0-alpha.x/articles/',
2018-10-03 14:30:06 +02:00
],
},
],
},
2018-08-28 11:23:59 +02:00
},
};