Skip to content

Commit 27ae3ff

Browse files
authored
πŸ“ docs(readme): rewrite following Diataxis framework (#238)
1 parent 632dd0a commit 27ae3ff

5 files changed

Lines changed: 333 additions & 137 deletions

File tree

β€Ž.github/workflows/check.yamlβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@ on:
77
pull_request:
88
schedule:
99
- cron: "0 8 * * *"
10-
1110
concurrency:
1211
group: check-${{ github.ref }}
1312
cancel-in-progress: true
14-
1513
jobs:
1614
test:
1715
name: test with ${{ matrix.env }} on ${{ matrix.os }}

β€Ž.github/workflows/release.yamlβ€Ž

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ name: Release to PyPI
22
on:
33
push:
44
tags: ["*"]
5-
65
env:
76
dists-artifact-name: python-package-distributions
8-
97
jobs:
108
build:
119
runs-on: ubuntu-latest
@@ -26,7 +24,6 @@ jobs:
2624
with:
2725
name: ${{ env.dists-artifact-name }}
2826
path: dist/*
29-
3027
release:
3128
needs:
3229
- build

β€Ž.mdformat.tomlβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
wrap = 120
2+
number = true

β€Ž.pre-commit-config.yamlβ€Ž

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,18 @@ repos:
2424
- id: ruff-format
2525
- id: ruff-check
2626
args: ["--fix", "--unsafe-fixes", "--exit-non-zero-on-fix"]
27-
- repo: https://github.com/rbubley/mirrors-prettier
28-
rev: "v3.8.1"
27+
- repo: https://github.com/hukkin/mdformat
28+
rev: "1.0.0"
2929
hooks:
30-
- id: prettier
31-
args: ["--print-width=120", "--prose-wrap=always"]
30+
- id: mdformat
31+
additional_dependencies:
32+
- mdformat-config>=0.2.1
33+
- mdformat-gfm>=1
34+
- mdformat-toc>=0.5
35+
- repo: https://github.com/google/yamlfmt
36+
rev: "v0.21.0"
37+
hooks:
38+
- id: yamlfmt
3239
- repo: meta
3340
hooks:
3441
- id: check-hooks-apply

0 commit comments

Comments
Β (0)