Skip to content

Commit fe902b2

Browse files
committed
fix: update core docs
1 parent ff8d6cb commit fe902b2

File tree

6 files changed

+11
-78
lines changed

6 files changed

+11
-78
lines changed

packages/docs/docs/api/graphql.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,3 @@ slug: /api/graphql
1010

1111
As of writing this page there is no GraphQL API exposed by the Webtools core plugin. You might be able to still get most of its functionality by querying the native Strapi GraphQL API, but this is not officially supported at this time.
1212

13-
## Status
14-
15-
GraphQL support for Webtools core is not available yet. If you want this feature to happen, please get involved on GitHub. Webtools is a rapidly growing plugin suite for Strapi and community feedback is always appreciated.

packages/docs/docs/getting-started/installation.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,11 @@ slug: /
1010
Complete installation requirements are the exact same as for Strapi itself and can be found in the Strapi documentation.
1111

1212
**Additional Requirements:**
13-
- **Node.js**: Version 18.17 or higher
13+
- **Node.js**: Version 18 or higher
1414
- **Strapi**: Version 5.x
1515

16-
:::tip Node Version Manager
17-
Create a `.nvmrc` file with `18.17` for consistent versions across your team:
18-
```bash
19-
echo "18.17" > .nvmrc
20-
nvm use
21-
```
2216
:::
2317

24-
### Supported versions
25-
26-
- Strapi v5
27-
2818
### Installation
2919

3020
To install the plugin run the following command in your Strapi project directory. This invokes the core Webtools CLI (webtools-cli).

packages/docs/docs/getting-started/troubleshooting.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ Common issues and solutions when working with Strapi Webtools.
1212

1313
### Node.js version error
1414
```
15-
The engine "node" is incompatible with this module. Expected version ">=18.17"
15+
The engine "node" is incompatible with this module. Expected version ">=18"
1616
```
1717

18-
**Solution:** Update Node.js to version 18.17 or higher:
18+
**Solution:** Update Node.js to version 18 or higher:
1919
```bash
20-
nvm install 18.17
21-
nvm use 18.17
20+
nvm install 18
21+
nvm use 18
2222
```
2323

2424
### Peer dependency warnings
@@ -28,6 +28,11 @@ Multiple warnings about unmet peer dependencies during installation.
2828

2929
## Pattern & URL Issues
3030

31+
### URL is incorrect
32+
The Webtools plugin applies it's own slugify function to your URLs. That means that if you have already have a slugified field, which you then use in an URL pattern, it will be slugified again, potentially causing incorrect URLs. If you want you can disable the slugify function of Webtools by updating the slugify configuration.
33+
34+
See [slugify configuration docs](/configuration/slugify)
35+
3136
### Can't select field in pattern
3237
When creating URL patterns, some content types don't show field options.
3338

packages/docs/docs/getting-started/usage.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,3 @@ After enabling Webtools for your content types:
6262
Type `[` in the pattern field to see available fields from your content type.
6363
:::
6464

65-
## Sitemap setup
66-
67-
For setting up and generating your XML sitemap, see Addons > Sitemap:
68-
- Getting Started and Settings: /addons/sitemap/getting-started/introduction and /addons/sitemap/settings/introduction
69-
- CLI usage: /addons/sitemap/cli
70-
71-
This keeps sitemap-specific steps within the Addons documentation.

packages/docs/docs/getting-started/use-cases.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

packages/docs/sidebars.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ const sidebars = {
2424
items: [
2525
"getting-started/installation",
2626
"getting-started/usage",
27-
"getting-started/url-alias",
2827
"getting-started/url-pattern",
29-
"getting-started/use-cases",
28+
"getting-started/url-alias",
3029
"getting-started/permissions",
3130
"getting-started/troubleshooting",
3231
],

0 commit comments

Comments
 (0)