Skip to content

Commit e2ec34a

Browse files
committed
Generic Setup -> GenericSetup because it is a package name
1 parent 51e1be3 commit e2ec34a

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

docs/backend/upgrading/version-specific-migration/p4x-to-p5x-upgrade.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ These are about larger changes to Plone, discussed beforehand by the community.
4444
In Plone 5, the custom fields displayed in the user profile and registration forms are managed by `plone.schemaeditor`.
4545

4646
They are dynamically editable from the Plone control panel.
47-
They can be imported from a Generic Setup profile file named `userschema.xml`.
47+
They can be imported from a `GenericSetup` profile file named `userschema.xml`.
4848

4949
If you have some custom member properties in your Plone site, be aware of the following.
5050

@@ -247,7 +247,7 @@ It also would combine and minify them for you in deployment mode.
247247

248248
#### Registration Changes
249249

250-
Prior to Plone 5, JavaScript files were added to the registry by using a [Generic Setup Profile](https://docs.plone.org/develop/addons/components/genericsetup.html) and including a `jsregistry.xml` file to it.
250+
Prior to Plone 5, JavaScript files were added to the registry by using a [`GenericSetup` Profile](https://docs.plone.org/develop/addons/components/genericsetup.html) and including a `jsregistry.xml` file to it.
251251

252252
This would add your JavaScript to the registry, with some options and potentially set ordering.
253253

@@ -552,9 +552,9 @@ In addition, you can control whether non-folders will create entries with the pr
552552
If you want to `disable_folder_sections`, you will want to set `plone.generate_tabs` to `False`.
553553

554554

555-
### Generic Setup
555+
### `GenericSetup`
556556

557-
All settings for control panels are stored in the {file}`registry.xml` Generic Setup file.
557+
All settings for control panels are stored in the {file}`registry.xml` `GenericSetup` file.
558558
This file can be exported through the Management Interface.
559559

560560
Go to the Plone Site Setup, choose {guilabel}`Management Interface` from the {guilabel}`Advanced` section.
@@ -580,14 +580,14 @@ The {file}`registry.xml` file will contain entries such as the following:
580580
</record>
581581
```
582582

583-
Drop the settings you want to change into {file}`registry.xml` in your Generic Setup profile folder.
583+
Drop the settings you want to change into {file}`registry.xml` in your `GenericSetup` profile folder.
584584

585585
Reinstall your add-on product, and the settings will be available.
586586

587587

588588
### Python Code
589589

590-
All Generic Setup settings can be looked up with Python code.
590+
All `GenericSetup` settings can be looked up with Python code.
591591

592592
First we look up the registry utility.
593593

@@ -890,7 +890,7 @@ browser_manager.getControl(name='form.widgets.IPublication.effective').value = '
890890

891891
## Deprecation Of `portal_properties.xml`
892892

893-
`portal_properties.xml` Generic Setup import step is now deprecated and has been moved to `plone.registry`.
893+
`portal_properties.xml` `GenericSetup` import step is now deprecated and has been moved to `plone.registry`.
894894

895895

896896
### `parentMetaTypesNotToQuery`

docs/backend/upgrading/version-specific-migration/upgrade-to-51.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Then press the {guilabel}`Add field` button.
236236

237237
#### For Developers
238238

239-
Instead of storing registry entries in a single, large {file}`registry.xml` file, you can have Generic Setup load and process registry entries from multiple files.
239+
Instead of storing registry entries in a single, large {file}`registry.xml` file, you can have `GenericSetup` load and process registry entries from multiple files.
240240
This makes it easier to manage and organize the registry entries provided by your applications and add-ons.
241241

242242
Your add-on should include a folder named `registry` in its profile folder, for example `profiles/default/registry`.

docs/glossary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Add-on (Volto)
158158
Add-on configuration loader (Volto)
159159
A function with signature `config => config`.
160160
It gets the Volto Configuration registry, and it must return it back after mutating it.
161-
It is similar to Generic Setup profiles in Plone Backend.
161+
It is similar to `GenericSetup` profiles in Plone Backend.
162162
An add-on must provide a default configuration loader that is always loaded when Volto runs.
163163
An add-on can have multiple configuration loaders, and they can be loaded optionally from the Volto configuration.
164164

0 commit comments

Comments
 (0)