Skip to content

Commit 9304fee

Browse files
authored
Merge branch '6.0' into 6-dev--tinymce-upgrade
2 parents a65ad41 + ba580d1 commit 9304fee

File tree

37 files changed

+1351
-234
lines changed

37 files changed

+1351
-234
lines changed

.github/workflows/build_deploy.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@ name: Build and deploy Plone 6 documentation to 6.docs.plone.org
33
on:
44
push:
55
branches:
6-
- "6-dev"
6+
- "6.0"
77

88
jobs:
99
build_deploy:
1010
runs-on: ubuntu-latest
11+
environment:
12+
name: docs.plone.org
13+
url: https://docs.plone.org
1114
steps:
1215
- uses: actions/checkout@v3
1316
- name: Setup Graphviz
@@ -66,9 +69,9 @@ jobs:
6669
with:
6770
flags: '-avzr --delete'
6871
options: ''
69-
ssh_options: '-p ${{secrets.DEPLOY_PORT}}'
72+
ssh_options: '-p ${{vars.DEPLOY_PORT}}'
7073
src: '_build/html/'
71-
dest: '${{secrets.DEPLOY_USER_DOCS}}@${{secrets.DEPLOY_SERVER_DOCS}}:${{secrets.DEPLOY_PATH_DOCS}}'
74+
dest: '${{vars.DEPLOY_USER_DOCS}}@${{vars.DEPLOY_SERVER_DOCS}}:${{vars.DEPLOY_PATH_DOCS}}'
7275

7376
- name: Display status from deploy
7477
run: echo "${{ steps.deploy.outputs.status }}"

.github/workflows/update_submodule.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Get latest version of submodules and push back to 6-dev branch
1+
name: Get latest version of submodules and push back to 6.0 branch
22

33
on:
44
workflow_dispatch:
@@ -9,8 +9,8 @@ jobs:
99
steps:
1010
# Checkout
1111
- uses: actions/checkout@v3
12-
with:
13-
ref: 6-dev
12+
with:
13+
ref: 6.0
1414
submodules: true
1515

1616
- name: Submodule update
@@ -26,5 +26,5 @@ jobs:
2626
git status
2727
git config user.name github-actions
2828
git config user.email [email protected]
29-
git commit -m "Update submo0dules tip" || echo "No changes to commit"
29+
git commit -m "Update submodules tip" || echo "No changes to commit"
3030
git push

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@
88
pyvenv.cfg
99
/_build
1010
/styles/Microsoft
11+
/share
1112

1213
# symlinked from submodule
1314
docs/volto
1415
docs/plone.restapi
1516
docs/plone.api
17+
18+
# editor files
19+
.vscode

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[submodule "submodules/volto"]
22
path = submodules/volto
33
url = https://github.com/plone/volto.git
4-
branch = master
4+
branch = main
55
[submodule "submodules/plone.restapi"]
66
path = submodules/plone.restapi
77
url = https://github.com/plone/plone.restapi.git
8-
branch = master
8+
branch = main
99
[submodule "submodules/plone.api"]
1010
path = submodules/plone.api
1111
url = https://github.com/plone/plone.api.git

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Testing Status](https://github.com/plone/documentation/actions/workflows/test.yml/badge.svg?branch=6-dev "Testing Status")](https://github.com/plone/documentation/actions/workflows/test.yml)
1+
[![Testing Status](https://github.com/plone/documentation/actions/workflows/test.yml/badge.svg?branch=6.0 "Testing Status")](https://github.com/plone/documentation/actions/workflows/test.yml)
22

33
# Plone Documentation
44

@@ -9,7 +9,7 @@ This is the repository for Plone Documentation.
99

1010
Browse the Plone 6 Documentation at https://6.docs.plone.org/.
1111

12-
Active development on the Plone 6 Documentation takes place on the branch [`6-dev`](https://github.com/plone/documentation/tree/6-dev).
12+
Active development on the Plone 6 Documentation takes place on the branch [`6.0`](https://github.com/plone/documentation/tree/6.0).
1313

1414

1515
## Plone 5.2
@@ -24,7 +24,7 @@ Development on the Plone 5.2 Documentation takes place on the branch [`5.2`](htt
2424
- [Contributing to Plone 6 Documentation](https://6.docs.plone.org/contributing/index.html)
2525
- [Release Plone 6 docs Project Board](https://github.com/orgs/plone/projects/12)
2626
- [Issue Tracker](https://github.com/plone/documentation/issues)
27-
- [Source Code](https://github.com/plone/documentation/tree/6-dev)
27+
- [Source Code](https://github.com/plone/documentation/tree/6.0)
2828

2929

3030
### Contributing to frontend (Volto), `plone.api`, and `plone.restapi` documentation

docs/_templates/404.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,19 @@
77
{% block body %}
88
<div>
99
<h1>Page not found</h1>
10-
<p>Unfortunately we couldn't find the content you were looking for.</p>
10+
<p>We could not find the page you requested in Plone 6 documentation.</p>
11+
<p>You can <a href="/search.html">search</a> Plone 6 documentation.</p>
12+
<p>Previous versions of Plone documentation:</p>
13+
<ul>
14+
<li><a href="https://5.docs.plone.org/">Plone 5</a></li>
15+
<li><a href="https://4.docs.plone.org/">Plone 4</a></li>
16+
<li><a href="https://3.docs.plone.org/">Plone 3</a></li>
17+
</ul>
18+
<h2>Why is this happening?</h2>
19+
<p>
20+
The Plone Documentation team has restructured documentation to redirect visitors to the most current and accurate information, archive previous versions, and identify outdated pages.
21+
If you would like to report an issue or request a redirect be set up, you can <a href="https://github.com/plone/documentation/issues/new?assignees=&labels=&projects=&template=new-issue-form.yml" rel="external">create a new issue in the GitHub issue tracker</a>.
22+
</p>
1123
</div>
1224

1325
<style>

0 commit comments

Comments
 (0)