From a5091eb20056476e2b42bfbc0402e5b00a6d1b3c Mon Sep 17 00:00:00 2001 From: Ujjwal Sinha Date: Thu, 14 Dec 2023 01:45:11 +0530 Subject: [PATCH 1/4] Corrected 4 Typos --- docs/mastering-plone-5/behaviors_1.md | 2 +- docs/mastering-plone-5/dexterity_reference.md | 2 +- docs/mastering-plone/about_mastering.md | 2 +- docs/mastering-plone/features.md | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/mastering-plone-5/behaviors_1.md b/docs/mastering-plone-5/behaviors_1.md index 369499c1f..629a51088 100644 --- a/docs/mastering-plone-5/behaviors_1.md +++ b/docs/mastering-plone-5/behaviors_1.md @@ -198,6 +198,6 @@ We must add the behavior to {file}`profiles/default/types/talk.xml`: ``` -[plone5_fieldset]: https://5.docs.plone.org/develop/addons/schema-driven-forms/customising-form-behaviour/fieldsets.html?highlight=fieldset +[plone5_fieldset]: https://5.docs.plone.org/develop/addons/schema-driven-forms/customizing-form-behaviour/fieldsets.html?highlight=fieldset [plone5_iformfieldprovider]: https://5.docs.plone.org/external/plone.app.dexterity/docs/advanced/custom-add-and-edit-forms.html?highlight=iformfieldprovider#edit-forms [plone5_plone.supermodel]: https://5.docs.plone.org/external/plone.app.dexterity/docs/schema-driven-types.html#schema-interfaces-vs-other-interfaces diff --git a/docs/mastering-plone-5/dexterity_reference.md b/docs/mastering-plone-5/dexterity_reference.md index 27dfcf007..f2adc7d36 100644 --- a/docs/mastering-plone-5/dexterity_reference.md +++ b/docs/mastering-plone-5/dexterity_reference.md @@ -711,7 +711,7 @@ class IMyEvent(model.Schema): To learn more about directives, validators and default values, refer to the following: - [Form schema hints and directives](https://5.docs.plone.org/external/plone.app.dexterity/docs/reference/form-schema-hints.html) -- [Validation](https://5.docs.plone.org/develop/addons/schema-driven-forms/customising-form-behaviour/validation.html) (this documentation unfortunately still uses the obsolete grok technology) +- [Validation](https://5.docs.plone.org/develop/addons/schema-driven-forms/customizing-form-behaviour/validation.html) (this documentation unfortunately still uses the obsolete grok technology) - [z3c.form documentation](https://z3cform.readthedocs.io/en/latest/advanced/validator.html) - [Default values for fields on add forms](https://5.docs.plone.org/external/plone.app.dexterity/docs/advanced/defaults.html) ``` diff --git a/docs/mastering-plone/about_mastering.md b/docs/mastering-plone/about_mastering.md index e4d24c40e..b0b803631 100644 --- a/docs/mastering-plone/about_mastering.md +++ b/docs/mastering-plone/about_mastering.md @@ -31,7 +31,7 @@ Thank you for reading and your charity with non-native English speakers / writer ## Upcoming Trainings -Next Plone Conference, usually in october. +Next Plone Conference, usually in October. Announced on [plone.org](https://plone.org) If you want to have an on-site training or want to attend a public training, please ask for trainings on [community.plone.org](https://community.plone.org) or one of the {ref}`trainers`. diff --git a/docs/mastering-plone/features.md b/docs/mastering-plone/features.md index a0ae4773c..b503f494e 100644 --- a/docs/mastering-plone/features.md +++ b/docs/mastering-plone/features.md @@ -14,7 +14,7 @@ myst: % TODO Short appetizer on all the fancy features. Now we create a Plone instance and take a look at all the features you can use as an integrator. -Developers get a glimps on the features that can be modified easily. +Developers get a glimpse on the features that can be modified easily. (features-start-stop-label)= @@ -44,7 +44,7 @@ Zope instance is up and running, ready to create a Plone instance. We now have a running Zope with a database, but no content. -Push the botton {guilabel}`Create a new Plone site`. +Push the button {guilabel}`Create a new Plone site`. Log in with `admin` and password `secret`. The initial login is defined in file `instance.yaml`. You should change your password in production sites via `http://localhost:8080/acl_users/users/manage_users`. @@ -213,7 +213,7 @@ Edit the front page: - Change the title to `Plone Conference 2050, Solis Lacus, Mars`. - Remove the text blocks below the title by selecting all and deleting them. - Add some dummy text. -- Click somewhere in the text, press return and see the block beeing splitted. +- Click somewhere in the text, press return and see the block being splitted. - Save the page. If you have already content in your instance, you may want to delete it. @@ -554,7 +554,7 @@ You can even make a page, with or without sub pages, editable only by a group of Plone has an integrated mechanism to remember urls that where modified. A moved page is still available via the former url. -Additional to this behavior, a page can be explicitly made available under further urls. +Additional to this behaviour, a page can be explicitly made available under further urls. You can find the UI for adding alternative urls following the context menu {guilabel}`...`. From 32df15b54cf1b437b9ee964eaa0a18e10e5d96c0 Mon Sep 17 00:00:00 2001 From: Ujjwal Sinha Date: Thu, 14 Dec 2023 01:50:42 +0530 Subject: [PATCH 2/4] PR for #825 --- docs/mastering-plone-5/dexterity_reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/mastering-plone-5/dexterity_reference.md b/docs/mastering-plone-5/dexterity_reference.md index f2adc7d36..f782b2b4f 100644 --- a/docs/mastering-plone-5/dexterity_reference.md +++ b/docs/mastering-plone-5/dexterity_reference.md @@ -701,7 +701,7 @@ class IMyEvent(model.Schema): required=False) @invariant - def validate_start_end(data): + def validate_start_end(data): if data.start is not None and data.end is not None: if data.start > data.end: raise Invalid(_('Start must be before the end.')) From 8afed5a856774664bf160f1f32eb85be81a47c0e Mon Sep 17 00:00:00 2001 From: Ujjwal Sinha <138270264+ujjwaleee26@users.noreply.github.com> Date: Thu, 14 Dec 2023 15:18:14 +0530 Subject: [PATCH 3/4] Update docs/mastering-plone-5/behaviors_1.md Co-authored-by: Steve Piercy --- docs/mastering-plone-5/behaviors_1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/mastering-plone-5/behaviors_1.md b/docs/mastering-plone-5/behaviors_1.md index 629a51088..d658131c9 100644 --- a/docs/mastering-plone-5/behaviors_1.md +++ b/docs/mastering-plone-5/behaviors_1.md @@ -198,6 +198,6 @@ We must add the behavior to {file}`profiles/default/types/talk.xml`: ``` -[plone5_fieldset]: https://5.docs.plone.org/develop/addons/schema-driven-forms/customizing-form-behaviour/fieldsets.html?highlight=fieldset +[plone5_fieldset]: https://5.docs.plone.org/develop/addons/schema-driven-forms/customising-form-behaviour/fieldsets.html [plone5_iformfieldprovider]: https://5.docs.plone.org/external/plone.app.dexterity/docs/advanced/custom-add-and-edit-forms.html?highlight=iformfieldprovider#edit-forms [plone5_plone.supermodel]: https://5.docs.plone.org/external/plone.app.dexterity/docs/schema-driven-types.html#schema-interfaces-vs-other-interfaces From 8a5ae575d78e592f0128eb30de67497d2243d7b1 Mon Sep 17 00:00:00 2001 From: Ujjwal Sinha Date: Thu, 14 Dec 2023 15:24:10 +0530 Subject: [PATCH 4/4] fix-#825 --- docs/mastering-plone-5/dexterity_reference.md | 4 ++-- docs/mastering-plone/features.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/mastering-plone-5/dexterity_reference.md b/docs/mastering-plone-5/dexterity_reference.md index f782b2b4f..27dfcf007 100644 --- a/docs/mastering-plone-5/dexterity_reference.md +++ b/docs/mastering-plone-5/dexterity_reference.md @@ -701,7 +701,7 @@ class IMyEvent(model.Schema): required=False) @invariant - def validate_start_end(data): + def validate_start_end(data): if data.start is not None and data.end is not None: if data.start > data.end: raise Invalid(_('Start must be before the end.')) @@ -711,7 +711,7 @@ class IMyEvent(model.Schema): To learn more about directives, validators and default values, refer to the following: - [Form schema hints and directives](https://5.docs.plone.org/external/plone.app.dexterity/docs/reference/form-schema-hints.html) -- [Validation](https://5.docs.plone.org/develop/addons/schema-driven-forms/customizing-form-behaviour/validation.html) (this documentation unfortunately still uses the obsolete grok technology) +- [Validation](https://5.docs.plone.org/develop/addons/schema-driven-forms/customising-form-behaviour/validation.html) (this documentation unfortunately still uses the obsolete grok technology) - [z3c.form documentation](https://z3cform.readthedocs.io/en/latest/advanced/validator.html) - [Default values for fields on add forms](https://5.docs.plone.org/external/plone.app.dexterity/docs/advanced/defaults.html) ``` diff --git a/docs/mastering-plone/features.md b/docs/mastering-plone/features.md index b503f494e..f9b9c1232 100644 --- a/docs/mastering-plone/features.md +++ b/docs/mastering-plone/features.md @@ -554,7 +554,7 @@ You can even make a page, with or without sub pages, editable only by a group of Plone has an integrated mechanism to remember urls that where modified. A moved page is still available via the former url. -Additional to this behaviour, a page can be explicitly made available under further urls. +Additional to this behavior, a page can be explicitly made available under further urls. You can find the UI for adding alternative urls following the context menu {guilabel}`...`.