You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add sphinx-design to requirements
Add sphinx_design to conf.py
Tidy up docs referenced by Install Index
Add Extensions section to writing-docs-guide.md
Copy file name to clipboardExpand all lines: docs/contributing/writing-docs-guide.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -271,6 +271,28 @@ print(f"my {a}nd line")
271
271
````
272
272
273
273
274
+
### Extensions
275
+
276
+
We use several extensions to enhance the presentation of Plone documentation.
277
+
278
+
-[`sphinx.ext.intersphinx`](https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html) provides linking between separate projects that use Sphinx for documentation.
279
+
-[`sphinx.ext.todo`](https://www.sphinx-doc.org/en/master/usage/extensions/todo.html) adds support for todo items.
280
+
-[`sphinx_copybutton`](https://sphinx-copybutton.readthedocs.io/en/latest/index.html) adds a little "copy" button to the right of code blocks.
281
+
-[`sphinx-design`](https://sphinx-design.readthedocs.io/en/latest/) adds grids, cards, icons, badges, buttons, tabs, and dropdowns.
282
+
-[`sphinx_sitemap`](https://pypi.org/project/sphinx-sitemap/) generates multiversion and multilanguage [sitemaps.org](https://www.sitemaps.org/protocol.html) compliant sitemaps.
283
+
-[`sphinxcontrib.httpdomain`](https://sphinxcontrib-httpdomain.readthedocs.io/en/stable/) provides a Sphinx domain for describing HTTP APIs.
284
+
It is used by Plone's {doc}`plone.restapi/docs/source/index`.
285
+
-[`sphinxcontrib.httpexample`](https://sphinxcontrib-httpexample.readthedocs.io/en/latest/) enhances `sphinxcontrib-httpdomain` by generating RESTful HTTP API call examples for different tools from a single HTTP request example.
286
+
Supported tools include [curl](https://curl.se/), [wget](https://www.gnu.org/software/wget/), [httpie](https://httpie.io/), and [python-requests](https://requests.readthedocs.io/en/latest/).
287
+
It is used by Plone's {doc}`plone.restapi/docs/source/index`.
-[`sphinx.ext.viewcode`](https://www.sphinx-doc.org/en/master/usage/extensions/viewcode.html) generates pages of source code modules and links between the source and the description.
Developers may choose to install Plone from either [the official container images](containers/index) or [packages](installation-from-packages).
35
+
+++
36
+
Help me [choose an installation method](install-index-choose-installation-method-label).
37
+
:::
38
+
39
+
::::
25
40
26
41
27
42
(install-index-choose-installation-method-label)=
28
43
29
44
## Choose an installation method
30
45
31
-
```{todo}
32
-
Add an explanation for choosing an installation method: container versus installation from packages.
33
-
Is there a combination for backend and frontend using a cookiecutter?
34
-
```
35
-
36
46
Developers may choose to install Plone from either [the official container images](containers/index) or [packages](installation-from-packages).
37
47
48
+
49
+
### Containers
50
+
38
51
The Plone 6 container images are compliant with the [Open Container Initiative (OCI)](https://opencontainers.org/).
39
52
They should work with any OCI-compliant container engine for developing, managing, and running Plone 6 images.
40
53
Two popular options include [podman](https://podman.io/) and [Docker](https://www.docker.com/products/docker-desktop/).
41
54
The Plone 6 images have all the system requirements, pre-requisites, and Plone 6 already installed, except those requirements needed for running the container engine itself.
42
55
This option is the quickest method to install and develop for Plone 6 and its packages.
43
56
57
+
:::{card}
58
+
:link: containers/index
59
+
:link-type: any
60
+
{octicon}`container;1.5em;sd-mr-1`[Use containers to install Plone](containers/index)
61
+
:::
62
+
63
+
64
+
### Packages
65
+
44
66
There may be some cases where using a Plone 6 image is not practical or desired.
45
67
You might want to use an SQL database that is not PostgreSQL, or you might use a deployment workflow that has specific requirements.
46
-
For these situations, Plone 6 may be installed manually.
68
+
For these situations, Plone 6 may be installed from its packages.
47
69
This method takes longer.
48
70
It might be a challenge if you bump up against system requirements, or need to resolve conflicts between required packages.
49
71
50
-
```{todo}
51
-
Perhaps merge the subsequent section into this section?
52
-
```
53
-
54
-
55
-
(install-index-caveat-label)=
56
-
57
-
## Caveat that Plone is a large project and source installs are non-trivial
72
+
:::{card}
73
+
:link: installation-from-packages
74
+
:link-type: any
75
+
{octicon}`package;1.5em;sd-mr-1`[Install Plone from its packages](installation-from-packages)
76
+
:::
58
77
59
78
60
79
(install-index-system-requirements-label)=
61
80
62
81
## System Requirements
63
82
64
-
System requirements depend upon your choice of installation method:
83
+
System requirements depend upon your choice of installation method.
65
84
66
-
-[Use container images](containers/index)
67
-
-{doc}`installation-from-packages`
85
+
-[Container system requirements](install-containers-index-system-requirements-label)
86
+
-[Packages system requirements](install-packages-system-requirements-label)
0 commit comments