Skip to content

Commit 2434f23

Browse files
committed
🤖 Update LLMs files [skip ci]
1 parent 7cbf269 commit 2434f23

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

‎docusaurus/static/llms-code.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12890,7 +12890,7 @@ export default (policyContext, config, { strapi }) => {
1289012890
```
1289112891

1289212892
Language: JavaScript
12893-
File path: .src/api/[api-name]/policies/my-policy.js
12893+
File path: ./src/api/[api-name]/policies/my-policy.js
1289412894

1289512895
```js
1289612896

‎docusaurus/static/llms-full.txt‎

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,6 +1723,10 @@ A plugin's key/value pairs are declared independently in the plugin's files at `
17231723

17241724
If you need to ship additional translation JSON files—for example to organize large overrides or to support a locale not bundled with Strapi—place them in the `/src/admin/extensions/translations` folder and ensure the locale code is listed in `config.locales`.
17251725

1726+
:::tip Rebuild the admin
1727+
Translation changes apply when the admin rebuilds. If updates don’t show, re-run your dev server or rebuild the admin to refresh bundled translations.
1728+
:::
1729+
17261730

17271731

17281732
# Logos
@@ -1795,6 +1799,10 @@ Strapi's [admin panel](/cms/admin-panel-customization) comes with a built-in ric
17951799
- You can install a third-party plugin, such as one for CKEditor, by visiting .
17961800
- You can create your own plugin to create and register a fully custom WYSIWYG field (see [custom fields documentation](/cms/features/custom-fields)).
17971801

1802+
:::tip Next steps
1803+
When evaluating editors, start with a plugin from the Marketplace for a quick trial, then consider a custom field if you need deeper integration (schema, validation, or custom toolbar behavior).
1804+
:::
1805+
17981806

17991807

18001808
# Strapi Client
@@ -4907,6 +4915,10 @@ module.exports = {
49074915

49084916
The GraphQL plugin also allows [implementing custom middlewares](/cms/plugins/graphql#middlewares), with a different syntax.
49094917

4918+
:::tip Discover loaded middlewares
4919+
Run `yarn strapi middlewares:list` to list all registered middlewares and double‑check naming when wiring them in routers.
4920+
:::
4921+
49104922
## Usage
49114923

49124924
Middlewares are called different ways depending on their scope:
@@ -5417,7 +5429,7 @@ Policies are functions that execute specific logic on each request before it rea
54175429

54185430
Each [route](/cms/backend-customization/routes) of a Strapi project can be associated to an array of policies. For example, a policy named `is-admin` could check that the request is sent by an admin user, and restrict access to critical routes.
54195431

5420-
Policies can be global or scoped. [Global policies](#global-policies) can be associated to any route in the project. Scoped policies only apply to a specific [API](#api-policies) or [plugin](#plugin-policies).
5432+
Policies can be global or scoped. [Global policies](#global-policies) can be associated to any route in the project. Scoped policies only apply to a specific [API](#api-policies) or [plugin](#plugin-policies) and should live under the corresponding `./src/api/<api-name>/policies/` or `./src/plugins/<plugin-name>/policies/` folder.
54215433

54225434
<figure style={{width: '100%', margin: '0'}}>
54235435
<img src="/img/assets/backend-customization/diagram-routes.png" alt="Simplified Strapi backend diagram with routes and policies highlighted" />
@@ -8848,7 +8860,7 @@ The default workflow is configured to have 4 stages: To do, In progress, Ready t
88488860
2. In the workflow edit interface, configure the new workflow:
88498861
| Setting name | Instructions |
88508862
| -------------- | ------------------------------------------------------------------------ |
8851-
| Workflow name | Write a unique name of workflow. |
8863+
| Workflow name | Write a unique name for the workflow. |
88528864
| Associated to | (optional) Assign this workflow to one or more existing content-types. |
88538865
| Stages | Add review stages (see [Adding a new stage](#adding-a-new-stage)). |
88548866
3. Click on the **Save** button. The new workflow will be displayed in the list view and for every content-type assigned.

0 commit comments

Comments
 (0)