Skip to content

Commit 0c85ccc

Browse files
derrickmehaffypwizlameganelachenyremidejalexandrebodin
authored
v4 Documentation to Staging (strapi#507)
* Enhance Models section * Enhance Models section * Move Database API Reference before Plugin API Reference in sidebar * Enhance GraphQL API * Enhance Query Engine API * Enhance REST API * Enhance plugin-related parts * Enhance REST API * Enhance Query Engine API * Enhance GraphQL API * Enhance plugin-related parts * Edit a path for an Admin Customization code example * Add the `useCMEditViewDataManeger` hook to Injection Zones section * Revert "Add second Content Manager-related hook to Hooks API section" This reverts commit aafbfb102ab771e64821a38a2f022a91b40276fc. * Remove superfluous example of component injection Seems like a duplicate usage of the bigger example that can be found below. * Enhance injection zones usage description * Edit a path for an Admin Customization code example * Revert "Add second Content Manager-related hook to Hooks API section" This reverts commit aafbfb102ab771e64821a38a2f022a91b40276fc. * Add the `useCMEditViewDataManeger` hook to Injection Zones section * Remove superfluous example of component injection Seems like a duplicate usage of the bigger example that can be found below. * Enhance injection zones usage description * Improve some tables in Admin Panel API * Enhance again injection zones 😅 * Improve some tables in Admin Panel API * Enhance again injection zones 😅 * Update heading for using useCMEditViewDataManager * Update heading for using useCMEditViewDataManager * Fix broken link to predefined injection zones * Fix broken link to predefined injection zones * Remove some TODOs * Remove some TODOs * Drop mongo from README * Drop mongo from DatabaseLinks component * Drop mongo from CLI and global API references * Drop Mongo from configurations for deployment * Drop Mongo from FAQ * Drop Mongo from slug guide * Drop Mongo from Configurations * Drop Mongo from deployment guides * Drop Mongo from installation guides * Remove unused warning snippet for MongoDB drop * Fix typos in FAQ * Remove environment variables that aren't used anymore * Remove unaccessible config keys from `logger` middleware * Add custom config for `logger` middleware * Split Configurations section into files * Move database & server config docs to their own files * Update environment config docs headings * Update path to admin/app.js * Remove MongoDB references that might conflict with dev/v4-dropping-mongo * Improve configurations intro * Use "strapi" callouts where appropriate * Reformat core middlewares configurations as tables * Improve the middlewares section further * Enhance Optional Configurations > Environment section * Enhance Optional Configurations > API section * Add link to Optional Config > API for default and max pagination limits * Add further minor improvements to optional config intro and environment * Slightly enhance the Optional Config > Functions section * Slightly enhance the Optional Config > Public assets section * Enhance Optional config > SSO section This includes getting rid of tabs for configuration providers examples as clients often ask for direct links to the provider they want to use. cc @dmehaffy :-) * Make "Single Sign-On" spelling consistent * Add interactive project structure map * Move Strapi Plugins section below Development in sidebar * Fix broken links * Remove unused local plugins customization file * Collapse backend customization by default * Collapse backend customization by default * Collapse backend customization by default * Don't have sections without a proper `path` greyed out * Add quick wins to Admin Panel Customization based on Mégane's feedback * Update docs/developer-docs/latest/developer-resources/database-apis-reference/query-engine/bulk-operations.md * Add a few tiny enhancements to REST API * Create a Content API section * Improve Models section * Update 'key' vs 'parameter' wording to make its usage consistent * Update GraphQL with JS feedback * Update Plugins (intro, development, extension) with Pierre N's feedback * Update GraphQL with JS feedback * Update Plugins (intro, development, extension) with Pierre N's feedback * Update docs/developer-docs/latest/setup-deployment-guides/configurations.md Co-authored-by: meganelacheny <[email protected]> * Fix Winston vs. Pino Co-authored-by: DMehaffy <[email protected]> * [v4] Dev Docs - Dropping MongoDB (#424) * Fix for the Okta sample config (#419) * Drop mongo from README * Drop mongo from DatabaseLinks component * Drop mongo from CLI and global API references * Drop Mongo from configurations for deployment * Drop Mongo from FAQ * Drop Mongo from slug guide * Drop Mongo from Configurations * Drop Mongo from deployment guides * Drop Mongo from installation guides * Remove unused warning snippet for MongoDB drop Co-authored-by: DMehaffy <[email protected]> * Add TODO about "add admin jwt config option" * Update TODO (field-related actions in GraphQL custom) + path * Add yaml for plugins extension * Add TODOs and fix stuff with soupette's feedback * Convert strapi to prerequisites callout * Add queries & mutations explanation * Update Admin Panel files based on soup's & Mégane's feedback * Update Admin Panel files based on soup's & Mégane's feedback * Add code example to extend translations (admin panel customization) * Fix path to server config docs * Don't have sections without a proper `path` greyed out * Move `title` before `collapsable` in dev sidebar config * Move Development before Strapi plugins in sidebar * Enhance Plugins development & intro + create plugins configuration docs * Update plugins extension section with Mégane's & Pierre N.'s feedbacks * Add documentation for register() function found in src/index.js * Simplify plugins auto-discovery wording * Fix code syntaxes in Server API for Plugins * Refine plugins extensions within src/index.js * Add TODO about upcoming destroy() function in src/index.js * Refine Server API with Mégane's feedback * Update Plugins extension based on Mégane's feedback * [v4] Dev Docs - "Lighter" updates (#430) * Fix typos in FAQ * Remove environment variables that aren't used anymore * Remove unaccessible config keys from `logger` middleware * Add custom config for `logger` middleware * Add interactive project structure map * Replace app with application Co-authored-by: meganelacheny <[email protected]> * Refine FAQ entry for deep filter (1 on 2) Co-authored-by: meganelacheny <[email protected]> * Update FAQ * Update project structure * Update FAQ entry for (deep) filter * Update project structure to include src/index.js Co-authored-by: meganelacheny <[email protected]> * Update project structure * Add comment to src/index.js in project structure * Add more tweaks to project structure * Rename Database APIs reference and include them in a simple "APIs reference" * Improve Query Engine API and REST API docs * Fix syntaxes in controllers documentation * Enhance GraphQL docs based on JS's feedback * Rename global strapi API reference's h1 * Move Plugin API reference to APIs reference section in sidebar * Remove old, empty content-api file * Remove old, empty backend-customization file * Remove old, empty mondodb database guide * Fix broken links in admin-customization and plugins-extension * [v4] Dev Docs - Reworked "Configurations" section (#429) * Unify order of optional configurations in text and sidebar * Remove database ORM customization from config > optional > functions * Rename Bookshelf tab to SQL in config > required > databases * Fix more broken links * Add mini-intro for GraphQL API * Add mini-intro for GraphQL API * Add mini-intro for REST API + fix related items * Add mini-intro for REST API + fix related items * Remove unused heading in plugins extension * Wording: Content API → REST & GraphQL * Fix links in project structure file * Wording: Content API → REST & GraphQL * Remove unused heading in plugins extension * Delete unused content-api.md * Remove unused comment after file splitting * Remove comments * Delete hooks * Fix plugins-extension (paths, code example code, heading) * Add code example for field actions in GraphQL custom * Fix broken links * Update configuration > optional > functions with bootstrap and register * Add temporary beta badge in nav bar * [v4] Dev Docs updates to Plugins (Development, Extension, APIs) + Admin Panel customization (#418) * Add Plugin API * Delete unused plugin-api-reference/extension.md file The content is documented in development/plugin-extensions.md * Delete old local-plugins-customization file * Fix root metaredirection in readme * Improve description of createSettingSection() * Add live updates of Admin Panel stuff based on Cyril's first feedback * 💄 "Example" → "Example:" * Improve Server API docs * Rename "Local plugins customization" to "Plugins development" * Improve Plugins extension section * Improve Admin Panel API and Customization sections * Fix broken links * Add second Content Manager-related hook to Hooks API section * Improve Admin Panel API * Update the example `config` in Admin Panel customization * Further enhance the previous `config` example in Admin Panel custom. * 💄 Enhance even more the `config` section * Add list of locales to Admin Customization * Enhance plugin-related parts * Edit a path for an Admin Customization code example * Revert "Add second Content Manager-related hook to Hooks API section" This reverts commit aafbfb102ab771e64821a38a2f022a91b40276fc. * Add the `useCMEditViewDataManeger` hook to Injection Zones section * Remove superfluous example of component injection Seems like a duplicate usage of the bigger example that can be found below. * Enhance injection zones usage description * Improve some tables in Admin Panel API * Enhance again injection zones 😅 * Update heading for using useCMEditViewDataManager * Fix broken link to predefined injection zones * Remove some TODOs * Update path to admin/app.js * Add quick wins to Admin Panel Customization based on Mégane's feedback * Update Plugins (intro, development, extension) with Pierre N's feedback * Fix Winston vs. Pino Co-authored-by: DMehaffy <[email protected]> * Add yaml for plugins extension * Add TODOs and fix stuff with soupette's feedback * Update Admin Panel files based on soup's & Mégane's feedback * Add code example to extend translations (admin panel customization) * Fix path to server config docs * Don't have sections without a proper `path` greyed out * Move `title` before `collapsable` in dev sidebar config * Move Development before Strapi plugins in sidebar * Enhance Plugins development & intro + create plugins configuration docs * Update plugins extension section with Mégane's & Pierre N.'s feedbacks * Add documentation for register() function found in src/index.js * Simplify plugins auto-discovery wording * Fix code syntaxes in Server API for Plugins * Refine plugins extensions within src/index.js * Add TODO about upcoming destroy() function in src/index.js * Refine Server API with Mégane's feedback * Update Plugins extension based on Mégane's feedback * Remove unused heading in plugins extension * Fix plugins-extension (paths, code example code, heading) Co-authored-by: DMehaffy <[email protected]> * Update beta badge color * Fix more broken links after merge * [v4 - dev docs] "Next-2" release (#437) * Comment out customization in GraphQL plugin as it's not ready yet * Improve GraphQL API section * Rollback to warning instead of caution for deep filtering performances * Rollback to using "entry" instead of "entity" everywhere * Make tiny enhancements to GraphQL API doc * Enhance REST API doc * Make slight enhancements to Models section * Delete unused "Advanced Database Guides" * Remove Queries section from backend custom and use content for Query Engine API intro * Split 'plugins' and 'sidebar' keys out of `config.js` for easier handling * Fully rework the models section * Revert "Split 'plugins' and 'sidebar' keys out of `config.js` for easier handling" This reverts commit b5bbfa1b4a4a77259906eb9f53e4c9bd2c3419c8. * Split backend customization into one file per section * Include 'Path: ' information as comments in code examples * Remove "Example(s)" headers * Add FontAwesome icon to link relation/component/DZ types sections * Lint GraphQL API * Add a few questions for devs to GraphQL API * Cleanup REST API doc * Add missing path to programmatic usage example of lifecycle hooks * Finish fully reworking the models section * Add :::strapi callout at top of GraphQL page * Add small introduction to Query Engine API * Delete sidebar.js I decided to revert changes about sidebar and move it back to config.js since moving it out of config.js breaks auto-refresh. I forgot to delete the file in the previous revert commit. * Remove completed TODOs * Rollback "entities" → "entries" in i18n.md * Make Database APIs Reference collapsable in sidebar * ⛓ Fix broken links * Fix all remaining broken links and update ignored files in config.js * Reformat parameter tables in single/bulk operations Query Engine API Plus add link icons for more explicit linking * Add `encodeValuesOnly` to qs example for a prettier url in REST API * Also add `require` in qs filter example * Add Plugin API * Delete unused plugin-api-reference/extension.md file The content is documented in development/plugin-extensions.md * Delete old local-plugins-customization file * Fix root metaredirection in readme * Improve description of createSettingSection() * Fix config * Enhance based on Pierre Noel's feedback * Add live updates of Admin Panel stuff based on Cyril's first feedback * 💄 "Example" → "Example:" * Improve Server API docs * Rename "Local plugins customization" to "Plugins development" * Improve Plugins extension section * Improve Admin Panel API and Customization sections * Fix broken links * Add second Content Manager-related hook to Hooks API section * Improve Admin Panel API * Update the example `config` in Admin Panel customization * Further enhance the previous `config` example in Admin Panel custom. * 💄 Enhance even more the `config` section * Add list of locales to Admin Customization * Add GraphQL customization * Add types to `extension` object parameters in GraphQL customization * Mention LHS bracket syntax * Simplify table for pagination by offset * Document the use of wildcards in REST API * Restore the proper "Plugins development" section * Fix broken links * Enhance Models section * Enhance Models section * Move Database API Reference before Plugin API Reference in sidebar * Enhance GraphQL API * Enhance Query Engine API * Enhance REST API * Enhance plugin-related parts * Enhance REST API * Enhance Query Engine API * Enhance GraphQL API * Enhance plugin-related parts * Edit a path for an Admin Customization code example * Add the `useCMEditViewDataManeger` hook to Injection Zones section * Revert "Add second Content Manager-related hook to Hooks API section" This reverts commit aafbfb102ab771e64821a38a2f022a91b40276fc. * Remove superfluous example of component injection Seems like a duplicate usage of the bigger example that can be found below. * Enhance injection zones usage description * Edit a path for an Admin Customization code example * Revert "Add second Content Manager-related hook to Hooks API section" This reverts commit aafbfb102ab771e64821a38a2f022a91b40276fc. * Add the `useCMEditViewDataManeger` hook to Injection Zones section * Remove superfluous example of component injection Seems like a duplicate usage of the bigger example that can be found below. * Enhance injection zones usage description * Improve some tables in Admin Panel API * Enhance again injection zones 😅 * Improve some tables in Admin Panel API * Enhance again injection zones 😅 * Update heading for using useCMEditViewDataManager * Update heading for using useCMEditViewDataManager * Fix broken link to predefined injection zones * Fix broken link to predefined injection zones * Remove some TODOs * Remove some TODOs * Drop mongo from README * Drop mongo from DatabaseLinks component * Drop mongo from CLI and global API references * Drop Mongo from configurations for deployment * Drop Mongo from FAQ * Drop Mongo from slug guide * Drop Mongo from Configurations * Drop Mongo from deployment guides * Drop Mongo from installation guides * Remove unused warning snippet for MongoDB drop * Fix typos in FAQ * Remove environment variables that aren't used anymore * Remove unaccessible config keys from `logger` middleware * Add custom config for `logger` middleware * Split Configurations section into files * Move database & server config docs to their own files * Update environment config docs headings * Update path to admin/app.js * Remove MongoDB references that might conflict with dev/v4-dropping-mongo * Improve configurations intro * Use "strapi" callouts where appropriate * Reformat core middlewares configurations as tables * Improve the middlewares section further * Enhance Optional Configurations > Environment section * Enhance Optional Configurations > API section * Add link to Optional Config > API for default and max pagination limits * Add further minor improvements to optional config intro and environment * Slightly enhance the Optional Config > Functions section * Slightly enhance the Optional Config > Public assets section * Enhance Optional config > SSO section This includes getting rid of tabs for configuration providers examples as clients often ask for direct links to the provider they want to use. cc @dmehaffy :-) * Make "Single Sign-On" spelling consistent * Add interactive project structure map * Move Strapi Plugins section below Development in sidebar * Fix broken links * Remove unused local plugins customization file * Collapse backend customization by default * Collapse backend customization by default * Collapse backend customization by default * Don't have sections without a proper `path` greyed out * Add quick wins to Admin Panel Customization based on Mégane's feedback * Update docs/developer-docs/latest/developer-resources/database-apis-reference/query-engine/bulk-operations.md * Add a few tiny enhancements to REST API * Create a Content API section * Improve Models section * Update 'key' vs 'parameter' wording to make its usage consistent * Update GraphQL with JS feedback * Update Plugins (intro, development, extension) with Pierre N's feedback * Update GraphQL with JS feedback * Update Plugins (intro, development, extension) with Pierre N's feedback * Update docs/developer-docs/latest/setup-deployment-guides/configurations.md Co-authored-by: meganelacheny <[email protected]> * Fix Winston vs. Pino Co-authored-by: DMehaffy <[email protected]> * Add TODO about "add admin jwt config option" * Update TODO (field-related actions in GraphQL custom) + path * Add yaml for plugins extension * Add TODOs and fix stuff with soupette's feedback * Convert strapi to prerequisites callout * Add queries & mutations explanation * Update Admin Panel files based on soup's & Mégane's feedback * Update Admin Panel files based on soup's & Mégane's feedback * Add code example to extend translations (admin panel customization) * Fix path to server config docs * Don't have sections without a proper `path` greyed out * Move `title` before `collapsable` in dev sidebar config * Move Development before Strapi plugins in sidebar * Enhance Plugins development & intro + create plugins configuration docs * Update plugins extension section with Mégane's & Pierre N.'s feedbacks * Add documentation for register() function found in src/index.js * Simplify plugins auto-discovery wording * Fix code syntaxes in Server API for Plugins * Refine plugins extensions within src/index.js * Add TODO about upcoming destroy() function in src/index.js * Refine Server API with Mégane's feedback * Update Plugins extension based on Mégane's feedback * Update project structure * Add comment to src/index.js in project structure * Add more tweaks to project structure * Rename Database APIs reference and include them in a simple "APIs reference" * Improve Query Engine API and REST API docs * Fix syntaxes in controllers documentation * Enhance GraphQL docs based on JS's feedback * Rename global strapi API reference's h1 * Move Plugin API reference to APIs reference section in sidebar * Remove old, empty content-api file * Remove old, empty backend-customization file * Remove old, empty mondodb database guide * Fix broken links in admin-customization and plugins-extension * [v4] Dev Docs - Reworked "Configurations" section (#429) * Unify order of optional configurations in text and sidebar * Remove database ORM customization from config > optional > functions * Rename Bookshelf tab to SQL in config > required > databases * Fix more broken links * Add mini-intro for GraphQL API * Add mini-intro for GraphQL API * Add mini-intro for REST API + fix related items * Add mini-intro for REST API + fix related items * Remove unused heading in plugins extension * Wording: Content API → REST & GraphQL * Fix links in project structure file * Wording: Content API → REST & GraphQL * Remove unused heading in plugins extension * Delete unused content-api.md * Remove unused comment after file splitting * Remove comments * Delete hooks * Fix plugins-extension (paths, code example code, heading) * Add code example for field actions in GraphQL custom * Fix broken links * Update configuration > optional > functions with bootstrap and register * Add temporary beta badge in nav bar * Update beta badge color * Fix more broken links after merge Co-authored-by: meganelacheny <[email protected]> Co-authored-by: DMehaffy <[email protected]> * Remove v4 beta as maybe it makes Vercel fail 🤷 * Remove beta "badge" * Restore proper GraphQL docs * Rename Plugin API → APIs reference in sidebar * Place note about starter file structure at the top of the file * Update file-structure links to make them work on docs*.strapi.io URLs * Fix src/admin path in admin custom * Use "Docs beta" logo * Add v4 in getting started intro page title * Add link to v3 docs in navbar * Optimize beta logo * Use new uid syntax in Query Engine API code examples * Fix some paths * Dev/hotfixes next (#442) * Add plugins config in TOC * Fix path in admin customization * Fix title of Admin Panel API * Update sidebar: 'Plugins APIs reference' → 'Plugin API' * Add plugins to list of optional config in config intro * Update 'entities' → 'entries' in Query Engine API intro * Update intro to Query Engine > Filtering * Replace beta logo with better version * Update pagination for Query Engine API * Add mini intros in Query Engine API ordering * [v4] Fix typo in injection zone API reference (#447) * Fix npm command in admin customization deployment instructions * Fix plugin extension example * Fix REST API filters name + definition (#472) * [v4] Dev docs - Entity Service API (#445) * Draft Entity Service docs * Improve Entity Service API docs * Fix bad logo path * Retrieve prev. SEO title for QE filters * Update docs/developer-docs/latest/developer-resources/database-apis-reference/entity-service/populate.md * Add missing extra id parameter Co-authored-by: Alexandre BODIN <[email protected]> * Update docs/developer-docs/latest/developer-resources/database-apis-reference/entity-service/crud.md Co-authored-by: Alexandre BODIN <[email protected]> * Update docs/developer-docs/latest/developer-resources/database-apis-reference/entity-service/crud.md Co-authored-by: Alexandre BODIN <[email protected]> * Update docs/developer-docs/latest/developer-resources/database-apis-reference/entity-service/crud.md Co-authored-by: Alexandre BODIN <[email protected]> * Batch update the UID structure Will change the `articles` to `article` in a follow up commit Co-authored-by: Pierre Noël <[email protected]> * Fix UID pluralization * Use publishDate instead of id in an example Co-authored-by: DMehaffy <[email protected]> * Use desc instead of asc Co-authored-by: DMehaffy <[email protected]> * Only partial update() * Remove filters and sort as they're not supported by findOne() * Used createdAt instead of title in sort example * Remove needless filters attribute in update example * True, semantic * Use createdAt with $and operator example * Add proper fields, sort and populate in EntServ populate example * Simplify delete example * Wording * Add tip for nestable logical operators * Update nin → notIn * Add notContains, containsi and notContainsi * Fix `$attribute-name` → `attribute-name` * Enhance with Mégane's feedback Co-authored-by: Alexandre BODIN <[email protected]> Co-authored-by: DMehaffy <[email protected]> Co-authored-by: Pierre Noël <[email protected]> * [v4] next-3 release (#478) * [dev/latest-guides-auth-request] Fixed grammatical error (#431) * Fixed grammatical error * Fixed to better match style guide Co-authored-by: Pierre Wizla <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> * npm build command doesn't work. Use npm run build (#440) See: https://stackoverflow.com/questions/29939697/npm-build-doesnt-run-the-script-named-build-in-package-json This should also be updated across the docs wherever its found. Maybe I'll go hunting soon if this one gets merged (first time contributor here 😊) * Update note in v3 migration guides (#449) * fix publicationState filter docs (#425) Co-authored-by: DMehaffy <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> * [v4] Dev docs: Shorter backend customizations intro (#458) * WIP * Add a short backend customization introduction * Update yaml title Co-authored-by: DMehaffy <[email protected]> Co-authored-by: DMehaffy <[email protected]> * [v4] Dev docs: cron jobs (#463) * Move CRON tasks out of functions docs & refactor structure * Update: is → should be in prereq. * Update docs/developer-docs/latest/setup-deployment-guides/configurations/optional/cronjobs.md Co-authored-by: DMehaffy <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/configurations/optional/cronjobs.md Co-authored-by: DMehaffy <[email protected]> Co-authored-by: DMehaffy <[email protected]> * [v4] Dev docs: CLI updates (#467) * Add the new interactive `strapi generate` + all the `:list` commands * Add strapi watch-admin * Add links to docs entries for :list commands * [v4] Dev docs updates to services (#453) * Update services documentation * Delete unused backend-customization.md * Update intro to make it consistent with other backend custom. docs * Add link to strapi generate CLI docs * [v4] Dev docs: Add API token documentation (#457) * Add API token documentation * Delete file(s) * Add example to full server config * Revert changes to REST API API token is passed in the header * Update how the API token is passed along with the request * Fix typo: unneeded space * `apiToken`: camelCase + move to minimal config (Note: will be moved to ./config/admin.js in another PR) * Update docs/developer-docs/latest/setup-deployment-guides/configurations/required/server.md Co-authored-by: DMehaffy <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/configurations/required/server.md Co-authored-by: DMehaffy <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/configurations/required/server.md Co-authored-by: DMehaffy <[email protected]> * [v4] Dev docs: Update command name for template generation (#474) * Update command name for template generation throughout all docs * Update header * [v4] Dev docs updates to routes (#450) * Update routes file in backend customization * Improve routes content and wording * Fix syntax (JSON → JS) * Delete routing.md (Now using routes) * Delete backend-customization.md * Consists in → consists of Co-authored-by: DMehaffy <[email protected]> * Add missing forward slash in path Co-authored-by: DMehaffy <[email protected]> * Add missing forward slash in path Co-authored-by: DMehaffy <[email protected]> * Add another missing forward slash in path 😅 Co-authored-by: DMehaffy <[email protected]> * Add another missing forward slash in path, again 😅 Co-authored-by: DMehaffy <[email protected]> * Add another missing forward slash 😅 🙈 Co-authored-by: DMehaffy <[email protected]> * Remove question comment, no `next` in policies * Update based on Mégane's feedback Co-authored-by: DMehaffy <[email protected]> * Clarify with policyContext * [v4] Dev docs: Add destroy() + update functions (#462) * Add destroy() docs * Reword other functions docs for consistency + add cross-links * Add missing - * Break down destroy() use cases into a bullet list * Include destroy() in src/index.js comment in project structure * Move loading env vars to register * [v4] Dev docs: Move admin configuration out of server configuration (#461) * Update configuration intro * Add file to project structure docs * Add admin panel config to sidebar TOC * Add admin-panel configuration docs * Update server configuration * Update admin panel customization * Update SSO docs * Fix typo comman → command * Add TODO for SEO * Update docs/developer-docs/latest/setup-deployment-guides/configurations/required/admin-panel.md Co-authored-by: Alexandre BODIN <[email protected]> * Use env in example for API token salt Co-authored-by: Alexandre BODIN <[email protected]> * [v4] Dev docs updates to policies (#451) * Add policies subfolder in src/plugins folder in project structure docs * Delete backend-customization.md * Add another missing forward slash in path 😅 Co-authored-by: DMehaffy <[email protected]> * Remove unused link * Update link to plugin policies docs in project structure * Remove caution callout about performance impacts * Add link to strapi generate CLI docs * Remove TODO about strpai generate * Remove useless example * Tech writing improvements * Mention config object for policies * Update docs/developer-docs/latest/development/backend-customization/policies.md Co-authored-by: Alexandre BODIN <[email protected]> * Update docs/developer-docs/latest/development/backend-customization/policies.md * (WIP) Fix policies examples TODO: Include changes of this PR: https://github.com/strapi/strapi/pull/11478 Co-authored-by: DMehaffy <[email protected]> Co-authored-by: Alexandre BODIN <[email protected]> * Update after policies refactoring (#477) * [v4] Dev docs: Add error handling (#460) * Create error handling documentation * Add links in REST and GraphQL API docs * Add entry in sidebar TOC * Make h3 titles consistent * Improve wording * Update docs/developer-docs/latest/developer-resources/error-handling.md Co-authored-by: Pierre Noël <[email protected]> * Update JSONs * Improve based on Mégane's and Pierre N's feedback * Update with Pierre N feedback Co-authored-by: Pierre Noël <[email protected]> * [v4] Dev docs: Add more GraphQL customizations: auth, policies, middlewares (#459) * Update GraphQL customization example — now happens in src/index.js * Add missing link to "extending the schema" header * Start describing resolversConfig, with authorization options * Be even more explicit on the auth example * Add policies to GraphQL resolversConfig * Add middlewares to GraphQL resolversConfig * Add header links * Add TODO for TOC improvements (h5 😅) * Adding more header links * Fixing some paths in code examples to make sure @derrickmehaffy is happy 😂 * Fix links * Update docs/developer-docs/latest/plugins/graphql.md Co-authored-by: Jean-Sébastien Herbaux <[email protected]> * Update based on JS' feedback * Improve wording on `auth: false` and `scope` Co-authored-by: Jean-Sébastien Herbaux <[email protected]> * [v4] Dev docs: Update i18n with new REST & GraphQL syntax (#466) * Update REST API part * Update GraphQL API part * Update i18n REST TODO: double-check examples and explanations * Update based on Pierre N's feedback * [v4] Dev docs updates to controllers (#452) * Update controllers documentation * Remove sidebarDepth in yaml as default level (2) is enough * Delete unused backend-customization.md file * Add link to plugin controllers in project structure docs * Re-introduce core controllers examples Note: Code examples are not usable as-is, will be reworked with devs. * Go a level deeper in sidebar * Simplify controller usage section * Add link to strapi generate CLI docs * Improve core controllers intro based on Pierre N's feedback * Improve some controllers explanations * Add a temporary caution while controllers are under rework * [v4] Dev docs updates to middlewares (#455) * Move middlewares from optional to required configurations * Fix path and file name in project structure docs * Update middlewares configuration (missing full config reference for internal middlewares) * Enhance middlewares configuration * Add middleware customization * Add commented out node modules paragraph Not sure we should keep it though * Add mandatory configuration step to middlewares implementation * Add `strapi` to middleware implementation example * Update custom timer middleware example * Add almost all internal middlewares config. reference * Add public middleware config reference * WIP: Complete config tables * Add editing enhancements * Update some tables * Delete backend-customization.md * Update link to middlewares config * Fix links * Fix again (wrong link in prev. commit 😅 ) * Remove comment about strapi generate missing middlewares * Add link to strapi generate CLI docs * Improve based on devs feedback * Add mentions to plugins * Improve based on Pierre N's and Alex's feedback * Clarify built-in middlewares should not be removed * [v4] User Guide: API token documentation (#464) * Write documentation for API tokens settings * Document API tokens CRUD actions in Admin roles * Improve API token doc * Improve after reviews Co-authored-by: Pierre Wizla <[email protected]> * Update controllers code examples * Add callout about Error catching guide * Disable API token and count with GraphQL guides * Fix broken links (1 on 2) * Fix broken links (2 on 2) Co-authored-by: Brendan Laney <[email protected]> Co-authored-by: Chizaram Nwazuo <[email protected]> Co-authored-by: DMehaffy <[email protected]> Co-authored-by: petr-hajek <[email protected]> Co-authored-by: Alexandre BODIN <[email protected]> Co-authored-by: Pierre Noël <[email protected]> Co-authored-by: Jean-Sébastien Herbaux <[email protected]> Co-authored-by: meganelacheny <[email protected]> * Update spelling: Content-Types Builder → Content-Type Builder (#479) * Fix auth: scope snippet in GraphQL custom * Add GraphQL defaultLimit/maxLimit docs in config/plugins.js (#480) * [v4] Clean up todos & question comments (#481) * Clean up TODOs * Clean up question comments * Fix admin panel config link in project structure * Update services.md * Update controllers.md * Add example on how to populate dynamic zones * Fix populate dynamic zone * [v4] Refactor Proxy documentation (#475) * [dev/latest-guides-auth-request] Fixed grammatical error (#431) * Fixed grammatical error * Fixed to better match style guide Co-authored-by: Pierre Wizla <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> * npm build command doesn't work. Use npm run build (#440) See: https://stackoverflow.com/questions/29939697/npm-build-doesnt-run-the-script-named-build-in-package-json This should also be updated across the docs wherever its found. Maybe I'll go hunting soon if this one gets merged (first time contributor here 😊) * Update note in v3 migration guides (#449) * fix publicationState filter docs (#425) Co-authored-by: DMehaffy <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> * [v4] Dev docs: Shorter backend customizations intro (#458) * WIP * Add a short backend customization introduction * Update yaml title Co-authored-by: DMehaffy <[email protected]> Co-authored-by: DMehaffy <[email protected]> * [v4] Dev docs: cron jobs (#463) * Move CRON tasks out of functions docs & refactor structure * Update: is → should be in prereq. * Update docs/developer-docs/latest/setup-deployment-guides/configurations/optional/cronjobs.md Co-authored-by: DMehaffy <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/configurations/optional/cronjobs.md Co-authored-by: DMehaffy <[email protected]> Co-authored-by: DMehaffy <[email protected]> * [v4] Dev docs: CLI updates (#467) * Add the new interactive `strapi generate` + all the `:list` commands * Add strapi watch-admin * Add links to docs entries for :list commands * [v4] Dev docs updates to services (#453) * Update services documentation * Delete unused backend-customization.md * Update intro to make it consistent with other backend custom. docs * Add link to strapi generate CLI docs * [v4] Dev docs: Add API token documentation (#457) * Add API token documentation * Delete file(s) * Add example to full server config * Revert changes to REST API API token is passed in the header * Update how the API token is passed along with the request * Fix typo: unneeded space * `apiToken`: camelCase + move to minimal config (Note: will be moved to ./config/admin.js in another PR) * Update docs/developer-docs/latest/setup-deployment-guides/configurations/required/server.md Co-authored-by: DMehaffy <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/configurations/required/server.md Co-authored-by: DMehaffy <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/configurations/required/server.md Co-authored-by: DMehaffy <[email protected]> * [v4] Dev docs: Update command name for template generation (#474) * Update command name for template generation throughout all docs * Update header * [v4] Dev docs updates to routes (#450) * Update routes file in backend customization * Improve routes content and wording * Fix syntax (JSON → JS) * Delete routing.md (Now using routes) * Delete backend-customization.md * Consists in → consists of Co-authored-by: DMehaffy <[email protected]> * Add missing forward slash in path Co-authored-by: DMehaffy <[email protected]> * Add missing forward slash in path Co-authored-by: DMehaffy <[email protected]> * Add another missing forward slash in path 😅 Co-authored-by: DMehaffy <[email protected]> * Add another missing forward slash in path, again 😅 Co-authored-by: DMehaffy <[email protected]> * Add another missing forward slash 😅 🙈 Co-authored-by: DMehaffy <[email protected]> * Remove question comment, no `next` in policies * Update based on Mégane's feedback Co-authored-by: DMehaffy <[email protected]> * Clarify with policyContext * [v4] Dev docs: Add destroy() + update functions (#462) * Add destroy() docs * Reword other functions docs for consistency + add cross-links * Add missing - * Break down destroy() use cases into a bullet list * Include destroy() in src/index.js comment in project structure * Move loading env vars to register * [v4] Dev docs: Move admin configuration out of server configuration (#461) * Update configuration intro * Add file to project structure docs * Add admin panel config to sidebar TOC * Add admin-panel configuration docs * Update server configuration * Update admin panel customization * Update SSO docs * Fix typo comman → command * Add TODO for SEO * Update docs/developer-docs/latest/setup-deployment-guides/configurations/required/admin-panel.md Co-authored-by: Alexandre BODIN <[email protected]> * Use env in example for API token salt Co-authored-by: Alexandre BODIN <[email protected]> * Completely refactor Nginx proxy guide * Work in progress HAProxy & Caddy + Moved some stuff to snippets * Finish refactoring all guides * Update services intro to match `next` content * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/snippets/strapi-server.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/snippets/strapi-server.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/nginx-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/nginx-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/nginx-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/snippets/admin-redirect.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/snippets/strapi-server.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/snippets/strapi-server.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/snippets/strapi-server.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/snippets/strapi-server.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/nginx-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/snippets/strapi-server.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/snippets/strapi-server.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/snippets/strapi-server.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/snippets/strapi-server.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/snippets/strapi-server.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/snippets/strapi-server.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/snippets/strapi-server.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/snippets/strapi-server.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/snippets/strapi-server.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/caddy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/caddy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/caddy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/caddy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/caddy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/caddy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/caddy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/caddy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/caddy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/caddy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/caddy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/haproxy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/caddy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/caddy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/caddy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/caddy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/haproxy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/haproxy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/haproxy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/haproxy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/haproxy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/haproxy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/haproxy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/haproxy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/haproxy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/haproxy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/haproxy-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/nginx-proxy.md * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/nginx-proxy.md * Tech writing improvements * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/caddy-proxy.md * More TW improvements Co-authored-by: Brendan Laney <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> Co-authored-by: Chizaram Nwazuo <[email protected]> Co-authored-by: petr-hajek <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> Co-authored-by: Alexandre BODIN <[email protected]> * Fix Github URL for theme in Admin Panel customization * Fix conflict in caddy-proxy.md * Add cross-reference links in dev docs & user guide (#491) * Update Admin plugin API (#494) Signed-off-by: soupette <[email protected]> * Remove global Strapi API reference (#495) * Fix indentation in backend customization > middlewares * [v4] Fix SSO paths (#497) * Fix path for config files (now in admin config) * Update heading level * Add missing paths in code examples * Update docs/developer-docs/latest/setup-deployment-guides/configurations/optional/sso.md * Update docs/developer-docs/latest/setup-deployment-guides/configurations/optional/sso.md * [v4] Fix all DB examples (#468) * [dev/latest-guides-auth-request] Fixed grammatical error (#431) * Fixed grammatical error * Fixed to better match style guide Co-authored-by: Pierre Wizla <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> * npm build command doesn't work. Use npm run build (#440) See: https://stackoverflow.com/questions/29939697/npm-build-doesnt-run-the-script-named-build-in-package-json This should also be updated across the docs wherever its found. Maybe I'll go hunting soon if this one gets merged (first time contributor here 😊) * Update note in v3 migration guides (#449) * fix publicationState filter docs (#425) Co-authored-by: DMehaffy <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> * [v4] Dev docs: Shorter backend customizations intro (#458) * WIP * Add a short backend customization introduction * Update yaml title Co-authored-by: DMehaffy <[email protected]> Co-authored-by: DMehaffy <[email protected]> * [v4] Dev docs: cron jobs (#463) * Move CRON tasks out of functions docs & refactor structure * Update: is → should be in prereq. * Update docs/developer-docs/latest/setup-deployment-guides/configurations/optional/cronjobs.md Co-authored-by: DMehaffy <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/configurations/optional/cronjobs.md Co-authored-by: DMehaffy <[email protected]> Co-authored-by: DMehaffy <[email protected]> * [v4] Dev docs: CLI updates (#467) * Add the new interactive `strapi generate` + all the `:list` commands * Add strapi watch-admin * Add links to docs entries for :list commands * [v4] Dev docs updates to services (#453) * Update services documentation * Delete unused backend-customization.md * Update intro to make it consistent with other backend custom. docs * Add link to strapi generate CLI docs * [v4] Dev docs: Add API token documentation (#457) * Add API token documentation * Delete file(s) * Add example to full server config * Revert changes to REST API API token is passed in the header * Update how the API token is passed along with the request * Fix typo: unneeded space * `apiToken`: camelCase + move to minimal config (Note: will be moved to ./config/admin.js in another PR) * Update docs/developer-docs/latest/setup-deployment-guides/configurations/required/server.md Co-authored-by: DMehaffy <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/configurations/required/server.md Co-authored-by: DMehaffy <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/configurations/required/server.md Co-authored-by: DMehaffy <[email protected]> * [v4] Dev docs: Update command name for template generation (#474) * Update command name for template generation throughout all docs * Update header * [v4] Dev docs updates to routes (#450) * Update routes file in backend customization * Improve routes content and wording * Fix syntax (JSON → JS) * Delete routing.md (Now using routes) * Delete backend-customization.md * Consists in → consists of Co-authored-by: DMehaffy <[email protected]> * Add missing forward slash in path Co-authored-by: DMehaffy <[email protected]> * Add missing forward slash in path Co-authored-by: DMehaffy <[email protected]> * Add another missing forward slash in path 😅 Co-authored-by: DMehaffy <[email protected]> * Add another missing forward slash in path, again 😅 Co-authored-by: DMehaffy <[email protected]> * Add another missing forward slash 😅 🙈 Co-authored-by: DMehaffy <[email protected]> * Remove question comment, no `next` in policies * Update based on Mégane's feedback Co-authored-by: DMehaffy <[email protected]> * Clarify with policyContext * [v4] Dev docs: Add destroy() + update functions (#462) * Add destroy() docs * Reword other functions docs for consistency + add cross-links * Add missing - * Break down destroy() use cases into a bullet list * Include destroy() in src/index.js comment in project structure * Move loading env vars to register * [v4] Dev docs: Move admin configuration out of server configuration (#461) * Update configuration intro * Add file to project structure docs * Add admin panel config to sidebar TOC * Add admin-panel configuration docs * Update server configuration * Update admin panel customization * Update SSO docs * Fix typo comman → command * Add TODO for SEO * Update docs/developer-docs/latest/setup-deployment-guides/configurations/required/admin-panel.md Co-authored-by: Alexandre BODIN <[email protected]> * Use env in example for API token salt Co-authored-by: Alexandre BODIN <[email protected]> * Fix all DB example configs excluding pool options Signed-off-by: Derrick Mehaffy <[email protected]> * add notes to the objects and add debug example to sqlite * Finish refactoring database based on alex feedback Signed-off-by: Derrick Mehaffy <[email protected]> * remove tab that isn't needed, add headers * Update services intro to match latest `next` content * Re-add update SEO tag as it's handled in another PR * Update docs/developer-docs/latest/setup-deployment-guides/configurations/required/databases.md * add forcedMigration option Co-authored-by: Brendan Laney <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> Co-authored-by: Chizaram Nwazuo <[email protected]> Co-authored-by: petr-hajek <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> Co-authored-by: Alexandre BODIN <[email protected]> * Explicit the difference between `populate=*` and `[populate]=*` * Move tip about using qs higher * Move caution about filters to filters section * Fix server config conflict * [v4] next-4 release (#500) * [v4] Snippet for community contributions for integration guides (#496) * Add snippet asking community contributions for integration guides * Update wording of snippet * [v4] Various Misc fixes to documentation (#483) * Minor fixes * more small fixes * pr feedback * fix api config defaults * [v4] Quick Start Guide updates (part. 1 - Hands-on) (#493) * Rework the "What to do next" sections * Restore medium-zoom plugin feature * Update first admin panel screenshot * Update wording, screenshots and GIFs for Hands-on path * Update capitalization for "field" * Add `@latest` tag Or else it will try to use the local cached version of create-strapi-app * Update formatting for UI in Hands-on so we're consistent with the user guide TODO: add icons once merged with Mégane's PR * Fix pluralized UI wordings * Add latest user docs folder content * Update admin roles + field selection + plugins list screenshots * Delete admin panel screenshot from Documentation plugin doc * Fix path in Update Strapi doc * Update alt text on QSG Hands-on screenshots * Remove misplaced screenshot * De-index some guides * Add snippet for deployment guides contributions * Update login page screenshot with SSO * Fix merge (SSO, API token…) with user docs * Add API tokens screenshot in user guide * Fix wording in a "Configuring view of content-type" table * Add missing contribution snippet to "Custom data response" guide * [v4] Controllers, services & routes updates (factories) (#488) * update core example * Rewrite intro sentence * collection type examples + other fixes * rewrite another example + singletypes * Reword tip * add cli command at bottom * Improve tech writing * Improve example * add additional comment to make it clear * Fix a few things in controllers and update service examples * forgot services path * Rewrite router docuementation * Tech writing improvements * Use proper "action" wording * Update wording Co-authored-by: Alexandre BODIN <[email protected]> Co-authored-by: derrickmehaffy <[email protected]> Co-authored-by: Alexandre BODIN <[email protected]> * [v4] SEO tags (#482) * Add missing SEO tags * Canonical URL additions for SEO (#486) Co-authored-by: Sam Torres <[email protected]> * Update docs/developer-docs/latest/development/backend-customization/models.md Co-authored-by: Maxime Castres <[email protected]> * Update docs/developer-docs/latest/development/backend-customization/controllers.md Co-authored-by: Maxime Castres <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/configurations/optional/environment.md Co-authored-by: Maxime Castres <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/configurations/optional/sso.md Co-authored-by: Maxime Castres <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/configurations/optional/rbac.md Co-authored-by: Maxime Castres <[email protected]> * Shorten 'Strapi Developer Documentation' to 'Strapi Developer Docs' Co-authored-by: Samantha Torres <[email protected]> Co-authored-by: Sam Torres <[email protected]> Co-authored-by: Maxime Castres <[email protected]> * Add note about provider logos in SSO docs * Add link to screenshot in user guide in previously added note (SSO) * Move integrations further down in TOC * Fix syntax highlighting language declaration in Heroku guide * Fix integrations location in TOC * Fully update Quick Start Guide (starters path rework + update hands-on) (#502) * Fix CM icon in Quick Start Guide * Fix Create new restaurant screenshot in QSG * Fix server config conflict * [v4] Configurations & Database rework (#504) * Move API tokens to their proper documentation entry * Add some light database docs improvements * Improve structure & consistency of admin panel & server config. docs * Fix broken links * Slightly improve functions docs * Config → configuration * Fix wrong use of bold * Improve RBAC * Improve Public Assets * Improve middlewares (config.) * Improve databases * Improve environment Co-authored-by: DMehaffy <[email protected]> Co-authored-by: Mégane Lacheny <[email protected]> Co-authored-by: Alexandre BODIN <[email protected]> Co-authored-by: Samantha Torres <[email protected]> Co-authored-by: Sam Torres <[email protected]> Co-authored-by: Maxime Castres <[email protected]> * Fix broken link (API token → env vars) * Optimize presentation of the generic implementation example for routes * Update snippet for community contributions to 1-click install guides * Add more false positives to broken links checking tool * Update TOC order for plugins * Delete MongoDB install. guide Co-authored-by: Pierre Wizla <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> Co-authored-by: meganelacheny <[email protected]> Co-authored-by: Rémi de Juvigny <[email protected]> Co-authored-by: Alexandre BODIN <[email protected]> Co-authored-by: Pierre Noël <[email protected]> Co-authored-by: Brendan Laney <[email protected]> Co-authored-by: Chizaram Nwazuo <[email protected]> Co-authored-by: petr-hajek <[email protected]> Co-authored-by: Jean-Sébastien Herbaux <[email protected]> Co-authored-by: cyril lopez <[email protected]> Co-authored-by: Samantha Torres <[email protected]> Co-authored-by: Sam Torres <[email protected]> Co-authored-by: Maxime Castres <[email protected]>
1 parent 0b0accf commit 0c85ccc

File tree

328 files changed

+11185
-9692
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

328 files changed

+11185
-9692
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Strapi is a free and open-source headless CMS delivering your content anywhere y
1717

1818
- **Keep control over your data**. With Strapi, you know where your data is stored, and you keep full control at all times.
1919
- **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.
20-
- **Database agnostic**. You can choose the database you prefer. Strapi works with SQL & NoSQL databases: MongoDB, PostgreSQL, MySQL, MariaDB, and SQLite.
20+
- **Database agnostic**. You can choose the database you prefer. Strapi works with SQL databases: PostgreSQL, MySQL, MariaDB, and SQLite.
2121
- **Customizable**. You can quickly build your logic by fully customizing APIs, routes, or plugins to fit your needs perfectly.
2222

2323
## Documentation Contribution Requirements

docs/.vuepress/config.js

+177-49
Large diffs are not rendered by default.
9.19 KB
Loading

docs/.vuepress/styles/index.styl

+3
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@
44
.el-tabs__item:not(.is-disabled):hover
55
color: $accentColor !important
66

7+
.sidebar-heading:not(.clickable)
8+
opacity: 1 !important
9+
710
@import "strapi-custom-blocks.styl"

docs/.vuepress/theme/global-components/DatabasesLinks.vue

+1-14
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,6 @@
1212
</template>
1313
</InstallLink>
1414
</div>
15-
16-
<!-- MongoDB -->
17-
<div>
18-
<InstallLink link="/developer-docs/latest/setup-deployment-guides/configurations/databases/mongodb.html">
19-
<template #icon>
20-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><defs><linearGradient id="0" x1="24.2" y1="47.593" x2="25.627" y2="0" gradientUnits="userSpaceOnUse"><stop stop-color="#74cb32"/><stop offset="1" stop-color="#abeb6b"/></linearGradient></defs><circle r="24" cy="24" cx="24" fill="url(#0)"/><g transform="matrix(.05078 0 0 .05078 10 10)" fill="#283d16"><path d="m413.69 0c0 0-45.37 44.01-94.43 61.759-363.33 131.42-210.1 387.52-205.1 388.36 0 0 20.374-35.48 47.896-55.717 174.64-128.39 210.14-276.17 210.14-276.17 0 0-39.19 177.83-194.56 288.48-34.32 24.426-57.55 84.57-67.39 144.68 0 0 24.325-9.828 34.785-12.49 4.079-26.618 12.607-52.11 27.03-74.875 217.15 25.854 288.27-149.12 297.56-210.14 21.929-144.1-55.928-253.89-55.928-253.89"/></g></svg>
21-
</template>
22-
<template #title>MongoDB</template>
23-
<template #description>
24-
Installation guide for MongoDB database
25-
</template>
26-
</InstallLink>
27-
</div>
2815
</div>
2916
</template>
3017

@@ -36,4 +23,4 @@ import InstallLink from "./InstallLink.vue"
3623
InstallLink
3724
}
3825
}
39-
</script>
26+
</script>

