Skip to content

Commit d5ddd3e

Browse files
authored
Merge pull request plone#1446 from plone/contribute-touch-up
Contributing: Add Python as a pre-requisite
2 parents e18d023 + 5b50b40 commit d5ddd3e

File tree

5 files changed

+19
-4
lines changed

5 files changed

+19
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ docs/volto:
6262
@echo "Documentation of volto initialized."
6363

6464
.PHONY: deps
65-
deps: bin/python docs/volto docs/plone.restapi docs/plone.api ## Create Python virtual environment, install requirements, initialize or update the volto, plone.restapi, and plone.api submodules, and finally create symlinks to the source files.
65+
deps: bin/python docs/volto docs/plone.restapi docs/plone.api ## Create Python virtual environment, install requirements, initialize or update the volto, plone.restapi, and plone.api submodules, and finally create symlinks to the source files.
6666

6767

6868
.PHONY: html

docs/_static/copy.svg

Lines changed: 6 additions & 0 deletions
Loading

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140

141141
html_static_path = [
142142
"volto/_static",
143-
"_static",
143+
"_static", # Last path wins. See https://github.com/plone/documentation/pull/1442
144144
]
145145

146146
# -- Options for myST markdown conversion to html -----------------------------
@@ -214,7 +214,7 @@
214214

215215
# -- sphinx-notfound-page configuration ----------------------------------
216216

217-
notfound_urls_prefix = None
217+
notfound_urls_prefix = ""
218218
notfound_template = "404.html"
219219

220220

docs/contributing/myst-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Note that the HTML attribute `class` must be set to `inline` to render the image
120120

121121
The above syntax renders as shown below.
122122

123-
> You can copy <img alt="Copy icon" src="../../_images/copy.svg" class="inline"> blocks.
123+
> You can copy <img alt="Copy icon" src="/_static/copy.svg" class="inline"> blocks.
124124
125125
Images and figures should always include `alt` text.
126126

docs/contributing/setup-build.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ This document covers how to build the Plone Documentation and check it for quali
2121
Installation of Plone 6 Documentation includes pre-requisites and the repository itself.
2222

2323

24+
(setup-build-installation-python-label)=
25+
26+
### Python
27+
28+
Python 3.8 or later is required.
29+
A more recent Python is preferred.
30+
Use your system's package manager or [pyenv](https://github.com/pyenv/pyenv) to install an appropriate version of Python.
31+
32+
2433
(setup-build-installation-vale-label)=
2534

2635
### Vale

0 commit comments

Comments
 (0)