Skip to content

Commit 0b6dcf6

Browse files
authored
Merge branch '6.0' into gforcada-patch-1
2 parents b1e1c74 + e1f9e6d commit 0b6dcf6

File tree

9 files changed

+75
-13
lines changed

9 files changed

+75
-13
lines changed

.github/workflows/build_deploy.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
name: docs.plone.org
1616
url: https://docs.plone.org
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- name: Setup Graphviz
20-
uses: ts-graphviz/setup-graphviz@v1
21-
- name: Set up Python 3.10
22-
uses: actions/setup-python@v4
20+
uses: ts-graphviz/setup-graphviz@v2
21+
- name: Set up Python 3.12
22+
uses: actions/setup-python@v5
2323
with:
24-
python-version: '3.10'
24+
python-version: '3.12'
2525
cache: 'pip'
2626
- name: Install dependencies
2727
run: |
@@ -39,11 +39,11 @@ jobs:
3939
run: make deploy
4040

4141
- name: Use Node.js ${{ env.node-version }}
42-
uses: actions/setup-node@v3
42+
uses: actions/setup-node@v4
4343
with:
4444
node-version: ${{ env.node-version }}
4545

46-
- uses: pnpm/action-setup@v2
46+
- uses: pnpm/action-setup@v3
4747
name: Install pnpm
4848
with:
4949
version: 8

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ jobs:
66
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v1
9+
- uses: actions/checkout@v4
1010

1111
- name: Set up Python ${{ matrix.python-version }}
12-
uses: actions/setup-python@v4
12+
uses: actions/setup-python@v5
1313
with:
14-
python-version: "3.10"
14+
python-version: "3.12"
1515

1616
- name: Install dependencies
1717
run: |

.github/workflows/update_submodule.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# See https://github.com/plone/documentation/issues/1214 for current status
12
name: Get latest version of submodules and push back to 6.0 branch
23

34
on:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ distclean: ## Clean docs build directory and Python virtual environment
3535

3636

3737
bin/python:
38-
python3 -m venv . || virtualenv --clear --python=python3 .
38+
python3 -m venv .
3939
bin/pip install -r requirements-initial.txt
4040
bin/pip install -r requirements.txt
4141

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,3 +602,51 @@ Please make sure you write valid JSON for the `template` option.
602602
```{seealso}
603603
See also the [TinyMCE 4 to 5 upgrade guide](https://www.tiny.cloud/docs/migration-from-4x/).
604604
```
605+
606+
## Viewlets
607+
608+
Plone 6.0 renames various viewlets or moves them to a different viewlet manager.
609+
This is because some viewlet names contained the name of a viewlet manager.
610+
This didn't always match the name of their actual viewlet manager, especially after moving them.
611+
Plone 6.0 removes such references from the viewlet names to avoid confusion.
612+
613+
- Plone 6.0 removes the `plone.header` viewlet from `plone.portaltop` manager, making it empty.
614+
- Plone 6.0 renames the `plone.abovecontenttitle.documentactions` viewlet to `plone.documentactions`, and moves it from manager `plone.belowcontentbody` to `plone.belowcontent`.
615+
- Plone 6.0 renames the `plone.abovecontenttitle.socialtags` viewlet to `plone.socialtags`.
616+
It remains in manager `plone.abovecontenttitle`.
617+
- Plone 6.0 renames the `plone.belowcontentbody.relateditems` viewlet to `plone.relateditems`.
618+
It remains in manager `plone.belowcontentbody`.
619+
- Plone 6.0 removes the `plone.manage_portlets_fallback` viewlet from the `plone.belowcontent` manager.
620+
- Plone 6.0 renames the `plone.belowcontenttitle.documentbyline` viewlet to `plone.documentbyline`.
621+
It remains in manager `plone.belowcontenttitle`.
622+
- Plone 6.0 renames the `plone.belowcontenttitle.keywords` viewlet to `plone.keywords`, and moves it from manager `plone.belowcontent` to `plone.belowcontentbody`.
623+
- Plone 6.0 adds the `plone.rights` viewlet in manager `plone.belowcontentbody`.
624+
625+
The names in the following table have had the namespace `plone.` removed from them for display purposes only.
626+
In your code, you should use the object's `plone.` namespace as a prefix.
627+
This table shows the same information, but in tabular form.
628+
629+
```{table} Viewlet changes from 5.2 to 6.0
630+
631+
| 5.2 viewlet name | 5.2 viewlet manager | 6.0 viewlet name | 6.0 viewlet manager |
632+
| ---------------- | ------------------- | ---------------- | ------------------- |
633+
| `header` | `portaltop` | | `portaltop` |
634+
| `abovecontenttitle.documentactions` | `belowcontentbody` | `documentactions` | `belowcontent` |
635+
| `abovecontenttitle.socialtags` | `abovecontenttitle` | `socialtags` | `abovecontenttitle` |
636+
| `belowcontentbody.relateditems` | `belowcontentbody` | `relateditems` | `belowcontentbody` |
637+
| `manage_portlets_fallback` | `belowcontent` | | `belowcontent` |
638+
| `belowcontenttitle.documentbyline` | `belowcontenttitle` | `documentbyline` | `belowcontenttitle` |
639+
| `belowcontenttitle.keywords` | `belowcontent` | `keywords` | `belowcontentbody` |
640+
| | `belowcontentbody` | `rights` | `belowcontentbody` |
641+
```
642+
643+
Plone 6.0 makes changes to two viewlet managers:
644+
645+
- Plone 6.0 removes the `plone.documentactions` (`IDocumentActions`) viewlet manager.
646+
In Plone 5.2 it was already empty.
647+
- Plone 6.0 adds the `plone.belowcontentdescription` (`IBelowContentDescription`) viewlet manager.
648+
By default this has no viewlets.
649+
650+
One final change is that Plone 6.0 moves the `plone.footer` viewlet from `plone.app.layout/viewlets` to `plone.app.portlets`.
651+
The viewlet remains in manager `plone.portalfooter`.
652+
It renders the portlets from the `plone.footerportlets` portlet manager.

docs/glossary.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,4 +701,13 @@ Nick
701701
predicate
702702
predicates
703703
In programming, a predicate is a test which returns `true` or `false`.
704+
705+
pnpm workspace
706+
workspace
707+
pnpm has built-in support for monorepositories (also known as multi-package repositories, multi-project repositories, or monolithic repositories).
708+
Workspaces provide support to manage multiple packages from your local file system from within a singular top-level, root package.
709+
By defining a single `package.json` file at the root of the repository and specifying the individual packages as workspaces, pnpm treats them as interdependent projects.
710+
711+
When you run `pnpm install` at the root of the repository, pnpm installs dependencies for all workspaces, ensuring consistency across the entire project.
712+
This centralized approach streamlines development, facilitates code sharing, and simplifies the maintenance of complex projects.
704713
```

docs/install/create-project.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,10 @@ You will be presented with a series of prompts.
228228
You can accept the default values in square brackets (`[default-option]`) by hitting the {kbd}`Enter` key, or enter your preferred values.
229229
For ease of documentation, we will use the default values.
230230

231+
```{tip}
232+
See the cookiecutter's README for how to [Use options to avoid prompts](https://github.com/collective/cookiecutter-plone-starter/?tab=readme-ov-file#use-options-to-avoid-prompts).
233+
```
234+
231235
(avoid-plone-core-package-names)=
232236
233237
```{important}

submodules/volto

Submodule volto updated 46 files

0 commit comments

Comments
 (0)