docs/.vuepress/theme/global-components/PluginsLinks.vue

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div>
33
<!-- API Documentation -->
44
<div>
5-
<InstallLink link="/developer-docs/latest/development/plugins/documentation.html">
5+
<InstallLink link="/developer-docs/latest/plugins/documentation.html">
66
<template #icon>
77
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="24">
88
<text
@@ -25,7 +25,7 @@
2525

2626
<!-- Email -->
2727
<div>
28-
<InstallLink link="/developer-docs/latest/development/plugins/email.html">
28+
<InstallLink link="/developer-docs/latest/plugins/email.html">
2929
<template #icon>
3030
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="24">
3131
<text
@@ -48,7 +48,7 @@
4848

4949
<!-- GraphQL -->
5050
<div>
51-
<InstallLink link="/developer-docs/latest/development/plugins/graphql.html">
51+
<InstallLink link="/developer-docs/latest/plugins/graphql.html">
5252
<template #icon>
5353
<svg
5454
xmlns="http://www.w3.org/2000/svg"
@@ -185,7 +185,7 @@
185185

186186
<!-- i18n -->
187187
<div>
188-
<InstallLink link="/developer-docs/latest/development/plugins/i18n.html">
188+
<InstallLink link="/developer-docs/latest/plugins/i18n.html">
189189
<template #icon>
190190
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="32">
191191
<g fill="none" fill-rule="evenodd">
@@ -208,7 +208,7 @@
208208

