Skip to content

Commit a65ad41

Browse files
authored
Merge branch '6-dev' into 6-dev--tinymce-upgrade
2 parents b147f61 + b30a9be commit a65ad41

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+7232
-307
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) .

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/behaviors.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ A key feature of behaviors is that they allow encapsulating functionality so tha
3434
Overall, behaviors are an important part of the Plone content management system and allow for powerful customization and extensibility of content objects.
3535

3636

37+
(backend-built-in-behaviors-label)=
38+
3739
## Built-in behaviors
3840

3941
To view a complete list of built-in behaviors, browse to {guilabel}`Content Types` control panel, then click {guilabel}`Page` (or any other content type), then {guilabel}`Behaviors`.
File renamed without changes.

docs/backend/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Insert introduction here.
1919
:maxdepth: 2
2020
configuration-registry
2121
control-panels
22-
content-types
22+
content-types/index
2323
behaviors
2424
annotations
2525
vocabularies

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/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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
r"http://yoursite",
8181
r"https://www.linode.com",
8282
r"https://vhs-ehrenamtsportal.de", # SSLError(SSLCertVerificationError
83-
r"https://github.com/orgs/plone/teams/developers", # requires auth
83+
r"https://github.com/orgs/plone/teams/", # requires auth
8484
r"https://github.com/plone/documentation/issues/new/choose", # requires auth
8585
# Ignore specific anchors
8686
r"https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors#Identifying_the_issue",
@@ -130,7 +130,7 @@
130130
"plone.restapi/news",
131131
"plone.restapi/performance",
132132
"plone.restapi/src",
133-
"volto/developer-guidelines/branch-policy.md",
133+
"volto/contributing/branch-policy.md",
134134
]
135135

136136
html_js_files = ["patch_scrollToActive.js", "search_shortcut.js"]
@@ -323,7 +323,7 @@ def source_replace(app, docname, source):
323323
# Dict of replacements.
324324
source_replacements = {
325325
"{PLONE_BACKEND_MINOR_VERSION}": "6.0",
326-
"{PLONE_BACKEND_PATCH_VERSION}": "6.0.2",
326+
"{PLONE_BACKEND_PATCH_VERSION}": "6.0.4",
327327
"{NVM_VERSION}": "0.39.3",
328328
}
329329

0 commit comments

Comments
 (0)