Skip to content

Commit cb51470

Browse files
authored
Merge pull request #233 from pluginpal/feature/enhanced-docs
Feature/enhanced docs
2 parents 2841254 + 871dbc4 commit cb51470

File tree

19 files changed

+126
-40
lines changed

19 files changed

+126
-40
lines changed

.changeset/lemon-ghosts-shout.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"docs": minor
3+
---
4+
5+
docs: enhance the documentation website (fill in blank pages, add images and overall fixes)

.changeset/metal-jars-tan.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"webtools-addon-sitemap": patch
3+
"strapi-plugin-webtools": patch
4+
---
5+
6+
docs: update the README and package.json with the latest information

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,17 @@ npm run develop
5656

5757
Enjoy 🎉
5858

59+
## Enabling
60+
61+
After successful installation you now need to enable Webtools for the content-types of your choice. Read more about how to do that in the [usage documentation](https://docs.pluginpal.io/webtools/usage).
62+
5963
## 📓 Documentation
6064

61-
See our dedicated [repository](https://github.com/pluginpal/docs) for all of PluginPal's documentation, or view the Webtools documentation live:
65+
The full documentation of this plugin can be found on it's dedicated documentation website.
66+
67+
- [Webtools core plugin](https://docs.pluginpal.io/webtools)
68+
- [Webtools sitemap addon](https://docs.pluginpal.io/webtools/addons/sitemap)
6269

63-
- [Webtools documentation](https://docs.pluginpal.io/webtools)
6470

6571
## 🔌 Addons
6672

packages/addons/sitemap/README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@
2323

2424
## ✨ Features
2525

26-
- **Multilingual** (Implements `rel="alternate"` with `@strapi/plugin-i18n`)
26+
- **Multilingual** (Implements `rel="alternate"` using the [official i18n Strapi patterns](https://docs.strapi.io/dev-docs/i18n))
27+
- **Admin UI** (Easily configure your sitemaps using the admin UI)
2728
- **URL bundles** (Bundle URLs by type and add them to the sitemap XML)
29+
- **Custom URLs** (URLs of pages which are not managed in Strapi)
2830
- **Virtual sitemap** (Sitemaps served from the database)
2931
- **Cron regeneration** (Automatically scheduled cron job for regeneration)
3032
- **Sitemap indexes** (Paginated sitemap indexes for large URL sets)
3133
- **Exclude URLs** (Exclude specified URLs from the sitemap)
32-
- **Custom URLs** (URLs of pages which are not managed in Strapi)
3334
- **CLI** (CLI for sitemap generation)
3435
- **Styled with XSL** (Human readable XML styling)
3536

@@ -57,15 +58,19 @@ npm run build
5758
npm run develop
5859
```
5960

60-
The **Sitemap** plugin should now appear in the **Settings** section of your Strapi app.
61+
The **Sitemap** plugin should now appear in the **Webtools** section of your Strapi app.
6162

6263
Enjoy 🎉
6364

6465
## 📓 Documentation
6566

66-
See our dedicated [repository](https://github.com/pluginpal/docs) for all of PluginPal's documentation, or view the Webtools Sitemap add-on documentation live:
67+
The full documentation of this plugin can be found on it's dedicated documentation website.
68+
69+
- [Webtools documentation](https://docs.pluginpal.io/webtools)
70+
71+
## 🔌 Addons
6772

68-
- [Webtools Sitemap add-on documentation](https://docs.pluginpal.io/webtools/addons/sitemap)
73+
Webtools can be extended by installing addons that hook into the core Webtools functionality. Read more about how addons work and how to install them in the [addons documentation](https://docs.pluginpal.io/webtools/addons).
6974

7075
## 🤝 Contributing
7176

packages/addons/sitemap/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@
9696
"url": "https://github.com/pluginpal/strapi-webtools/issues"
9797
},
9898
"homepage": "https://github.com/pluginpal/strapi-webtools",
99+
"repository": {
100+
"type": "git",
101+
"url": "git://github.com/pluginpal/strapi-webtools.git"
102+
},
99103
"engines": {
100104
"node": ">=18.x.x <=20.x.x",
101105
"npm": ">=6.0.0"

packages/core/README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,28 @@ npm run develop
5656

5757
Enjoy 🎉
5858

59+
## Enabling
60+
61+
After successful installation you now need to enable Webtools for the content-types of your choice. Read more about how to do that in the [usage documentation](https://docs.pluginpal.io/webtools/usage).
62+
5963
## 📓 Documentation
6064

61-
See our dedicated [repository](https://github.com/pluginpal/docs) for all of PluginPal's documentation, or view the Webtools documentation live:
65+
The full documentation of this plugin can be found on it's dedicated documentation website.
6266

6367
- [Webtools documentation](https://docs.pluginpal.io/webtools)
6468

6569
## 🔌 Addons
6670

6771
Webtools can be extended by installing addons that hook into the core Webtools functionality. Read more about how addons work and how to install them in the [addons documentation](https://docs.pluginpal.io/webtools/addons).
6872

73+
## 🤝 Contributing
74+
75+
Feel free to fork and make a pull request of this plugin. All the input is welcome!
76+
77+
## ⭐️ Show your support
78+
79+
Give a star if this project helped you.
80+
6981
## 🔗 Links
7082

7183
- [PluginPal marketplace](https://www.pluginpal.io/plugin/webtools)

packages/core/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@
9090
"url": "https://github.com/pluginpal/strapi-webtools/issues"
9191
},
9292
"homepage": "https://www.pluginpal.io/plugin/webtools",
93+
"repository": {
94+
"type": "git",
95+
"url": "git://github.com/pluginpal/strapi-webtools.git"
96+
},
9397
"engines": {
9498
"node": ">=18.x.x <=20.x.x",
9599
"npm": ">=6.0.0"

packages/docs/docs/addons/sitemap/api/rest.md

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

packages/docs/docs/addons/sitemap/configuration/introduction.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,20 @@ displayed_sidebar: webtoolsSitemapSidebar
44
slug: /addons/sitemap/configuration
55
---
66

7-
# Configuration
7+
# 🔧 Configuration
8+
The configuration of the plugin can be overridden in the `config/plugins.js` file.
9+
In the example below you can see how, and also what the default settings are.
10+
11+
```md title="config/plugins.js"
12+
module.exports = ({ env }) => ({
13+
'webtools-addon-sitemap': {
14+
enabled: true,
15+
config: {
16+
cron: '0 0 0 * * *',
17+
limit: 45000,
18+
xsl: true,
19+
autoGenerate: false,
20+
},
21+
},
22+
});
23+
```

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ slug: /addons/sitemap/installation
99
:::prerequisites
1010
Complete installation requirements are the exact same as for Strapi itself and can be found in the Strapi documentation.
1111

12-
**Supported Strapi versions:**
12+
Additionally, this plugin requires you to have the **Strapi Webtools plugin** installed.
13+
:::
1314

14-
Strapi v5 use `webtools-addon-sitemap@^1`
15+
### Supported versions
1516

16-
Strapi v4 use `@pluginpal/webtools-addon-sitemap@^1.0.0-beta`
17+
- Strapi v5
18+
- Strapi Webtools v1
1719

18-
:::
20+
### Installation
1921

2022
Install the plugin in your Strapi project.
2123

0 commit comments

Comments
 (0)