Skip to content

Commit 5a7943c

Browse files
Dr. Arnold SykoschDr. Arnold Sykosch
authored andcommitted
chore: sync shared files from central repo
1 parent 6a29e09 commit 5a7943c

5 files changed

Lines changed: 51 additions & 3 deletions

File tree

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
indent_style = space
9+
indent_size = 2
10+
11+
[*.rst]
12+
indent_size = 3

.github/workflows/check.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Check
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
push:
7+
branches:
8+
- 'rel-**'
9+
10+
jobs:
11+
check:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v6
16+
- uses: actions/cache/restore@v5
17+
id: cache-venv-restore
18+
with:
19+
path: .venv
20+
key: ${{ runner.os }}-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('requirements.txt') }}
21+
22+
- if: steps.cache-venv-restore.outputs.cache-hit != 'true'
23+
run: make venv
24+
- if: steps.cache-venv-restore.outputs.cache-hit != 'true'
25+
uses: actions/cache/save@v5
26+
with:
27+
path: .venv
28+
key: ${{ steps.cache-venv-restore.outputs.cache-primary-key }}
29+
30+
31+
- run: make check

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ Thumbs.db
2626
*.swn
2727
*.swp
2828
*.swo
29-
*~
29+
*~
30+
31+
.github/workflows/pr-check.yml

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ $(VENV_PYTHON): ## (internal) Create the virtual environment if it does not exis
3131
@test -x $@ || $(PYTHON) -m venv $(VENV)
3232

3333
$(VENV_STAMP): $(VENV_PYTHON) requirements.txt ## (internal) Install or refresh the documentation dependencies.
34-
$(VENV_PIP) install --quiet --upgrade pip
35-
$(VENV_PIP) install --quiet -r requirements.txt
34+
$(VENV_PIP) install --quiet --no-cache-dir --upgrade pip
35+
$(VENV_PIP) install --quiet --no-cache-dir -r requirements.txt
3636
@touch $@
3737

3838
venv: $(VENV_STAMP) ## Validate the virtual environment and install dependencies if needed.

conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
'sphinx_rtd_theme',
1010
]
1111

12+
# we do have duplicate section headings by design
13+
suppress_warnings = ['autosectionlabel.*']
14+
1215
html_theme = 'sphinx_rtd_theme'
1316
master_doc = 'content/index'
1417
language = 'en'

0 commit comments

Comments
 (0)