Skip to content

Commit 6d937ac

Browse files
authored
Merge branch '5.x' into patch-1
2 parents 532942b + 39488c0 commit 6d937ac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+4063
-204
lines changed

.all-contributorsrc

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,33 @@
3232
"doc",
3333
"review"
3434
]
35+
},
36+
{
37+
"login": "ifeoluwafavour",
38+
"name": "Ife",
39+
"avatar_url": "https://avatars.githubusercontent.com/u/64481442?v=4",
40+
"profile": "http://ifeoluwafavour.hashnode.dev",
41+
"contributions": [
42+
"doc"
43+
]
44+
},
45+
{
46+
"login": "sumbria",
47+
"name": "Balbinder Sumbria",
48+
"avatar_url": "https://avatars.githubusercontent.com/u/6416992?v=4",
49+
"profile": "https://incodit.com",
50+
"contributions": [
51+
"doc"
52+
]
53+
},
54+
{
55+
"login": "Hugo-Prossaird",
56+
"name": "Hugo-Prossaird",
57+
"avatar_url": "https://avatars.githubusercontent.com/u/176997845?v=4",
58+
"profile": "https://github.com/Hugo-Prossaird",
59+
"contributions": [
60+
"doc"
61+
]
3562
}
3663
],
3764
"contributorsPerLine": 7,
@@ -40,5 +67,6 @@
4067
"repoType": "github",
4168
"repoHost": "https://github.com",
4269
"skipCi": true,
43-
"commitConvention": "angular"
70+
"commitConvention": "angular",
71+
"commitType": "docs"
4472
}

.devcontainer/devcontainer.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"features": {
3+
"ghcr.io/devcontainers/features/python:1": {
4+
"version": "3.11",
5+
"installTools": true
6+
}
7+
},
8+
"customizations": {
9+
"vscode": {
10+
"extensions": [
11+
"ms-python.python",
12+
"swyddfa.esbonio",
13+
"lextudio.restructuredtext",
14+
"eamodio.gitlens",
15+
"trond-snekvik.simple-rst"
16+
]
17+
}
18+
},
19+
"postCreateCommand": "chmod +x .devcontainer/setup-project.sh && .devcontainer/setup-project.sh"
20+
}

.devcontainer/setup-project.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
set -ex
3+
4+
VALE_VERSION=3.7.1
5+
6+
# Install required packages
7+
pip install -r docs/requirements.txt
8+
9+
# Required for Vale
10+
pip install rst2html rstcheck
11+
12+
# Install Vale
13+
mkdir -p /tmp/vale
14+
curl -sSL https://github.com/errata-ai/vale/releases/download/v${VALE_VERSION}/vale_${VALE_VERSION}_Linux_64-bit.tar.gz | tar -xz -C /tmp/vale
15+
sudo install -o root -g root -m 0755 /tmp/vale/vale /usr/local/bin/vale
16+
rm -rf /tmp/vale

.github/holopin.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
organization: mautic
2+
holobytes:
3+
- evolvingStickerId: cm1ti4x4c57560cjq2styaitm
4+
icon: avocado
5+
alias: hacktoberfest-2024

.github/styles/Vocab/Mautic/accept.txt renamed to .github/styles/config/vocabularies/Mautic/accept.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ AJAX
22
allowlist
33
Amazon SES
44
Ameling
5+
ascenders
56
autoloader
67
Autoloader
78
autowire
@@ -22,8 +23,10 @@ CCPA
2223
Citrix
2324
Clearbit
2425
CloudAMQP
26+
Codeception
2527
Codecov
2628
Company(ies)
29+
Composability
2730
Composer
2831
Config
2932
config
@@ -47,8 +50,6 @@ Firewalls
4750
firewalls
4851
Focus Item
4952
Focus Items
50-
Forms
51-
forms
5253
Froala
5354
Froogaloop
5455
gcm
@@ -70,6 +71,8 @@ HubSpot
7071
IDP
7172
IMAP
7273
infographics
74+
Initialisms
75+
initialisms
7376
ISO
7477
JavaScript
7578
Joomla
@@ -108,6 +111,8 @@ Plugin
108111
Plugins
109112
post
110113
POST
114+
ProTip
115+
ProTips
111116
PUT
112117
PyCharm
113118
Rackspace
@@ -137,7 +142,6 @@ Themes
137142
timeframe
138143
Todo
139144
tooltip
140-
Tooltip
141145
Transifex
142146
Translator
143147
TRUE
@@ -156,6 +160,7 @@ Vtiger
156160
Webhooks
157161
Webmecanik
158162
www
163+
XPath
159164
YAML
160165
Zapier
161166
Zoho

.github/workflows/dev_merge_pr.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.github/workflows/dev_validate_pr.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/linting.yml

Lines changed: 41 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -4,48 +4,49 @@ on:
44

55
jobs:
66
prose:
7-
runs-on: ubuntu-latest
7+
runs-on: ubuntu-22.04 # See https://github.com/errata-ai/vale-action/issues/128 before upgrading
8+
permissions:
9+
contents: read
10+
pull-requests: write
811
steps:
9-
- name: Checkout
10-
uses: actions/checkout@v4
11-
with:
12-
fetch-depth: 0
13-
14-
- uses: actions/setup-python@v4
15-
with:
16-
python-version: '3.x'
17-
cache: 'pip'
18-
19-
- name: Install Python dependencies
20-
run: pip3 install -r docs/requirements.txt
21-
22-
- name: Vale
23-
uses: errata-ai/vale-action@reviewdog
24-
with:
25-
# Please keep version in sync with the version in .gitpod.Dockerfile for a consistent experience
26-
version: 2.29.2
27-
fail_on_error: true
28-
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
17+
- uses: actions/setup-python@v4
18+
with:
19+
python-version: '3.x'
20+
cache: 'pip'
21+
22+
- name: Install Python dependencies
23+
run: pip3 install -r docs/requirements.txt
24+
25+
- name: Vale
26+
uses: errata-ai/vale-action@reviewdog
27+
with:
28+
version: 3.7.1 # Please keep version in sync with the version in .gitpod.Dockerfile for a consistent experience
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3031

3132
build:
3233
runs-on: ubuntu-latest
3334
steps:
34-
- name: Checkout
35-
uses: actions/checkout@v4
36-
37-
- uses: actions/setup-python@v4
38-
with:
39-
python-version: '3.x'
40-
cache: 'pip'
41-
42-
- name: Install Python dependencies
43-
run: pip3 install -r docs/requirements.txt
44-
45-
- name: Build docs
46-
working-directory: docs
47-
run: make html
48-
49-
- name: Check links
50-
working-directory: docs
51-
run: make checklinks
35+
- name: Checkout
36+
uses: actions/checkout@v4
37+
38+
- uses: actions/setup-python@v4
39+
with:
40+
python-version: '3.x'
41+
cache: 'pip'
42+
43+
- name: Install Python dependencies
44+
run: pip3 install -r docs/requirements.txt
45+
46+
- name: Build docs
47+
working-directory: docs
48+
run: make html
49+
50+
- name: Check links
51+
working-directory: docs
52+
run: make checklinks

.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: 6 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,9 @@ 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
14+
15+
ports:
16+
- port: 3000

0 commit comments

Comments
 (0)