Skip to content

Commit

Permalink
Remove all "not v5" callouts
Browse files Browse the repository at this point in the history
  • Loading branch information
pwizla committed Nov 12, 2024
1 parent 22ab34d commit eed680f
Show file tree
Hide file tree
Showing 78 changed files with 0 additions and 216 deletions.
2 changes: 0 additions & 2 deletions docusaurus/docs/cloud/projects/runtime-logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ tags:
- Strapi Cloud
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# Runtime logs

From a chosen project's dashboard, the *Runtime logs* tab displays the live logs of the project.
Expand Down
1 change: 0 additions & 1 deletion docusaurus/docs/dev-docs/api/entity-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ unlisted: true

import EntityQueryKnex from '/docs/snippets/entity-query-knex.md'
import BackendIntroCrosslink from '/docs/snippets/backend-custom-intro-crosslink.md'
import NotV5 from '/docs/snippets/_not-updated-to-v5.md'
import ESdeprecated from '/docs/snippets/entity-service-deprecated.md'

# Entity Service API
Expand Down
2 changes: 0 additions & 2 deletions docusaurus/docs/dev-docs/api/graphql.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ tags:
- sort
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# GraphQL API

The GraphQL API allows performing queries and mutations to interact with the [content-types](/dev-docs/backend-customization/models#content-types) through Strapi's [GraphQL plugin](/dev-docs/plugins/graphql.md). Results can be [filtered](#filters), [sorted](#sorting) and [paginated](#pagination).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ tags:
- updateMany()
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'
import ConsiderDocumentService from '/docs/snippets/consider-document-service.md'

# Bulk Operations with the Query Engine API
Expand Down
1 change: 0 additions & 1 deletion docusaurus/docs/dev-docs/api/query-engine/filtering.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ tags:
- Query Engine API
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'
import ConsiderDocumentService from '/docs/snippets/consider-document-service.md'

# Filtering with the Query Engine API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ tags:
import QsIntroFull from '/docs/snippets/qs-intro-full.md'
import QsForQueryBody from '/docs/snippets/qs-for-query-body.md'
import QsForQueryTitle from '/docs/snippets/qs-for-query-title.md'
import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# REST API: Filtering, Locale, and Publication State

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,8 @@ tags:
- updatedBy
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# 🛠️ How to populate creator fields such as `createdBy` and `updatedBy`

<NotV5/>

The creator fields `createdBy` and `updatedBy` are removed from the [REST API](/dev-docs/api/rest) response by default. These 2 fields can be returned in the REST API by activating the `populateCreatorFields` parameter at the content-type level.

:::note
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,10 @@ tags:
import QsIntroFull from '/docs/snippets/qs-intro-full.md'
import QsForQueryTitle from '/docs/snippets/qs-for-query-title.md'
import QsForQueryBody from '/docs/snippets/qs-for-query-body.md'
import NotV5 from '/docs/snippets/_not-updated-to-v5.md'
import ScreenshotNumberReference from '/src/components/ScreenshotNumberReference.jsx';

# 🧠 Understanding the `populate` parameter for the REST API

<NotV5/>

:::note Note: Example responses might differ from your experience

The content of this page might not be fully up-to-date with Strapi 5 yet:
Expand Down
2 changes: 0 additions & 2 deletions docusaurus/docs/dev-docs/api/rest/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ tags:
- status
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# REST API parameters

API parameters can be used with the [REST API](/dev-docs/api/rest) to filter, sort, and paginate results and to select fields and relations to populate. Additionally, specific parameters related to optional Strapi features can be used, like the publication state and locale of a content-type.
Expand Down
1 change: 0 additions & 1 deletion docusaurus/docs/dev-docs/api/rest/populate-select.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ tags:
import QsIntroFull from '/docs/snippets/qs-intro-full.md'
import QsForQueryTitle from '/docs/snippets/qs-for-query-title.md'
import QsForQueryBody from '/docs/snippets/qs-for-query-body.md'
import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# REST API: Population & Field Selection

Expand Down
2 changes: 0 additions & 2 deletions docusaurus/docs/dev-docs/api/rest/relations.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ tags:
- REST API
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# Managing relations with API requests

Defining relations between content-types (that are designated as entities in the database layers) is connecting entities with each other.
Expand Down
1 change: 0 additions & 1 deletion docusaurus/docs/dev-docs/api/rest/sort-pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ tags:
import QsIntroFull from '/docs/snippets/qs-intro-full.md'
import QsForQueryTitle from '/docs/snippets/qs-for-query-title.md'
import QsForQueryBody from '/docs/snippets/qs-for-query-body.md'
import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# REST API: Sort & Pagination

Expand Down
4 changes: 0 additions & 4 deletions docusaurus/docs/dev-docs/backend-customization/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@ pagination_prev: dev-docs/backend-customization
pagination_next: dev-docs/backend-customization/examples/authentication
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# Backend customization: An examples cookbook using FoodAdvisor

<NotV5/>

The present section of the documentation is intended for developers who would like to get a deeper understanding of the Strapi back end customization possibilities.

The section is a collection of examples that demonstrate how the core components of the back-end server of Strapi can be used in a real-world project. Front-end code that interacts with the back end may also be part of some examples, but displayed in collapsed blocks by default since front-end code examples are not the main focus of this cookbook.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@ pagination_prev: dev-docs/backend-customization/examples
pagination_next: dev-docs/backend-customization/examples/services-and-controllers
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# Examples cookbook: Authentication flow with JWT

<NotV5/>

:::prerequisites
This page is part of the back end customization examples cookbook. Please ensure you've read its [introduction](/dev-docs/backend-customization/examples).
:::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@ displayed_sidebar: devDocsSidebar
pagination_prev: dev-docs/backend-customization/examples/routes
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# Examples cookbook: Custom global middlewares

<NotV5/>

:::prerequisites
This page is part of the back end customization examples cookbook. Please ensure you've read its [introduction](/dev-docs/backend-customization/examples).
:::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@ pagination_prev: dev-docs/backend-customization/examples/services-and-controller
pagination_next: dev-docs/backend-customization/examples/routes
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# Examples cookbook: Custom policies

<NotV5/>

:::prerequisites
This page is part of the back end customization examples cookbook. Please ensure you've read its [introduction](/dev-docs/backend-customization/examples).
:::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@ pagination_prev: dev-docs/backend-customization/examples/policies
pagination_next: dev-docs/backend-customization/examples/middlewares
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# Examples cookbook: Custom routes

<NotV5/>

:::prerequisites
This page is part of the back end customization examples cookbook. Please ensure you've read its [introduction](/dev-docs/backend-customization/examples).
:::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@ tags:
- services
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# Examples cookbook: Custom services and controllers

<NotV5/>

:::prerequisites
This page is part of the back end customization examples cookbook. Please ensure you've read its [introduction](/dev-docs/backend-customization/examples).
:::
Expand Down
4 changes: 0 additions & 4 deletions docusaurus/docs/dev-docs/backend-customization/webhooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,8 @@ tags:
- webhooks
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# Webhooks

<NotV5 />

Webhook is a construct used by an application to notify other applications that an event occurred. More precisely, webhook is a user-defined HTTP callback. Using a webhook is a good way to tell third party providers to start some processing (CI, build, deployment ...).

The way a webhook works is by delivering information to a receiving application through HTTP requests (typically POST requests).
Expand Down
4 changes: 0 additions & 4 deletions docusaurus/docs/dev-docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,8 @@ tags:
- strapi report
---

import NotV5 from '/docs/snippets/\_not-updated-to-v5.md'

# Command Line Interface (CLI)

<NotV5 />

Strapi comes with a full featured Command Line Interface (CLI) which lets you scaffold and manage your project in seconds. The CLI works with both the `yarn` and `npm` package managers.

:::caution
Expand Down
4 changes: 0 additions & 4 deletions docusaurus/docs/dev-docs/configurations/admin-panel.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,8 @@ tags:
- password
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# Admin panel configuration

<NotV5 />

The `./config/admin.js` is used to define admin panel configuration for the Strapi application.

## Available options
Expand Down
4 changes: 0 additions & 4 deletions docusaurus/docs/dev-docs/configurations/api-tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,8 @@ tags:
- REST API
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# API tokens

<NotV5 />

Authentication strategies in Strapi can either be based on the use of the [Users & Permissions plugin](/user-docs/users-roles-permissions) or on the built-in API token feature.

Using API tokens allows executing a request on [REST API](/dev-docs/api/rest) or [GraphQL API](/dev-docs/api/graphql) endpoints as an authenticated user.
Expand Down
4 changes: 0 additions & 4 deletions docusaurus/docs/dev-docs/configurations/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@ tags:
- REST API
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# API configuration

<NotV5 />

General settings for API calls can be set in the `./config/api.js` file:

| Property | Description | Type | Default |
Expand Down
4 changes: 0 additions & 4 deletions docusaurus/docs/dev-docs/configurations/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@ tags:
- cron job
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# Cron jobs

<NotV5 />

:::prerequisites
The `cron.enabled` configuration option should be set to `true` in the `./config/server.js` (or `./config/server.ts` for TypeScript projects) [file](/dev-docs/configurations/server).
:::
Expand Down
4 changes: 0 additions & 4 deletions docusaurus/docs/dev-docs/configurations/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@ tags:
- environment
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# Environment configuration and variables

<NotV5 />

Strapi provides specific environment variable names. Defining them in an environment file (e.g., `.env`) will make these variables and their values available in your code.

:::tip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@ tags:
- environment
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# How to access and cast environment variables

<NotV5 />

In most use cases there will be different configurations between environments (e.g. database credentials).

Instead of writing those credentials into configuration files, variables can be defined in a `.env` file at the root of the application:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@ tags:
- public assets
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# How to use public assets with Strapi

<NotV5 />

Public assets are static files (e.g. images, video, CSS files, etc.) that you want to make accessible to the outside world.

Because an API may need to serve static assets, every new Strapi project includes by default a folder named `/public`. Any file located in this directory is accessible if the request's path doesn't match any other defined route and if it matches a public file name (e.g. an image named `company-logo.png` in `./public/` is accessible through `/company-logo.png` URL).
Expand Down
4 changes: 0 additions & 4 deletions docusaurus/docs/dev-docs/configurations/guides/rbac.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,8 @@ tags:
- Users, Roles & Permissions
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# How to create custom conditions for Role-Based Access Control (RBAC)

<NotV5 />

Role-Based Access Control (RBAC) is an approach to restricting access to some users. In a Strapi application, users of the admin panel are administrators. Their roles and permissions are [configured in the admin panel](/user-docs/users-roles-permissions/configuring-administrator-roles).

## Declaring new conditions
Expand Down
4 changes: 0 additions & 4 deletions docusaurus/docs/dev-docs/configurations/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,8 @@ tags:

---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# Plugins configuration

<NotV5 />

Plugin configurations are stored in `/config/plugins.js|ts` (see [project structure](/dev-docs/project-structure)). Each plugin can be configured with the following available parameters:

| Parameter | Description | Type |
Expand Down
4 changes: 0 additions & 4 deletions docusaurus/docs/dev-docs/configurations/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,8 @@ tags:
- port
---

import NotV5 from '/docs/snippets/\_not-updated-to-v5.md'

# Server configuration

<NotV5 />

The `./config/server.js` file is used to define the server configuration for a Strapi application.

:::caution
Expand Down
4 changes: 0 additions & 4 deletions docusaurus/docs/dev-docs/configurations/sso.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,8 @@ tags:
- SSO
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# Single Sign-On <EnterpriseBadge/>

<NotV5 />

Single Sign-On on Strapi allows you to configure additional sign-in and sign-up methods for your administration panel.

:::prerequisites
Expand Down
4 changes: 0 additions & 4 deletions docusaurus/docs/dev-docs/configurations/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@ tags:
- typescript
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# TypeScript configuration

<NotV5 />

[TypeScript](/dev-docs/typescript)-enabled Strapi projects have a specific project structure and handle TypeScript project configuration through [`tsconfig.json` files](#project-structure-and-typescript-specific-configuration-files).

Strapi also has dedicated TypeScript features that are configured [in the `config/typescript.js|ts` file](#strapi-specific-configuration-for-typescript).
Expand Down
3 changes: 0 additions & 3 deletions docusaurus/docs/dev-docs/custom-fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@ tags:
---

import CustomFieldRequiresPlugin from '/docs/snippets/custom-field-requires-plugin.md'
import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# Custom fields

<NotV5 />

Custom fields extend Strapi’s capabilities by adding new types of fields to content-types and components. Once created or added to Strapi via plugins, custom fields can be used in the Content-Type Builder and Content Manager just like built-in fields.

The present documentation is intended for custom field creators: it describes which APIs and functions developers must use to create a new custom field. The [User Guide](/user-docs/plugins/introduction-to-plugins.md#custom-fields) describes how to add and use custom fields from Strapi's admin panel.
Expand Down
4 changes: 0 additions & 4 deletions docusaurus/docs/dev-docs/data-management/export.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@ tags:
- tar.gz.enc file
---

import NotV5 from '/docs/snippets/_not-updated-to-v5.md'

# Data export

<NotV5 />

The `strapi export` command is used to export data from a local Strapi instance. By default, the `strapi export` command exports data as an encrypted and compressed `tar.gz.enc` file which includes:

- the project configuration,
Expand Down
Loading

0 comments on commit eed680f

Please sign in to comment.