Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
e8a2b9c
ci(make): remove dead code action
noradefitero Oct 4, 2026
7474057
chore: remove generated files
noradefitero Oct 4, 2026
f018aec
ci(pre-commit): config file
noradefitero Oct 4, 2026
351e100
refactor: rename docs from src README.md to manual.md. makefile src
noradefitero Oct 4, 2026
a22e356
feat: fork markdown target for README
noradefitero Oct 4, 2026
0a9795d
ci(release): workflow for releasing compiled copies on tag push
noradefitero Oct 4, 2026
03ff29a
ci(pre-commit): markdownlint hook for auto fixing
noradefitero Oct 4, 2026
b8924bf
chore(gitignore): ignore README.md
noradefitero Oct 4, 2026
453a329
fix(md template): order of if statements corrected
noradefitero Oct 5, 2026
f4269ef
ci(ci): lint on push and pull_request with super linter
noradefitero Oct 7, 2026
cacb608
ci(release-please): release and version managed qith release please
noradefitero Oct 7, 2026
7ee9581
chore: empty CHANGELOD.md and version.txt for release-please
noradefitero Oct 7, 2026
d1b4687
ci(publish.yml): on tagged versions release files in dist
noradefitero Oct 7, 2026
92748d8
ci(readme.yml): on release push a commit with an updated version of
noradefitero Oct 7, 2026
d969d20
ci(release.yml): remove file no longer useful
noradefitero Oct 7, 2026
b94586f
chore(gitignore): README.md re included
noradefitero Oct 7, 2026
a64b8b1
ci(pre-commit): include ChkTeX linter in hooks
noradefitero Oct 7, 2026
70d4555
style(manual.md): apply formatter
noradefitero Oct 7, 2026
1857806
docs(manual.md): replaced in collaborate section repository word with
noradefitero Oct 7, 2026
f236d3a
chore(manual.md): shifted all headers by 1 as in the makefile they are
noradefitero Oct 7, 2026
cf3e448
style(manual.md): fence indented code blocks
noradefitero Oct 8, 2026
b4a4fc1
docs(readme template): add badges and link to GitHub releases
noradefitero Oct 8, 2026
e53b7dc
style(readme template): make generated README pass markdownlint
noradefitero Oct 8, 2026
5db10ef
style(md template): make generated markdown pass markdownlint
noradefitero Oct 8, 2026
a4521d7
style(pdf template): fix trailing whitespace and final newline
noradefitero Oct 8, 2026
91dd448
style(markdownlint): minimize rule overrides
noradefitero Oct 8, 2026
4cc13d4
docs(README): update generated documentation
noradefitero Oct 8, 2026
e341560
chore(makefile): remove heading level shift from generated docs
noradefitero Oct 8, 2026
07c1835
fix(md template): use absolute URL for the title page image
noradefitero Oct 8, 2026
343fd5e
chore(prettierignore): generated files
noradefitero Oct 8, 2026
c26a28b
chore(markdownlintignore): generated files ignored
noradefitero Oct 8, 2026
cd6ae77
chore: lint md.tex and readme_md.tex
noradefitero Oct 8, 2026
ae93dbd
fix(manual): corrected some typos
noradefitero Oct 8, 2026
08cfbca
chore: linters config
noradefitero Oct 8, 2026
9dadaa8
style(template): extend markdownlint disables in generated markdown
noradefitero Oct 8, 2026
84bcf44
chore(pdf template): skip ChkTeX on third-party template
noradefitero Oct 8, 2026
1e950d6
style(manual.md): format with prettier and disable overridden rules i…
noradefitero Oct 8, 2026
0c06edb
chore(markdownlint): inline rules replace config file
noradefitero Oct 8, 2026
14aa66d
ci(workflows): disable credential persistence in checkouts
noradefitero Oct 8, 2026
b7abced
ci(ci.yml): restrict permissions and disable Biome linters
noradefitero Oct 8, 2026
412b56c
docs(README): update generated documentation
noradefitero Oct 8, 2026
37a583d
style(md.tex): write acknowledgements in plain md and inverse order
noradefitero Oct 8, 2026
7ff54a7
chore(manual.md): updated author username
noradefitero Oct 8, 2026
320f961
chore(README): remove README, it is an auto generated file
noradefitero Oct 8, 2026
98ccc0f
ci(precommit): prettier hook
noradefitero Oct 8, 2026
f7323ad
chore(manual.md): prettier format
noradefitero Oct 8, 2026
685dcb8
chore(gitignore): add node_modules and remove wildcards
noradefitero Oct 8, 2026
afa6b9e
revert: README.md and README.pdf for the PR
noradefitero Oct 8, 2026
0fd4c94
ci(ci.yml): remove redundant listener for pull request as it is also
noradefitero Oct 8, 2026
fce4afe
ci(ci.yml) super linter ignores README.md and README.pdf
noradefitero Oct 8, 2026
2613078
revert(ci.yml): super linter flags for ignore biome
noradefitero Oct 8, 2026
54bcbb3
ci(pre-commit): add textlint and codespell linters
noradefitero Oct 8, 2026
51ef4b9
ci(ci.yml): fixed super linter exclude regex
noradefitero Oct 8, 2026
757a21f
ci(codespell): move config file to repo root and add skip rule for
noradefitero Oct 8, 2026
fa097fa
ci(pre-commit): textlint hook install required rules
noradefitero Oct 8, 2026
ea37de2
ci(textlintrc): add config file for textlint
noradefitero Oct 8, 2026
0708a39
ci(textlint): ignore README.md .pdf and dist/
noradefitero Oct 8, 2026
2941378
ci(ci.yml): renamed workflow to ci
noradefitero Oct 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .chktexrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# The pandoc templates use hyphens in URLs/HTML comments and unbalanced
# $...$ control sequences; silence the dash and math-mode noise they cause.
HyphDash { 1 3 }

