Skip to content

Commit 76f818c

Browse files
docs: improve documentation (#121)
1 parent 5f2273a commit 76f818c

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ configuration files and code blocks stay tidy.
2525
- Use the Rust version pinned in `rust-toolchain.toml`.
2626
- Keep lists and manifest sections sorted; run `keepsorted` where annotated.
2727
- Update `CHANGELOG.md` for user-facing changes.
28-
- Do not modify `meta/SPECS.md` unless a human requests it.
28+
- Do not modify `docs/SPECS.md` unless a human requests it.
2929
- Markdown is formatted with `mdformat`; CI checks formatting.
3030

3131
## Reference

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Adds quiet mode and skips binary files during recursive checks. Also drafts new
1212
- fix: correctly parse comments in `rust_derive` when string literals contain `//`
1313
- fix: correctly parse comments in `Cargo.toml` when string literals contain `#`
1414
- fix: correctly parse comments in Bazel files when string literals contain `#`
15+
- fix: bash 3.2 compatibility in `utils/exit_codes.bash`
1516
- fix: print stderr output when diff command fails
1617
- docs: draft meta guidelines for AI and contributors
1718

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cargo install keepsorted
1111
- [Documentation](https://docs.rs/keepsorted)
1212
- [Source code](https://github.com/maksym-arutyunyan/keepsorted)
1313
- [Issue tracker](https://github.com/maksym-arutyunyan/keepsorted/issues)
14-
- [Specs](meta/SPECS.md)
14+
- [Specs](docs/SPECS.md)
1515

1616
## Overview
1717

@@ -178,9 +178,9 @@ a
178178
becomes
179179

180180
```codeowners
181-
# Team
182-
a
183181
# Lead
182+
a
183+
# Team
184184
b
185185
```
186186

File renamed without changes.

meta/SYSTEM.md renamed to docs/SYSTEM.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ sorting strategies.
5151
- Source under `src/`.
5252
- Unit tests under `tests/`.
5353
- End-to-end tests using Bats in `e2e-tests/`.
54-
- Documentation in `docs/` and contributor guides in `meta/`.
54+
- Documentation in `docs/` and contributor guides in `docs/`.
5555
- Rust version pinned in `rust-toolchain.toml`; Cargo manages dependencies.
5656

5757
## Design notes

meta/WORKFLOW.md renamed to docs/WORKFLOW.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Guides contributors through setup, development, testing, and releases.
1515
- `tests/` – Rust unit tests.
1616
- `e2e-tests/` – Bats-based end-to-end tests.
1717
- `docs/` – user documentation.
18-
- `meta/` – contributor guides (this folder).
18+
- `docs/` – contributor guides (this folder).
1919
- Temporary build output lives in `target/` and should not be committed.
2020

2121
## Coding conventions
@@ -32,7 +32,7 @@ Guides contributors through setup, development, testing, and releases.
3232
## Documentation
3333

3434
- Keep `README.md`, especially the "Getting Started" section, in sync with the
35-
codebase and the specs in `meta/`.
35+
codebase and the specs in `docs/`.
3636

3737
## Code quality
3838

@@ -62,7 +62,7 @@ Guides contributors through setup, development, testing, and releases.
6262
## Testing
6363

6464
- Maintain unit tests in `tests/` and end-to-end tests in `e2e-tests/`.
65-
- Tests verify behaviour described in `meta/SPECS.md`, `meta/SYSTEM.md`, and
65+
- Tests verify behaviour described in `docs/SPECS.md`, `docs/SYSTEM.md`, and
6666
this workflow.
6767
- Bug fixes and new features require accompanying tests.
6868
- CI and local runs must pass all tests before merging.
@@ -87,14 +87,14 @@ A pull request is ready to merge when:
8787
## Versioning & releases
8888

8989
- Use Semantic Versioning (`MAJOR.MINOR.PATCH`).
90-
- Track version in `VERSION`, changes in `CHANGELOG.md`.
90+
- Track version in `Cargo.toml`, changes in `CHANGELOG.md`.
9191
- Group changelog entries by prefix: `feat`, `fix`, `refactor`, `test`, `docs`, `chore` (in that order). Keep original item order within each group.
9292
- Add a summary at the top of each release:
9393
- **Patch (`x.y.Z`)**: 1–2 lines on key fixes or internal changes.
9494
- **Minor (`x.Y.0`)**: Short paragraph on main new features since last minor.
9595
- **Major (`X.0.0`)**: Summary of major changes and any breaking updates.
9696
- Release PR:
97-
- Only updates `VERSION`, `CHANGELOG.md`, and `README.md` if needed.
97+
- Only updates `Cargo.toml` version, `CHANGELOG.md`, and `README.md` if needed.
9898
- Title: `chore(release): vX.Y.Z`
9999
- After merge:
100100
- CI tags the release and runs final checks.

0 commit comments

Comments
 (0)