diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index fea4b1c151..66fe2af414 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -42,8 +42,6 @@ The core team will review your pull request and will either merge it, request ch
### Contribution Workflow
-
-
#### Setting up
1. Fork the `documentation` repository.
@@ -87,7 +85,7 @@ The core team will review your pull request and will either merge it, request ch
```
#### Writing
-We can't provide you specific procedures with step-by-step instructions to write technical documentation. But if you have any question or need help, do feel free to reach us through [our forum](https://forum.strapi.io/).
+We can't provide you specific procedures with step-by-step instructions to write technical documentation. But our ["12 Rules of Technical Writing"](https://handbook.strapi.io/user-success-manual/12-rules-of-technical-writing) and [style guide](https://handbook.strapi.io/user-success-manual/strapi-documentation-style-guide) should help you get started. If you have any question or need help, do feel free to reach us through [our forum](https://forum.strapi.io/).
#### Sharing & reviewing
diff --git a/README.md b/README.md
index 7289f36d08..2c6af7496a 100644
--- a/README.md
+++ b/README.md
@@ -17,14 +17,14 @@ Strapi is a free and open-source headless CMS delivering your content anywhere y
- **Keep control over your data**. With Strapi, you know where your data is stored, and you keep full control at all times.
- **Self-hosted**. You can host and scale Strapi projects the way you want. You can choose any hosting platform you want: AWS, Netlify, Heroku, a VPS, or a dedicated server. You can scale as you grow, 100% independent.
-- **Database agnostic**. You can choose the database you prefer. Strapi works with SQL & NoSQL databases: MongoDB, PostgreSQL, MySQL, MariaDB, and SQLite.
+- **Database agnostic**. You can choose the database you prefer. Strapi works with SQL databases: PostgreSQL, MySQL, MariaDB, and SQLite.
- **Customizable**. You can quickly build your logic by fully customizing APIs, routes, or plugins to fit your needs perfectly.
## Documentation Contribution Requirements
The following are required if you are submitting pull requests to the documentation. For more information on how to contribute please see our [contribution guide](./CONTRIBUTING.md)
-- NodeJS >= 10.16 <=12
+- NodeJS >=12.x <=14.x
- NPM >= 6.x
- Yarn >= 1.22.x
diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
index 93192dc7e2..53c07c3839 100644
--- a/docs/.vuepress/config.js
+++ b/docs/.vuepress/config.js
@@ -1,8 +1,8 @@
const sidebar = {
developer: [
{
- collapsable: false,
title: '🚀 Getting Started',
+ collapsable: false,
children: [
['/developer-docs/latest/getting-started/introduction', 'Introduction'],
['/developer-docs/latest/getting-started/quick-start', 'Quick Start Guide'],
@@ -11,8 +11,8 @@ const sidebar = {
],
},
{
- collapsable: false,
title: '⚙️ Setup & Deployment',
+ collapsable: false,
sidebarDepth: 0,
initialOpenGroupIndex: -1, // make sure that no subgroup is expanded by default
children: [
@@ -39,7 +39,38 @@ const sidebar = {
],
},
['/developer-docs/latest/setup-deployment-guides/file-structure.md', 'Project structure'],
- ['/developer-docs/latest/setup-deployment-guides/configurations.md', 'Configurations'],
+ {
+ title: 'Configurations',
+ path: '/developer-docs/latest/setup-deployment-guides/configurations.html',
+ collapsable: true,
+ children: [
+ {
+ title: 'Required configurations',
+ collapsable: true,
+ children: [
+ ['/developer-docs/latest/setup-deployment-guides/configurations/required/databases.md', 'Database'],
+ ['/developer-docs/latest/setup-deployment-guides/configurations/required/server.md', 'Server'],
+ ['/developer-docs/latest/setup-deployment-guides/configurations/required/admin-panel.md', 'Admin panel'],
+ ['/developer-docs/latest/setup-deployment-guides/configurations/required/middlewares.md', 'Middlewares'],
+ ]
+ },
+ {
+ title: 'Optional configurations',
+ collapsable: true,
+ children: [
+ ['/developer-docs/latest/setup-deployment-guides/configurations/optional/api-tokens.md', 'API tokens'],
+ ['/developer-docs/latest/setup-deployment-guides/configurations/optional/functions.md', 'Functions'],
+ ['/developer-docs/latest/setup-deployment-guides/configurations/optional/cronjobs.md', 'Cron jobs'],
+ ['/developer-docs/latest/setup-deployment-guides/configurations/optional/api.md', 'API'],
+ ['/developer-docs/latest/setup-deployment-guides/configurations/optional/plugins.md', 'Plugins'],
+ ['/developer-docs/latest/setup-deployment-guides/configurations/optional/environment.md', 'Environment'],
+ ['/developer-docs/latest/setup-deployment-guides/configurations/optional/public-assets.md', 'Public Assets'],
+ ['/developer-docs/latest/setup-deployment-guides/configurations/optional/sso.md', 'Single Sign On (SSO)'],
+ ['/developer-docs/latest/setup-deployment-guides/configurations/optional/rbac.md', 'Role-Based Access Control (RBAC)'],
+ ]
+ }
+ ]
+ },
{
title: 'Deployment',
path: '/developer-docs/latest/setup-deployment-guides/deployment',
@@ -48,8 +79,7 @@ const sidebar = {
children: [
{
title: 'Hosting Provider Guides',
- path:
- '/developer-docs/latest/setup-deployment-guides/deployment.html#hosting-provider-guides',
+ path: '/developer-docs/latest/setup-deployment-guides/deployment.html#hosting-provider-guides',
collapsable: true,
children: [
[
@@ -93,8 +123,7 @@ const sidebar = {
},
{
title: 'Optional Software Guides',
- path:
- '/developer-docs/latest/setup-deployment-guides/deployment.html#optional-software-guides',
+ path: '/developer-docs/latest/setup-deployment-guides/deployment.html#optional-software-guides',
collapsable: true,
children: [
[
@@ -118,42 +147,132 @@ const sidebar = {
],
},
{
- collapsable: false,
title: '🔧 Development',
+ collapsable: false,
+ initialOpenGroupIndex: -1, // make sure that no subgroup is expanded by default
children: [
- ['/developer-docs/latest/development/backend-customization', 'Backend customization'],
- ['/developer-docs/latest/development/admin-customization', 'Admin panel customization'],
{
- title: 'Strapi plugins',
- path: '/developer-docs/latest/development/plugin-customization.html',
+ title: 'Back-end customization',
collapsable: true,
+ path: '/developer-docs/latest/development/backend-customization',
children: [
- ['/developer-docs/latest/development/plugins/documentation', 'API Documentation'],
- ['/developer-docs/latest/development/plugins/email', 'Email'],
- ['/developer-docs/latest/development/plugins/graphql', 'GraphQL'],
- ['/developer-docs/latest/development/plugins/i18n', 'Internationalization (i18n)'],
- ['/developer-docs/latest/development/plugins/upload', 'Upload'],
- ['/developer-docs/latest/development/plugins/users-permissions', 'Users & Permissions'],
- ],
- sidebarDepth: 1,
+ ['/developer-docs/latest/development/backend-customization/routes.md', 'Routes'],
+ ['/developer-docs/latest/development/backend-customization/policies.md', 'Policies'],
+ ['/developer-docs/latest/development/backend-customization/middlewares.md', 'Middlewares'],
+ ['/developer-docs/latest/development/backend-customization/controllers.md', 'Controllers'],
+ ['/developer-docs/latest/development/backend-customization/requests-responses.md', 'Requests & Responses'],
+ ['/developer-docs/latest/development/backend-customization/services.md', 'Services'],
+ ['/developer-docs/latest/development/backend-customization/models.md', 'Models'],
+ ['/developer-docs/latest/development/backend-customization/webhooks.md', 'Webhooks'],
+ ]
},
- ['/developer-docs/latest/development/local-plugins-customization.md', 'Local plugins'],
+ ['/developer-docs/latest/development/admin-customization', 'Admin panel customization'],
+ ['/developer-docs/latest/development/plugins-extension.md', 'Plugins extension'],
+ ['/developer-docs/latest/development/plugins-development.md', 'Plugins development'],
],
},
{
+ title: '🧩 Strapi plugins',
+ path: '/developer-docs/latest/plugins/plugins-intro.html',
collapsable: false,
+ children: [
+ ['/developer-docs/latest/plugins/graphql', 'GraphQL'],
+ ['/developer-docs/latest/plugins/i18n', 'Internationalization (i18n)'],
+ ['/developer-docs/latest/plugins/users-permissions', 'Users & Permissions'],
+ ['/developer-docs/latest/plugins/email', 'Email'],
+ ['/developer-docs/latest/plugins/upload', 'Upload'],
+ ['/developer-docs/latest/plugins/documentation', 'API Documentation'],
+ ],
+ sidebarDepth: 1,
+ },
+ {
title: '♻️ Update & Migration',
+ collapsable: false,
children: [
['/developer-docs/latest/update-migration-guides/update-version.md', 'Update'],
['/developer-docs/latest/update-migration-guides/migration-guides.md', 'Migration'],
],
},
{
- collapsable: false,
title: '💻 Developer Resources',
+ collapsable: false,
+ initialOpenGroupIndex: -1, // make sure that no subgroup is expanded by default
sidebarDepth: 2,
children: [
- ['/developer-docs/latest/developer-resources/content-api/content-api.md', 'Content API'],
+ {
+ title: 'APIs Reference',
+ collapsable: true,
+ sidebarDepth: 1,
+ children: [
+ ['/developer-docs/latest/developer-resources/database-apis-reference/rest-api.md', 'REST API'],
+ ['/developer-docs/latest/developer-resources/database-apis-reference/graphql-api.md', 'GraphQL API'],
+ {
+ title: 'Query Engine API',
+ path: '/developer-docs/latest/developer-resources/database-apis-reference/query-engine-api.html',
+ collapsable: true,
+ // sidebarDepth: 3,
+ children: [
+ [
+ '/developer-docs/latest/developer-resources/database-apis-reference/query-engine/single-operations.md',
+ 'Single Operations'
+ ],
+ [
+ '/developer-docs/latest/developer-resources/database-apis-reference/query-engine/bulk-operations.md',
+ 'Bulk Operations'
+ ],
+ [
+ '/developer-docs/latest/developer-resources/database-apis-reference/query-engine/filtering.md',
+ 'Filtering'
+ ],
+ [
+ '/developer-docs/latest/developer-resources/database-apis-reference/query-engine/populating.md',
+ 'Populating'
+ ],
+ [
+ '/developer-docs/latest/developer-resources/database-apis-reference/query-engine/order-pagination.md',
+ 'Ordering & pagination'
+ ],
+ ]
+ },
+ {
+ title: 'Entity Service API',
+ path: '/developer-docs/latest/developer-resources/database-apis-reference/entity-service-api',
+ collapsable: true,
+ children : [
+ [
+ '/developer-docs/latest/developer-resources/database-apis-reference/entity-service/crud.md',
+ 'CRUD operations'
+ ],
+ [
+ '/developer-docs/latest/developer-resources/database-apis-reference/entity-service/filter.md',
+ 'Filters'
+ ],
+ [
+ '/developer-docs/latest/developer-resources/database-apis-reference/entity-service/populate.md',
+ 'Populate'
+ ],
+ [
+ '/developer-docs/latest/developer-resources/database-apis-reference/entity-service/order-pagination.md',
+ 'Ordering & pagination'
+ ],
+ [
+ '/developer-docs/latest/developer-resources/database-apis-reference/entity-service/components-dynamic-zones.md',
+ 'Components and dynamic zones'
+ ]
+ ],
+ },
+ {
+ title: 'Plugin APIs Reference',
+ collapsable: true,
+ children: [
+ ['/developer-docs/latest/developer-resources/plugin-api-reference/server.md', 'Server API for plugins'],
+ ['/developer-docs/latest/developer-resources/plugin-api-reference/admin-panel.md', 'Admin Panel API for plugins'],
+ ],
+ },
+ ]
+ },
+ ['/developer-docs/latest/developer-resources/cli/CLI', 'Command Line Interface'],
+ ['/developer-docs/latest/developer-resources/error-handling.md', 'Error handling'],
{
title: 'Integrations',
path: '/developer-docs/latest/developer-resources/content-api/integrations.html',
@@ -220,37 +339,30 @@ const sidebar = {
],
],
},
- ['/developer-docs/latest/developer-resources/cli/CLI', 'Command Line Interface'],
- [
- '/developer-docs/latest/developer-resources/global-strapi/api-reference',
- 'Global Strapi API Reference',
- ],
],
},
{
- collapsable: true,
title: '📚 Guides',
+ collapsable: true,
children: [
- ['/developer-docs/latest/guides/api-token', 'API tokens'],
['/developer-docs/latest/guides/auth-request', 'Authenticated request'],
- ['/developer-docs/latest/guides/count-graphql', 'Count with GraphQL'],
- ['/developer-docs/latest/guides/slug', 'Create a slug system'],
- ['/developer-docs/latest/guides/is-owner', 'Create is owner policy'],
- ['/developer-docs/latest/guides/custom-admin', 'Custom admin'],
- ['/developer-docs/latest/guides/custom-data-response', 'Custom data response'],
+ // ['/developer-docs/latest/guides/slug', 'Create a slug system'],
+ // ['/developer-docs/latest/guides/is-owner', 'Create is owner policy'],
+ // ['/developer-docs/latest/guides/custom-admin', 'Custom admin'],
+ // ['/developer-docs/latest/guides/custom-data-response', 'Custom data response'],
['/developer-docs/latest/guides/draft', 'Draft system'],
- ['/developer-docs/latest/guides/error-catching', 'Error catching'],
- ['/developer-docs/latest/guides/external-data', 'Fetching external data'],
+ // ['/developer-docs/latest/guides/error-catching', 'Error catching'],
+ // ['/developer-docs/latest/guides/external-data', 'Fetching external data'],
['/developer-docs/latest/guides/jwt-validation', 'JWT validation'],
['/developer-docs/latest/guides/process-manager', 'Process manager'],
['/developer-docs/latest/guides/scheduled-publication', 'Scheduled publication'],
- ['/developer-docs/latest/guides/secure-your-app', 'Secure your application'],
- ['/developer-docs/latest/guides/send-email', 'Send email programmatically'],
- [
- '/developer-docs/latest/guides/registering-a-field-in-admin',
- 'Registering a new field in the admin panel',
- ],
- ['/developer-docs/latest/guides/client', 'Setup a third party client'],
+ // ['/developer-docs/latest/guides/secure-your-app', 'Secure your application'],
+ // ['/developer-docs/latest/guides/send-email', 'Send email programmatically'],
+ // [
+ // '/developer-docs/latest/guides/registering-a-field-in-admin',
+ // 'Registering a new field in the admin panel',
+ // ],
+ // ['/developer-docs/latest/guides/client', 'Setup a third party client'],
['/developer-docs/latest/guides/unit-testing', 'Unit testing'],
],
},
@@ -289,11 +401,11 @@ const sidebar = {
},
{
collapsable: false,
- title: 'Content-Types Builder',
+ title: 'Content-Type Builder',
children: [
[
'/user-docs/latest/content-types-builder/introduction-to-content-types-builder',
- 'Introduction to the Content-Types Builder',
+ 'Introduction to the Content-Type Builder',
],
[
'/user-docs/latest/content-types-builder/creating-new-content-type',
@@ -373,11 +485,74 @@ const checklinksIgnoredFiles = [
/**
* Files below give false positives
*/
- './developer-docs/latest/concepts/file-structure.md', // contains .md links that should not be treated as links
- './developer-docs/latest/guides/unit-testing.md', // line 190
- './developer-docs/latest/setup-deployment-guides/configurations.md', // line 940
- './developer-docs/latest/developer-resources/content-api/content-api.md', // line 810
- './developer-docs/latest/update-migration-guides/migration-guides/migration-guide-beta.20-to-3.0.0.md', // line 93
+ '/developer-docs/latest/developer-resources/plugin-api-reference/admin-panel.md',
+ './developer-docs/latest/development/backend-customization/models.md',
+ './developer-docs/latest/guides/count-graphql.md', // might be removed once GraphQL customization is ready
+ './developer-docs/latest/setup-deployment-guides/configurations.md', // the script thinks filename[]() at line 977 is a real link
+ './developer-docs/latest/development/backend-customization/webhooks.md', // 'missing" links are in commented part of file
+];
+
+const plugins = [
+ ['vuepress-plugin-element-tabs', {}],
+ ['check-md', {
+ ignore: checklinksIgnoredFiles,
+ }],
+ ['seo', {
+ siteTitle: (_, $site) => $site.title,
+ title: $page => $page.title,
+ }],
+ ['@vuepress/medium-zoom'],
+ ['vuepress-plugin-code-copy', {
+ color: '#ffffff',
+ successText: 'Copied to clipboard!',
+ }],
+ ['@vuepress/back-to-top', {}],
+ ['vuepress-plugin-container', {
+ type: 'callout',
+ defaultTitle: ''
+ }],
+ ['vuepress-plugin-container', {
+ type: 'strapi',
+ defaultTitle: '',
+ before: info => `
'
+ }],
+ ['vuepress-plugin-container', {
+ type: 'tip',
+ before: info => `'
+ }],
+ ['vuepress-plugin-container', {
+ type: 'note',
+ before: info => `'
+ }],
+ ['vuepress-plugin-container', {
+ type: 'caution',
+ before: info => `'
+ }],
+ ['vuepress-plugin-container', {
+ type: 'warning',
+ before: info => `'
+ }],
+ ['vuepress-plugin-container', {
+ type: 'prerequisites',
+ defaultTitle: 'PREREQUISITES'
+ }],
+ ['vuepress-plugin-container', {
+ type: 'api-call',
+ defaultTitle: ''
+ }],
+ ['vuepress-plugin-container', {
+ type: 'request',
+ defaultTitle: 'Request'
+ }],
+ ['vuepress-plugin-container', {
+ type: 'response',
+ defaultTitle: 'Response'
+ }]
];
const checkLegacy = () => {
@@ -393,22 +568,7 @@ module.exports = {
port: 8080,
description: 'The headless CMS developers love.',
base: checkLegacy(),
- plugins: {
- '@vuepress/medium-zoom': {},
- 'vuepress-plugin-element-tabs': {},
- 'check-md': {
- ignore: checklinksIgnoredFiles,
- },
- seo: {
- siteTitle: (_, $site) => $site.title,
- title: $page => $page.title,
- },
- 'vuepress-plugin-code-copy': {
- color: '#ffffff',
- successText: 'Copied to clipboard!',
- },
- '@vuepress/back-to-top': {},
- },
+ plugins: plugins,
head: [
[
'link',
@@ -529,6 +689,10 @@ module.exports = {
text: 'Setup & Deployment',
link: '/developer-docs/latest/setup-deployment-guides/installation.html',
},
+ {
+ text: 'Plugins',
+ link: '/developer-docs/latest/plugins/plugins-intro.html',
+ },
{
text: 'Development',
link: '/developer-docs/latest/development/backend-customization.html',
@@ -555,14 +719,12 @@ module.exports = {
link: '/user-docs/latest/content-manager/introduction-to-content-manager.html',
},
{
- text: 'Content-Types Builder',
- link:
- '/user-docs/latest/content-types-builder/introduction-to-content-types-builder.html',
+ text: 'Content-Type Builder',
+ link: '/user-docs/latest/content-types-builder/introduction-to-content-types-builder.html',
},
{
text: 'Users, Roles, and Permissions',
- link:
- '/user-docs/latest/users-roles-permissions/introduction-to-users-roles-permissions.html',
+ link: '/user-docs/latest/users-roles-permissions/introduction-to-users-roles-permissions.html',
},
{
text: 'Plugins',
@@ -574,6 +736,15 @@ module.exports = {
},
],
},
+ {
+ text: 'Older versions',
+ items: [
+ {
+ text: 'v3 Documentation',
+ link: 'https://strapi.io/documentation'
+ }
+ ],
+ },
],
},
{
@@ -604,8 +775,8 @@ module.exports = {
link: 'https://forum.strapi.io',
},
{
- text: 'Slack',
- link: 'https://slack.strapi.io',
+ text: 'Discord',
+ link: 'https://discord.strapi.io',
},
{
text: 'Awesome-Strapi',
@@ -628,6 +799,10 @@ module.exports = {
},
],
},
+ {
+ text: "We're hiring!",
+ link: 'https://strapi.io/careers#open-positions',
+ },
],
repo: 'strapi/documentation',
docsDir: 'docs',
@@ -646,4 +821,10 @@ module.exports = {
'/user-docs/latest/': sidebar.user,
},
},
+ markdown: {
+ extendMarkdown: md => {
+ // use more markdown-it plugins!
+ md.use(require('markdown-it-include'))
+ }
+ }
};
diff --git a/docs/.vuepress/public/assets/logo-beta.png b/docs/.vuepress/public/assets/logo-beta.png
new file mode 100644
index 0000000000..5b12217642
Binary files /dev/null and b/docs/.vuepress/public/assets/logo-beta.png differ
diff --git a/docs/.vuepress/styles/index.styl b/docs/.vuepress/styles/index.styl
index 6e34e9968d..ef392e1f9b 100644
--- a/docs/.vuepress/styles/index.styl
+++ b/docs/.vuepress/styles/index.styl
@@ -2,4 +2,9 @@
color: $accentColor !important
.el-tabs__item:not(.is-disabled):hover
- color: $accentColor !important
\ No newline at end of file
+ color: $accentColor !important
+
+.sidebar-heading:not(.clickable)
+ opacity: 1 !important
+
+@import "strapi-custom-blocks.styl"
diff --git a/docs/.vuepress/styles/strapi-custom-blocks.styl b/docs/.vuepress/styles/strapi-custom-blocks.styl
new file mode 100644
index 0000000000..3cba6c7d98
--- /dev/null
+++ b/docs/.vuepress/styles/strapi-custom-blocks.styl
@@ -0,0 +1,197 @@
+.el-tabs__active-bar
+ background-color: #007eff !important
+
+.custom-block
+ /**
+ * CALLOUTS
+ */
+ .custom-block-title
+ font-weight 600
+ margin-bottom -0.4rem
+ &.callout
+ &.callout-alt
+ &.strapi
+ &.prerequisites
+ &.note
+ &.tip
+ &.warning
+ &.danger
+ &.caution
+ padding .1rem 1.5rem
+ margin-top 2rem
+ margin-bottom 2rem
+ border-left-width: .25rem
+ border-left-style solid
+ &.strapi
+ background-color rgba(129,107,250, .05)
+ border-color rgb(129,107,250)
+ .custom-block-title
+ color #816bfa
+ font-weight 700
+ p, li
+ color #2c3e50
+ a
+ color #007eff
+ &.callout
+ &.callout-alt
+ &.prerequisites
+ background-color #f8f8f8
+ border-color #bbbbba
+ &.callout-alt
+ border-radius: 10px
+ background-color: #eff5f7
+ border: none
+ &.note
+ background-color #f4fcff
+ border-color #0193C2
+ &.caution
+ border-color #E7C000
+ background-color rgba(255,229,100,.3)
+ color #6b5900
+ .custom-block-title
+ color #B29400
+ a
+ color #2c3e50
+ &.warning
+ border-color #cc0000
+ background-color rgb(255, 230, 230)
+ color #4d0000
+ .custom-block-title
+ color #900
+ a
+ color #2c3e50
+ &.tip
+ background-color #EFFDF6
+ /**
+ * API CALLS
+ */
+ &.api-call
+ padding: 0
+ border-radius: 12px
+ // margin: 2rem 0 2rem
+ @media (min-width: 1536px)
+ display: flex
+ margin: 0 -12rem 2rem 0
+ align-items: stretch
+ &.request
+ background-color: #666687
+ padding: 0 1rem 1rem
+ border-radius: 12px
+ font-size: 100%
+ color:#F6F6F9
+ .custom-block-title
+ margin-left: -1rem
+ margin-right: -1rem
+ margin-top: 0
+ border-radius: 12px 12px 0 0
+ padding: .5rem 1rem
+ font-weight: 700
+ background-color: #32324D
+ color: #F6F6F9
+ font-size: 90%;
+ .custom-block-title+p
+ padding-top: 1rem
+ p, ul, ol
+ color: #2c3e50
+ color: rgba(241,251,255,.8)
+ p
+ padding-left: 1rem
+ ul, ol
+ padding-left: 3rem
+ [class^="language-"]
+ background-color: transparent
+ font-size: 110%
+ &::before
+ color: #EAEAEF
+ pre
+ padding: 1rem 0 0 1rem
+ code
+ color: #F6F6F9
+ background-color: #212134
+ .token
+ color: #F6F6F9 // catch-all for undefined colors
+ &.punctuation
+ color: #d3d3d3
+ &.operator
+ &.property
+ color: #F6F6F9
+ &.string
+ &.attr-name
+ &.function
+ color: #B6FFB5
+ &.number
+ &.keyword
+ color: #FDED9B
+ &.comment
+ color: #d9d9d9
+ &.response
+ background-color: #DCDCE4
+ margin-top: 2rem
+ padding: 0 1rem 1rem
+ border-radius: 12px
+ font-size: 100%
+ color: #666687
+ .extra-class::before
+ color: #666687
+ .custom-block-title
+ background-color: #C0C0CF
+ color: #32324D
+ border-radius: 12px 12px 0 0
+ margin-left: -1rem
+ margin-right: -1rem
+ padding: .5rem 1rem
+ margin-top: 0
+ font-weight: 700
+ font-size: 90%;
+ margin-bottom: .5rem
+ [class^="language-"]
+ background-color: transparent
+ font-size: 110%
+ &::before
+ color: #666687
+ pre
+ padding: 1rem 0 0 1rem
+ code
+ color: #666687 !important
+ .token
+ color: #666687 // catch-all for undefined colors
+ &.punctuation
+ &.operator
+ &.property
+ color: #666687
+ &.string
+ color: #2B7732
+ &.number
+ color: #B7322A
+ &.comment
+ color: #8585b2
+ &.request
+ &.response
+ margin-top: 2rem
+ .extra-class
+ font-size: 90%
+ border-radius: 6px 0 6px 0
+ pre
+ // white-space: pre-wrap
+ word-break: break-word
+ margin-bottom: 0
+
+ &.api-call
+ > .request
+ > .response
+ @media (min-width: 1536px)
+ flex: 0 0 42%
+ max-width: 42%
+ > .request
+ @media (min-width: 1536px)
+ border-radius: 12px 0 0 12px
+ .custom-block-title
+ border-radius: 12px 0 0 0
+ .response
+ @media (min-width: 1536px)
+ border-radius: 0 12px 12px 0
+ .custom-block-title
+ border-radius: 0 12px 0 0
+
+.custom-block.details
+ color rgb(44, 62, 80)
diff --git a/docs/.vuepress/theme/global-components/BronzeBadge.vue b/docs/.vuepress/theme/global-components/BronzeBadge.vue
index b02faa2ec2..324a389b04 100644
--- a/docs/.vuepress/theme/global-components/BronzeBadge.vue
+++ b/docs/.vuepress/theme/global-components/BronzeBadge.vue
@@ -9,7 +9,7 @@ export default {
text: {
type: String,
default: 'Bronze',
- required: true
+ // required: true // to suppress Vue warnings
},
withLinkIcon: {
type: Boolean,
diff --git a/docs/.vuepress/theme/global-components/CustomBadge.vue b/docs/.vuepress/theme/global-components/CustomBadge.vue
index 7da0253699..789e3035c2 100644
--- a/docs/.vuepress/theme/global-components/CustomBadge.vue
+++ b/docs/.vuepress/theme/global-components/CustomBadge.vue
@@ -12,7 +12,7 @@ export default {
text: {
type: String,
default: 'Badge',
- required: true
+ // required: true // to suppress Vue warnings
},
withLinkIcon: {
type: Boolean,
diff --git a/docs/.vuepress/theme/global-components/DatabasesLinks.vue b/docs/.vuepress/theme/global-components/DatabasesLinks.vue
index 1069fa7c89..319ea3c954 100644
--- a/docs/.vuepress/theme/global-components/DatabasesLinks.vue
+++ b/docs/.vuepress/theme/global-components/DatabasesLinks.vue
@@ -12,19 +12,6 @@
-
-
-
-
-
-
-
- MongoDB
-
- Installation guide for MongoDB database
-
-
-
@@ -36,4 +23,4 @@ import InstallLink from "./InstallLink.vue"
InstallLink
}
}
-
\ No newline at end of file
+
diff --git a/docs/.vuepress/theme/global-components/GoldBadge.vue b/docs/.vuepress/theme/global-components/GoldBadge.vue
index 430682ba0e..5c9f4065b5 100644
--- a/docs/.vuepress/theme/global-components/GoldBadge.vue
+++ b/docs/.vuepress/theme/global-components/GoldBadge.vue
@@ -9,7 +9,7 @@ export default {
text: {
type: String,
default: 'Gold',
- required: true
+ // required: true // to suppress Vue warnings
},
withLinkIcon: {
type: Boolean,
diff --git a/docs/.vuepress/theme/global-components/PluginsLinks.vue b/docs/.vuepress/theme/global-components/PluginsLinks.vue
index d7545524fa..0ea10d7a8f 100644
--- a/docs/.vuepress/theme/global-components/PluginsLinks.vue
+++ b/docs/.vuepress/theme/global-components/PluginsLinks.vue
@@ -2,7 +2,7 @@
-
+