Skip to content

Commit f847ec7

Browse files
committed
Merge branch '6-dev' into plone.app.dexterity-init
2 parents 84677d8 + bdce4f8 commit f847ec7

File tree

28 files changed

+700
-314
lines changed

28 files changed

+700
-314
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
name: Test Plone 6 documentation
22

3-
on:
4-
push:
5-
branches-ignore:
6-
- "master"
7-
3+
on: [push, pull_request]
84
jobs:
95
test:
6+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
107
runs-on: ubuntu-latest
118
steps:
129
- uses: actions/checkout@v1
1310

1411
- name: Set up Python ${{ matrix.python-version }}
15-
uses: actions/setup-python@v2
12+
uses: actions/setup-python@v4
1613
with:
1714
python-version: "3.10"
1815

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ PAPER ?=
1010
SPHINXBUILD = $(realpath bin/sphinx-build)
1111
SPHINXAUTOBUILD = $(realpath bin/sphinx-autobuild)
1212
DOCS_DIR = ./docs/
13-
BUILDDIR = ../_build/
13+
BUILDDIR = ../_build
1414
PAPEROPT_a4 = -D latex_paper_size=a4
1515
PAPEROPT_letter = -D latex_paper_size=letter
1616
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ For technical support for **Plone in general**, please ask a question on our [Co
5151

5252
[Training](https://github.com/plone/training) is a collection of different trainings, developed and created by the Plone Community.
5353

54-
For an HTML version, please browse to our [Training Website](https://training.plone.org/5/).
54+
For an HTML version, please browse to our [Training Website](https://training.plone.org/).
5555

5656

5757
## License

coredev/agreement.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,11 @@ A common way to start contributing is to participate in a [Plone sprint](https:/
5353

5454
## Dealing with pull requests on GitHub
5555

56-
Before we can merge a pull request, we have to check that the author has signed the contributor's agreement.
56+
Before we can merge a pull request, we must ensure that the author has signed the Plone Contributor Agreement.
5757

58-
If they're listed in <https://github.com/orgs/plone/teams/developers/members>, the author has signed so we can go ahead and merge.
58+
If they're listed in either the [Developers](https://github.com/orgs/plone/teams/developers/members) or [Contributors](https://github.com/orgs/plone/teams/contributors/members) team, the author has signed the Plone Contributor Agreement, so we can go ahead and merge.
5959

60-
If they aren't listed there, there's still a chance they have signed the contributor's agreement.
60+
If they aren't listed there, they may have signed and returned the Plone Contributor Agreement, but they were not yet added to a team.
61+
You can ask [email protected] to verify.
6162

62-
If they have signed before the move to GitHub, you can ask <[email protected]> to check.
63-
64-
Pull requests without contributor's agreement can only be merged in trivial cases, and only by the release manager.
63+
Pull requests without a signed Plone Contributor Agreement can only be merged in trivial cases, and only by the release manager.

docs/_static/custom.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,4 +461,8 @@ div.viewcode-block:target {
461461
#main-content ol > li > p:nth-child(n+2),
462462
#main-content ul > li > p:nth-child(n+2) {
463463
margin-top: 1em;
464-
}
464+
}
465+
466+
video {
467+
width: 100%;
468+
}

docs/backend/relations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ The logic for this is provided by the package [z3c.relationfield](https://pypi.o
597597
This package contains the `RelationValue` object and everything needed to define a relation schema, and all the code that is necessary to automatically update the catalog.
598598

599599
A `RelationValue` object does not reference all objects directly.
600-
For the target, it uses an ID that it gets from the `IntId` utility.
600+
For the target, it uses an ID that it gets from the {term}`IntId` utility.
601601
This ID allows direct recovery of the object.
602602
The source object stores it directly.
603603

@@ -608,7 +608,7 @@ Because of this, the following happens when saving a relation via a form:
608608
1. The HTML shows some nice representation of selectable objects.
609609
2. When the user submits the form, selected items are submitted by their UUIDs.
610610
3. The widget retrieves the original object with the UUID.
611-
4. Some data manager gets another unique ID from the `IntID` utility.
611+
4. Some data manager gets another unique ID from the {term}`IntId` utility.
612612
5. The same data manager creates a `RelationValue` from this ID, and stores this relation value on the source object.
613613
6. Some event handlers update the catalogs.
614614

docs/backend/security.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ myst:
77
"keywords": "Security"
88
---
99

10+
% TODO ### Create emergency user
11+
% Add Zope user with administrator permissions via console:
12+
%
13+
% ```shell
14+
% venv/bin/addzopeuser masterofdesaster VXT+zif -c ./instance/etc/zope.conf
15+
% ```
16+
1017
(backend-security-label)=
1118

1219
# Security

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ The value you use for this CSS rule should identify one of the fontello icons in
448448

449449
It is not possible at this time to set an icon for your add-on package control panels without including CSS in your package.
450450

451-
For documentation on how to use it in your own add-ons see https://training.plone.org/5/mastering-plone-5/registry.html.
451+
For documentation on how to use it in your own add-ons see {doc}`training:mastering-plone-5/registry`.
452452

453453

454454
### Properties

docs/classic-ui/images.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ To get the original image, you can leave out the scale:
6666

6767
(classic-ui-images-by-cacheable-scale-uid-name-label)=
6868

69-
### By cacheable scale UID name
69+
### By cacheable scale {term}`UID` name
7070

7171
When an image scale is created, it will be cached under the name `UID.EXT` (i.e. `f4c34254b44ba351af7393bfe0296664.jpeg`) in the object annotations.
7272
Scaling keeps the uploaded formats, except for TIFF which ends up as JPEG.
@@ -213,7 +213,7 @@ You can also provide the following keyword arguments to set `title`, `alt`, or `
213213

214214
(classic-ui-images-get-image_scale-by-cached-uid-name-label)=
215215

216-
### Get `image_scale` by cached UID name
216+
### Get `image_scale` by cached {term}`UID` name
217217

218218
If you only have the cached image name from an URL and need to get the image scale, unfortunately you can't use `restrictedTraverse()`, as this will not be able to resolve the scale.
219219
But you can use this workaround, by calling the `publishTraverse` method in `ImageScaling` directly:

docs/conf.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@
7979
r"http://127.0.0.1",
8080
r"http://yoursite",
8181
r"https://www.linode.com",
82-
r"https://github.com/orgs/plone/teams/developers", # requires auth
82+
r"https://vhs-ehrenamtsportal.de", # SSLError(SSLCertVerificationError
83+
r"https://github.com/orgs/plone/teams/", # requires auth
8384
r"https://github.com/plone/documentation/issues/new/choose", # requires auth
8485
# Ignore specific anchors
8586
r"https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors#Identifying_the_issue",
@@ -99,8 +100,8 @@
99100
r"^/_static/",
100101
]
101102
linkcheck_anchors = True
102-
linkcheck_timeout = 10
103-
linkcheck_retries = 2
103+
linkcheck_timeout = 5
104+
linkcheck_retries = 1
104105

105106
# The suffix of source filenames.
106107
source_suffix = {
@@ -129,7 +130,7 @@
129130
"plone.restapi/news",
130131
"plone.restapi/performance",
131132
"plone.restapi/src",
132-
"volto/developer-guidelines/branch-policy.md",
133+
"volto/contributing/branch-policy.md",
133134
]
134135

135136
html_js_files = ["patch_scrollToActive.js", "search_shortcut.js"]
@@ -186,7 +187,7 @@
186187
intersphinx_mapping = {
187188
"plone": ("https://6.docs.plone.org/", None), # for imported packages
188189
"python": ("https://docs.python.org/3/", None),
189-
"training": ("https://training.plone.org/5/", None),
190+
"training": ("https://training.plone.org/", None),
190191
}
191192

192193

@@ -322,7 +323,7 @@ def source_replace(app, docname, source):
322323
# Dict of replacements.
323324
source_replacements = {
324325
"{PLONE_BACKEND_MINOR_VERSION}": "6.0",
325-
"{PLONE_BACKEND_PATCH_VERSION}": "6.0.2",
326+
"{PLONE_BACKEND_PATCH_VERSION}": "6.0.3",
326327
"{NVM_VERSION}": "0.39.3",
327328
}
328329

0 commit comments

Comments
 (0)