Skip to content

Commit 3523802

Browse files
authored
Merge pull request plone#1428 from plone/docs.plone.org-versions
update links to use versions for docs
2 parents c32e894 + 35eed6a commit 3523802

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

docs/backend/upgrading/preparations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Always back up your Plone site before upgrading.
5757
```
5858

5959
```{seealso}
60-
See Plone 5.2 documentation, [Backing up your Plone deployment](https://docs.plone.org/manage/deploying/backup.html).
60+
See Plone 5.2 documentation, [Backing up your Plone deployment](https://5.docs.plone.org/manage/deploying/backup.html).
6161
```
6262

6363
```{todo}

docs/backend/upgrading/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Watch for error messages in the console.
4444
You may be able to find more information about the error messages in the following documents.
4545

4646
- {doc}`Version-specific migration tips </backend/upgrading/version-specific-migration/index>` for your version of Plone
47-
- [Error Reference](https://docs.plone.org/appendices/error-reference.html)
47+
- [Error Reference](https://5.docs.plone.org/appendices/error-reference.html)
4848

4949
```{todo}
5050
See https://github.com/plone/documentation/issues/1323

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ See https://github.com/smcmahon/Products.PloneFormGen/blob/master/Products/Plone
219219
## Resource registry
220220

221221
```{seealso}
222-
https://docs.plone.org/adapt-and-extend/theming/resourceregistry.html
222+
https://5.docs.plone.org/adapt-and-extend/theming/resourceregistry.html
223223
```
224224

225225
Plone 5 introduces some new concepts, for some, with working with JavaScript in Plone.
@@ -247,7 +247,7 @@ It also would combine and minify them for you in deployment mode.
247247

248248
#### Registration Changes
249249

250-
Prior to Plone 5, JavaScript files were added to the registry by using a [`GenericSetup` Profile](https://docs.plone.org/develop/addons/components/genericsetup.html) and including a `jsregistry.xml` file to it.
250+
Prior to Plone 5, JavaScript files were added to the registry by using a [`GenericSetup` Profile](https://5.docs.plone.org/develop/addons/components/genericsetup.html) and including a `jsregistry.xml` file to it.
251251

252252
This would add your JavaScript to the registry, with some options and potentially set ordering.
253253

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ If you must use the old way, you can still use the `portal_quickinstaller` in th
3232
In a lot of cases, you can configure XML files instead of using Python code.
3333
In other cases you may need to write custom installer code (`setuphandlers.py`).
3434

35-
See https://docs.plone.org/develop/addons/components/genericsetup.
35+
See https://5.docs.plone.org/develop/addons/components/genericsetup.
3636

3737

3838
### Default Profile

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ To make use of this, you should register your resource bundle to merge with the
6161
```
6262

6363
```{seealso}
64-
See https://docs.plone.org/adapt-and-extend/theming/resourceregistry.html#resource-bundle-aggregation.
64+
See https://5.docs.plone.org/adapt-and-extend/theming/resourceregistry.html#resource-bundle-aggregation.
6565
```
6666

6767

@@ -81,7 +81,7 @@ Actions can be re-ordered, hidden, or displayed.
8181
```
8282

8383
```{seealso}
84-
See https://docs.plone.org/develop/plone/functionality/actions.html#creating-actions-through-the-web.
84+
See https://5.docs.plone.org/develop/plone/functionality/actions.html#creating-actions-through-the-web.
8585
```
8686

8787

@@ -283,7 +283,7 @@ The [collective.indexing](https://pypi.org/project/collective.indexing) package
283283
This makes sure that objects are only indexed once per transaction.
284284

285285
It also gives {term}`hooks` for calling external indexers, like Solr and Elasticsearch.
286-
See https://docs.plone.org/develop/plone/searching_and_indexing/external-catalogs.html.
286+
See https://5.docs.plone.org/develop/plone/searching_and_indexing/external-catalogs.html.
287287

288288
There is a workaround when you get {ref}`catalog-errors-during-upgrades-label`.
289289

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ Nothing changes.
313313
Support for old-style resource registries (`cssregistry.xml` and `jsregistry.xml`) was removed completely, along with the tools `portal_css` or `portal_javascript`.
314314

315315
You need to add resources using the new Resource Registry.
316-
See https://docs.plone.org/adapt-and-extend/theming/resourceregistry.html#resources for detailed instructions.
316+
See https://5.docs.plone.org/adapt-and-extend/theming/resourceregistry.html#resources for detailed instructions.
317317

318318

319319
### Restructure `CMFPlone` static resources

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Check this [Cheat Sheet](https://python-future.org/compatible_idioms.html) with
150150
`python-modernize` adds an import of the compatibility library `six` if needed.
151151
The import is added as the last import, therefore it is often necessary to reorder the imports.
152152
The easiest way is to use [isort](https://pypi.org/project/isort), which does this for you automatically.
153-
Check the [Python style guide for Plone](https://docs.plone.org/develop/styleguide/python.html#grouping-and-sorting) for information about the order of imports and an example configuration for `isort`.
153+
Check the [Python style guide for Plone](https://5.docs.plone.org/develop/styleguide/python.html#grouping-and-sorting) for information about the order of imports and an example configuration for `isort`.
154154

155155
If `six` is used in the code, make sure that `six` is added to the `install_requires` list in the `setup.py` of the package.
156156

docs/install/install-from-packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ We install Plone 6 with {term}`pip`, {term}`Cookiecutter`, {term}`mxdev`, {term}
183183
```{note}
184184
We do not maintain documentation for installing Plone 6 or later with `buildout`.
185185
For Plone 5, `buildout` was the preferred installation method.
186-
You can read the [documentation of how to install Plone 5 with `buildout`](https://docs.plone.org/manage/installing/installation_minimal_buildout.html), and adapt it to your needs for Plone 6.
186+
You can read the [documentation of how to install Plone 5 with `buildout`](https://5.docs.plone.org/manage/installing/installation_minimal_buildout.html), and adapt it to your needs for Plone 6.
187187
```
188188
189189
Create a new directory to hold your project, and make it your current directory.

0 commit comments

Comments
 (0)