Skip to content

Commit 6083c61

Browse files
authored
Merge pull request #226 from mautic/fix-gitpod-vale-integration
Fix the Gitpod and Vale integrations
2 parents 73e63e2 + 130451e commit 6083c61

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

.gitpod.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM python:3.11
22

33
# Don't update to a higher version until this issue has been fixed: https://github.com/errata-ai/vale/issues/528
44
# Please keep version in sync with the version in .github/workflows/linting.yml for a consistent experience
5-
ENV VALE_VERSION=2.29.2
5+
ENV VALE_VERSION=3.7.1
66

77
WORKDIR /workspace
88

.gitpod.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# Since Gitpod doesn't support caching custom Dockerfiles yet, we temporarily
2-
# use this once which has Python 3.9 and Vale preinstalled.
3-
image: dennisameling/python-vale:latest
1+
image:
2+
file: .gitpod.Dockerfile
43

54
tasks:
65
- before: pip install -r docs/requirements.txt
@@ -9,7 +8,6 @@ tasks:
98
vscode:
109
extensions:
1110
- ms-python.python
12-
- lextudio.restructuredtext
13-
- errata-ai.vale-server
11+
- [email protected] # See https://github.com/mautic/user-documentation/pull/334#issuecomment-2405922370 before upgrading. - errata-ai.vale-server
1412
- eamodio.gitlens
1513
- trond-snekvik.simple-rst

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@
55
"esbonio.sphinx.confDir": "${workspaceFolder}/docs",
66
"restructuredtext.pythonRecommendation.disabled": true,
77
"restructuredtext.preview.name": "sphinx",
8+
"esbonio.sphinx.pythonCommand": "python3",
9+
"esbonio.sphinx.buildCommand": "sphinx-build",
10+
"esbonio.logging.level": "debug",
811
"gitlens.showWhatsNewAfterUpgrades": false
912
}

docs/requirements.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# File: docs/requirements.txt
22

33
# Defining the exact version will make sure things don't break
4-
sphinx==6.2.1
5-
sphinx_rtd_theme==1.2.0
4+
sphinx==8.0.2
5+
sphinx_rtd_theme==3.0.0
66
readthedocs-sphinx-search==0.3.2
7-
rstcheck==6.1.1
8-
myst-parser==1.0.0
9-
linkify-it-py==2.0.0
10-
esbonio==0.16.4
11-
attrs==22.2.0
7+
rstcheck==6.2.4
8+
myst-parser==4.0.0
9+
linkify-it-py==2.0.3
10+
esbonio==0.16.5
11+
attrs==24.2.0
1212

0 commit comments

Comments
 (0)