Skip to content

Commit

Permalink
Add supported web browsers (#1792)
Browse files Browse the repository at this point in the history
* Add supported web browsers.

Closes #1280.

plone/volto#6501 must be merged before this PR can be merged.

* Add supported web browsers.

Closes #1280.

plone/volto#6501 must be merged before this PR can be merged.

* Ignore failing linkcheck anchor for `https://browsersl.ist/#`

* Update Bootstrap version
  • Loading branch information
stevepiercy authored Nov 24, 2024
1 parent e4dc4ae commit cc6ffd2
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/_inc/_install-browser-reqs-classic-ui.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
You can view the list of supported browsers for Classic UI at [Browserslist](https://browsersl.ist/#q=%3E%3D+0.5%25%0Alast+2+major+versions%0Anot+dead%0AChrome+%3E%3D+60%0AFirefox+%3E%3D+60%0AFirefox+ESR%0AiOS+%3E%3D+12%0ASafari+%3E%3D+12%0Anot+Explorer+%3C%3D+11).

The supported web browsers for Classic UI are set according to [Bootstrap](https://getbootstrap.com/docs/5.3/getting-started/browsers-devices/#supported-browsers).
The following code snippet is the [browserslist configuration for Bootstrap 5.3.3](https://github.com/twbs/bootstrap/blob/v5.3.3/.browserslistrc).

```shell
>= 0.5%
last 2 major versions
not dead
Chrome >= 60
Firefox >= 60
Firefox ESR
iOS >= 12
Safari >= 12
not Explorer <= 11
```
10 changes: 10 additions & 0 deletions docs/_inc/_install-browser-reqs-volto.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
You can view the list of supported browsers for Volto at [Browserslist](https://browsersl.ist/#q=%3E1%25%0Alast+4+versions%0AFirefox+ESR%0Anot+dead).

These browsers are set according to the `browserslist` key in Volto's [`package.json`](https://github.com/plone/volto/blob/1aff8d0451f5cb375ca9f5afe9b2b72a0555afd8/packages/volto/package.json#L170-L176) file, whose content is below.

```shell
>1%
last 4 versions
Firefox ESR
not dead
```
7 changes: 7 additions & 0 deletions docs/admin-guide/install-buildout.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ For other installation options, see {ref}`get-started-install-label`.

(install-buildout-prerequisites)=


## Supported web browsers

```{include} /_inc/_install-browser-reqs-classic-ui.md
```


## Prerequisites for installation

- For Plone 6.0, Python {{SUPPORTED_PYTHON_VERSIONS_PLONE60}}
Expand Down
7 changes: 7 additions & 0 deletions docs/admin-guide/install-pip.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ It provides a basic installation without many additional tools to help with deve
For other installation options, see {ref}`get-started-install-label`.
```


## Supported web browsers

```{include} /_inc/_install-browser-reqs-classic-ui.md
```


(install-pip-prerequisites)=

## Prerequisites for installation
Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
r"https://coveralls.io/repos/github/plone/plone.restapi/badge.svg\?branch=main", # plone.restapi
r"https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors#Identifying_the_issue", # volto
r"https://docs.cypress.io/guides/references/migration-guide#Migrating-to-Cypress-version-10-0", # volto
r"https://browsersl.ist/#",
# Ignore unreliable sites
r"https://web.archive.org/",
r"http://z3c.pt", # fluke where Sphinx interprets this as a URL
Expand Down
6 changes: 6 additions & 0 deletions docs/install/create-project-cookieplone.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ For other installation options, see {ref}`get-started-install-label`.
Plone 6 has both hardware requirements and software prerequisites.


### Supported web browsers

```{include} /_inc/_install-browser-reqs-volto.md
```


(create-project-cookieplone-hardware-requirements-label)=

### Hardware requirements
Expand Down
9 changes: 9 additions & 0 deletions docs/install/create-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ This template creates a web application using Plone with the Volto frontend, alo
Plone 6.0 has both hardware requirements and software prerequisites.


### Supported web browsers

```{include} /_inc/_install-browser-reqs-volto.md
```

```{include} /_inc/_install-browser-reqs-classic-ui.md
```


(install-packages-hardware-requirements-label)=

### Hardware requirements
Expand Down

0 comments on commit cc6ffd2

Please sign in to comment.