Skip to content

Commit 531be82

Browse files
committed
update
1 parent ae7fa64 commit 531be82

4 files changed

Lines changed: 18 additions & 41 deletions

File tree

AGENTS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ uv run python -m zensical build
5959
- pre-commit runs only on tracked / staged files.
6060
- Developers should `git add -A` files before expecting hooks to run.
6161

62-
6362
## SE Admin CLI
6463

6564
All admin operations run through the CLI. Use `--dry-run` before any mutating command.

docs/en/configuration.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ paths = ["lychee.toml", ".lychee.toml"]
6868

6969
### Task fields
7070

71-
| Field | Required | Description |
72-
|-------|----------|-------------|
73-
| `[task].id` | yes | Unique identifier, used with `run` command |
74-
| `[task].label` | yes | Human-readable description |
75-
| `[source].repo` | no | Canonical source repo for file-copy operations |
76-
| `[selector]` | no | Which repos to target (see below) |
77-
| `[[operations]]` | yes | One or more operation dicts |
71+
| Field | Required | Description |
72+
| ---------------- | -------- | ---------------------------------------------- |
73+
| `[task].id` | yes | Unique identifier, used with `run` command |
74+
| `[task].label` | yes | Human-readable description |
75+
| `[source].repo` | no | Canonical source repo for file-copy operations |
76+
| `[selector]` | no | Which repos to target (see below) |
77+
| `[[operations]]` | yes | One or more operation dicts |
7878

7979
### Selectors
8080

@@ -94,14 +94,14 @@ pattern = "^se-theory-"
9494

9595
### Operation types
9696

97-
| type | required fields | description |
98-
|------|----------------|-------------|
99-
| `ensure_exact_files` | `paths` | Copy files from source repo if absent or changed |
100-
| `delete_files` | `paths` | Delete files, no-op if missing |
101-
| `add_dependency` | `group`, `name` | Add to `pyproject.toml` optional-dependencies |
102-
| `remove_dependency` | `group`, `name` | Remove from optional-dependencies |
103-
| `ensure_workflow` | `name` | Add workflow if not present |
104-
| `replace_workflow` | `name` | Overwrite workflow unconditionally |
105-
| `remove_workflow` | `name` | Delete workflow, no-op if missing |
106-
| `git_pull` | - | `git pull --ff-only` |
107-
| `merge_dependabot_prs` | - | Merge all open Dependabot PRs via `gh` |
97+
| type | required fields | description |
98+
| ---------------------- | --------------- | ------------------------------------------------ |
99+
| `ensure_exact_files` | `paths` | Copy files from source repo if absent or changed |
100+
| `delete_files` | `paths` | Delete files, no-op if missing |
101+
| `add_dependency` | `group`, `name` | Add to `pyproject.toml` optional-dependencies |
102+
| `remove_dependency` | `group`, `name` | Remove from optional-dependencies |
103+
| `ensure_workflow` | `name` | Add workflow if not present |
104+
| `replace_workflow` | `name` | Overwrite workflow unconditionally |
105+
| `remove_workflow` | `name` | Delete workflow, no-op if missing |
106+
| `git_pull` | - | `git pull --ff-only` |
107+
| `merge_dependabot_prs` | - | Merge all open Dependabot PRs via `gh` |

docs/en/examples.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,6 @@
66
uv run python -m se_admin check --repo se-admin
77
```
88

9-
```text
10-
se-admin (6 pass, 0 fail)
11-
✓ [required_paths] pyproject.toml
12-
✓ [required_paths] src
13-
✓ [required_paths] tests
14-
✓ [required_workflows] .github/workflows/ci-python-zensical.yml
15-
✓ [required_paths] zensical.toml
16-
✓ [required_workflows] .github/workflows/deploy-zensical.yml
17-
```
18-
199
## Check an entire repo set
2010

2111
```bash
@@ -30,18 +20,6 @@ Preview what a task would do without making any changes.
3020
uv run python -m se_admin run normalize_core_files --dry-run
3121
```
3222

33-
```text
34-
[dry-run] Task: Ensure all canonical files are present
35-
36-
to se-constitution
37-
– ensure_exact_files: would run ensure_exact_files
38-
– delete_files: would run delete_files
39-
40-
to se-admin
41-
– ensure_exact_files: would run ensure_exact_files
42-
– delete_files: would run delete_files
43-
```
44-
4523
## Migrate MkDocs to Zensical across a set
4624

4725
```bash
File renamed without changes.

0 commit comments

Comments
 (0)