docs: updates to use DML and other changes (#7834)

- Change existing data model guides and add new ones for DML
- Change module's docs around service factory + remove guides that are now necessary
- Hide/remove all mentions of module relationships, or label them as coming soon.
- Change all data model creation snippets to use DML
- use `property` instead of `field` when referring to a data model's properties.
- Fix all snippets in commerce module guides to use new method suffix (no more main model methods)
- Rework recipes, removing/hiding a lot of sections as a lot of recipes are incomplete with the current state of DML.


### Other changes

- Highlight fixes in some guides
- Remove feature flags guide
- Fix code block styles when there are no line numbers.

### Upcoming changes in other PRs

- Re-generate commerce module references (for the updates in the method names)
- Ensure that the data model references are generated correctly for models using DML.
- (probably at a very later point) revisit recipes
This commit is contained in:
Shahed Nasser
2024-06-26 07:55:59 +00:00
committed by GitHub
parent 62dacdda75
commit 0462cc5acf
126 changed files with 1808 additions and 14242 deletions
-100
View File
@@ -1,104 +1,4 @@
export const filesMap = [
{
"filePath": "/www/apps/resources/app/_plugins/analytics/segment/page.mdx",
"pathname": "/_plugins/analytics/segment"
},
{
"filePath": "/www/apps/resources/app/_plugins/cms/contentful/page.mdx",
"pathname": "/_plugins/cms/contentful"
},
{
"filePath": "/www/apps/resources/app/_plugins/cms/strapi/page.mdx",
"pathname": "/_plugins/cms/strapi"
},
{
"filePath": "/www/apps/resources/app/_plugins/erp/brightpearl/page.mdx",
"pathname": "/_plugins/erp/brightpearl"
},
{
"filePath": "/www/apps/resources/app/_plugins/fulfillment/manual/page.mdx",
"pathname": "/_plugins/fulfillment/manual"
},
{
"filePath": "/www/apps/resources/app/_plugins/fulfillment/webshipper/page.mdx",
"pathname": "/_plugins/fulfillment/webshipper"
},
{
"filePath": "/www/apps/resources/app/_plugins/notifications/mailchimp/page.mdx",
"pathname": "/_plugins/notifications/mailchimp"
},
{
"filePath": "/www/apps/resources/app/_plugins/notifications/sendgrid/page.mdx",
"pathname": "/_plugins/notifications/sendgrid"
},
{
"filePath": "/www/apps/resources/app/_plugins/notifications/slack/page.mdx",
"pathname": "/_plugins/notifications/slack"
},
{
"filePath": "/www/apps/resources/app/_plugins/notifications/twilio-sms/page.mdx",
"pathname": "/_plugins/notifications/twilio-sms"
},
{
"filePath": "/www/apps/resources/app/_plugins/other/discount-generator/page.mdx",
"pathname": "/_plugins/other/discount-generator"
},
{
"filePath": "/www/apps/resources/app/_plugins/other/ip-lookup/page.mdx",
"pathname": "/_plugins/other/ip-lookup"
},
{
"filePath": "/www/apps/resources/app/_plugins/other/restock-notifications/page.mdx",
"pathname": "/_plugins/other/restock-notifications"
},
{
"filePath": "/www/apps/resources/app/_plugins/other/wishlist/page.mdx",
"pathname": "/_plugins/other/wishlist"
},
{
"filePath": "/www/apps/resources/app/_plugins/page.mdx",
"pathname": "/_plugins"
},
{
"filePath": "/www/apps/resources/app/_plugins/payment/klarna/page.mdx",
"pathname": "/_plugins/payment/klarna"
},
{
"filePath": "/www/apps/resources/app/_plugins/payment/paypal/page.mdx",
"pathname": "/_plugins/payment/paypal"
},
{
"filePath": "/www/apps/resources/app/_plugins/payment/stripe/page.mdx",
"pathname": "/_plugins/payment/stripe"
},
{
"filePath": "/www/apps/resources/app/_plugins/search/algolia/page.mdx",
"pathname": "/_plugins/search/algolia"
},
{
"filePath": "/www/apps/resources/app/_plugins/search/meilisearch/page.mdx",
"pathname": "/_plugins/search/meilisearch"
},
{
"filePath": "/www/apps/resources/app/_plugins/source/shopify/page.mdx",
"pathname": "/_plugins/source/shopify"
},
{
"filePath": "/www/apps/resources/app/_plugins/storage/local/page.mdx",
"pathname": "/_plugins/storage/local"
},
{
"filePath": "/www/apps/resources/app/_plugins/storage/minio/page.mdx",
"pathname": "/_plugins/storage/minio"
},
{
"filePath": "/www/apps/resources/app/_plugins/storage/s3/page.mdx",
"pathname": "/_plugins/storage/s3"
},
{
"filePath": "/www/apps/resources/app/_plugins/storage/spaces/page.mdx",
"pathname": "/_plugins/storage/spaces"
},
{
"filePath": "/www/apps/resources/app/admin-widget-injection-zones/page.mdx",
"pathname": "/admin-widget-injection-zones"