Skip to content

Commit 8c86145

Browse files
committed
Fix broken link to GenericSetup, add a placeholder for config-registry docs
1 parent aad73c7 commit 8c86145

File tree

3 files changed

+36
-6
lines changed

3 files changed

+36
-6
lines changed

docs/backend/config-registry.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
myst:
3+
html_meta:
4+
"description": ""
5+
"property=og:description": ""
6+
"property=og:title": "Config Registry"
7+
"keywords": ""
8+
---
9+
10+
(backend-config-registry-label)=
11+
12+
# Config Registry
13+
14+
```{todo}
15+
Explain how plone.registry / plone.app.registry and GenericSetup work together.
16+
Provide examples how to import and export Plone settings.
17+
```
18+
19+
(backend-config-registry-generic-setup-label)=
20+
21+
## GenericSetup
22+
23+
```{todo}
24+
Explain how GenericSetup works.
25+
```

docs/classic-ui/layers.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ Then views and viewlets from your product can be enabled on the site instance us
5959

6060
If you want to override a view or a viewlet unconditionally for all sites without the add-on product installer support, you need to use `overrides.zcml`.
6161

62+
```{todo}
63+
Explain how to use an `overrides.zcml`.
64+
```
65+
6266

6367
(classic-ui-creating-a-layer-label)=
6468

docs/classic-ui/views.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ You need to declare the `browser` namespace in your `configure.zcml` to use `bro
173173
```
174174

175175
The view in question is registered against a {ref}`layer <classic-ui-layers-label>`.
176-
It will be available after restart, after you run {doc}`Add/remove in Site setup </develop/addons/components/genericsetup>`.
176+
It will be available after restart, after running the {ref}`GenericSetup profile <backend-config-registry-generic-setup-label>`.
177+
177178

178179
```{todo}
179180
Fix the preceding link to "Add/remove in Site setup".
@@ -508,7 +509,7 @@ If you need to override templates in core Plone or in an existing add-on, you ca
508509
To override a particular file, first determine its canonical filename.
509510
It is defined as the path relative to the package within which the file is located.
510511
Directory separators are replaced with dots.
511-
512+
512513
Suppose you want to override `plone/app/layout/viewlets/logo.pt`.
513514

514515
You would use the filename `plone.app.layout.viewlets.logo.pt`.
@@ -540,7 +541,7 @@ As such, you will have the following browser layer interface and its registratio
540541

541542
```python
542543
from plone.theme.interfaces import IDefaultPloneLayer
543-
544+
544545
class ICollectiveAwesomeaddon(IDefaultPloneLayer):
545546
""" A marker interface for the theme layer
546547
"""
@@ -564,15 +565,15 @@ As such, you will have the following browser layer interface and its registratio
564565
xmlns="http://namespaces.zope.org/zope"
565566
xmlns:browser="http://namespaces.zope.org/browser"
566567
i18n_domain="collective.awesomeaddon">
567-
568+
568569
<browser:page
569570
name="register"
570571
class=".customregistration.CustomRegistrationForm"
571572
permission="cmf.AddPortalMember"
572573
for="plone.app.layout.navigation.interfaces.INavigationRoot"
573574
layer="collective.awesomeaddon.interfaces.ICollectiveAwesomeaddon"
574575
/>
575-
576+
576577
</configure>
577578
```
578579

@@ -585,7 +586,7 @@ As such, you will have the following browser layer interface and its registratio
585586

586587
```
587588
from plone.app.users.browser.register import RegistrationForm
588-
589+
589590
class CustomRegistrationForm(RegistrationForm):
590591
""" Subclass the standard registration form
591592
"""

0 commit comments

Comments
 (0)