209209
<!-- Upload -->
210210
<div>
211-
<InstallLink link="/developer-docs/latest/development/plugins/upload.html">
211+
<InstallLink link="/developer-docs/latest/plugins/upload.html">
212212
<template #icon>
213213
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="22">
214214
<g fill="none" fill-rule="evenodd">
@@ -241,7 +241,7 @@
241241

242242
<!-- Users & Permissions -->
243243
<div>
244-
<InstallLink link="/developer-docs/latest/development/plugins/users-permissions.html">
244+
<InstallLink link="/developer-docs/latest/plugins/users-permissions.html">
245245
<template #icon>
246246
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="24">
247247
<text

docs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
meta:
33
- http-equiv: refresh
4-
content: 0;url=/documentation/developer-docs/latest/getting-started/introduction.html
4+
content: 0;url=/developer-docs/latest/getting-started/introduction.html
55
---
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

docs/developer-docs/latest/concepts/draft-and-publish.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2-
title: Draft and publish - Strapi Developer Documentation
2+
title: Draft and publish - Strapi Developer Docs
33
description: The draft and publish feature allows you to save your content as a draft, to publish it later.
4+
canonicalUrl: https://docs.strapi.io/developer-docs/latest/concepts/draft-and-publish.html
45
---
56

67
# Draft and publish
@@ -17,15 +18,15 @@ If the feature is deactivated while contents are saved as drafts, they will auto
1718

1819
To deactivate the draft and publish feature for a content type:
1920

20-
1. Go the Plugins > Content-Types Builder.
21+
1. Go the Plugins > Content-Type Builder.
2122
2. Select the collection or single type for which you want the draft and publish feature to be deactivated.
2223
3. Click on the Edit <Fa-PencilAlt /> button to access the content type's configurations.
2324
4. Click on the "Advanced Settings" tab.
2425
5. In the DRAFT/PUBLISH section, click on the **OFF** button.
2526
6. Click on the **Finish** button to confirm the deactivation of the feature.
2627

2728
::: tip
28-
It is also possible to activate or deactivate the feature when creating a new content type. To do so: after clicking on the **Create new collection/single type** button in the Content-Types Builder, follow steps 4 and 5 from the procedure above.
29+
It is also possible to activate or deactivate the feature when creating a new content type. To do so: after clicking on the **Create new collection/single type** button in the Content-Type Builder, follow steps 4 and 5 from the procedure above.
2930
:::
3031

3132
![Deactivate Draft & Publish](../assets/concepts/draft-publish/deactivating_draft_publish.png)

0 commit comments

Comments
 (0)