CmdLine
{
-n16
-n25
-n36
}
4 changes: 4 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[codespell]
# `figurestyle` is a LaTeX macro name in the third-party Eisvogel template.
ignore-words-list = figurestyle
skip = README.md
7 changes: 7 additions & 0 deletions .github/linters/.jscpd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"threshold": 0,
"reporters": ["consoleFull"],
"absolute": true,
"gitignore": true,
"ignore": ["README.md", "src/template/**"]
}
15 changes: 15 additions & 0 deletions .github/linters/zizmor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Actions are pinned to version tags (release-please keeps super-linter up to
# date), which satisfies the "ref-pin" policy for these sources.
rules:
# The publish workflow deliberately uses action-gh-release instead of the
# `gh release` CLI; this is an informational, non-failing finding.
superfluous-actions:
disable: true
unpinned-uses:
config:
policies:
actions/*: ref-pin
super-linter/*: ref-pin
softprops/*: ref-pin
EndBug/*: ref-pin
googleapis/*: ref-pin
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: ci

on:
push:

permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-latest

permissions:
# contents permission to clone the repository
contents: read
packages: read
# issues and pull-requests permissions to write results as pull
# request comments. Omit them if you don't need summary comments
issues: write
pull-requests: write
# To report GitHub Actions status checks. Omit if you don't need
# to update commit status
statuses: write

steps:
- name: Checkout code
uses: actions/checkout@v7
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0
persist-credentials: false

- name: Super-linter
uses: super-linter/super-linter@v9.0.0
env:
GITHUB_TOKEN: ${{ secrets.ACTIONS_GH_TOKEN }}
FILTER_REGEX_EXCLUDE: '(^|/)README\.(md|pdf)$'
VALIDATE_BIOME_FORMAT: "false"
VALIDATE_BIOME_LINT: "false"
23 changes: 0 additions & 23 deletions .github/workflows/make.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: publish
on:
push:
tags:
- "v*.*.*"

permissions:
contents: write

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- name: Install pandoc
run: |
sudo apt-get update
sudo apt-get install -y pandoc texlive texlive-latex-extra texlive-fonts-extra texlive-fonts-recommended
- name: Make docs
run: make all
- name: Release MD and PDF
uses: softprops/action-gh-release@v3
with:
working_directory: dist
body_path: CHANGELOG.md
29 changes: 29 additions & 0 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: readme
on:
release:
types: [published]

permissions:
contents: write

jobs:
readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
# release events check out a tag in detached HEAD, where
# add-and-commit cannot push; check out the default branch instead
ref: ${{ github.event.repository.default_branch }}
persist-credentials: false
- name: Install pandoc
run: |
sudo apt-get update
sudo apt-get install -y pandoc
- name: Generate README.md
run: make readme
- name: Commit README.md
uses: EndBug/add-and-commit@v11
with:
add: README.md
message: "docs(README): update generated documentation"
19 changes: 19 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: release-please
on:
push:
branches:
- main

permissions:
contents: write
issues: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v5
with:
token: ${{ secrets.ACTIONS_GH_TOKEN }}
release-type: simple
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
./*.pdf
./*.md
node_modules/

# Generated
dist/
3 changes: 3 additions & 0 deletions .markdownlintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Generated files
README.md
dist/
42 changes: 42 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
repos:
- repo: local
hooks:
- id: textlint
language: system
name: Run tests
entry: npx -y -p textlint -p textlint-rule-terminology -p textlint-filter-rule-comments textlint -c .textlintrc.json
stage: [commit]
- repo: https://github.com/codespell-project/codespell
rev: v2.4.3
hooks:
- id: codespell
- repo: https://github.com/pre-commit/mirrors-prettier
rev: ""
hooks:
- id: prettier
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.49.1
hooks:
- id: markdownlint-fix
- repo: https://github.com/meliache/pre-commit-chktex
rev: v0.2.2
hooks:
- id: chktex-system # install and use chktex via a conda
# alternative: use the following line to use the system chktex
# - id: chktex-system
- repo: https://github.com/jorisroovers/gitlint
rev: v0.19.1
hooks:
- id: gitlint
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-case-conflict
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: detect-private-key
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: end-of-file-fixer
- id: trailing-whitespace
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Generated files
README.md
dist
4 changes: 4 additions & 0 deletions .textlintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
README.pdf

dist/
9 changes: 9 additions & 0 deletions .textlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"plugins": {},
"filters": {
"comments": true
},
"rules": {
"terminology": true
}
}
Empty file added CHANGELOG.md
Empty file.
48 changes: 35 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,24 +1,46 @@
SRC_DIR := src
SRC := \
$(SRC_DIR)/README.md
TEMPLATE_MD := $(SRC_DIR)/template/md.tex
TEMPLATE_PDF := $(SRC_DIR)/template/pdf.tex
MD_FILES := $(patsubst $(SRC_DIR)/%.md,%.md,$(SRC))
PDF_FILES := $(patsubst $(SRC_DIR)/%.md,%.pdf,$(SRC))
SRC_DIR := src
DIST_DIR := dist

all: $(MD_FILES) $(PDF_FILES)
SRC := \
$(SRC_DIR)/manual.md

%.md: $(SRC_DIR)/%.md
TEMPLATE_README_MD := $(SRC_DIR)/template/readme_md.tex
TEMPLATE_MD := $(SRC_DIR)/template/md.tex
TEMPLATE_PDF := $(SRC_DIR)/template/pdf.tex

MD_FILES := $(patsubst $(SRC_DIR)/%.md,$(DIST_DIR)/%.md,$(SRC))
PDF_FILES := $(patsubst $(SRC_DIR)/%.md,$(DIST_DIR)/%.pdf,$(SRC))

all: markdown pdf readme
.PHONY: all

markdown: $(MD_FILES)
.PHONY: markdown

pdf: $(PDF_FILES)
.PHONY: pdf

readme: README.md
.PHONY: readme

README.md: $(SRC_DIR)/manual.md
mkdir -p $(dir $@)
pandoc --template $(TEMPLATE_README_MD) -t gfm --toc $< -o $@

$(DIST_DIR)/%.md: $(SRC_DIR)/%.md
mkdir -p $(dir $@)
pandoc --template $(TEMPLATE_MD) -t gfm --shift-heading-level-by=1 --toc $< -o $@
pandoc --template $(TEMPLATE_MD) -t gfm --toc $< -o $@

%.pdf: $(SRC_DIR)/%.md
$(DIST_DIR)/%.pdf: $(SRC_DIR)/%.md
mkdir -p $(dir $@)
pandoc --template $(TEMPLATE_PDF) $< -o $@

clean:
rm -f $(MD_FILES) $(PDF_FILES)
rm -rf $(DIST_DIR) README.md
.PHONY: clean

re: clean all
.PHONY: re

.PHONY: docs clean re
init:
@uv run --with pre-commit pre-commit install
Loading
Loading