Skip to content

Commit 3dfe2c3

Browse files
committed
Revert "docs: add v1.1.0 frontmatter enhancements and modular spec (#3)"
This reverts commit df8a91e.
1 parent df8a91e commit 3dfe2c3

9 files changed

Lines changed: 128 additions & 541 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
node-version: "20"
2626

2727
- name: Install semantic-release
28-
run: npm install -g semantic-release @semantic-release/changelog @semantic-release/git @semantic-release/exec
28+
run: npm install -g semantic-release @semantic-release/changelog @semantic-release/git
2929

3030
- name: Run semantic-release
3131
env:

.releaserc.json

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,18 @@
11
{
22
"branches": ["main"],
33
"plugins": [
4-
[
5-
"@semantic-release/commit-analyzer",
6-
{
7-
"preset": "conventionalcommits",
8-
"releaseRules": [
9-
{ "type": "docs", "release": "minor" },
10-
{ "type": "fix", "release": "patch" },
11-
{ "type": "refactor", "release": "patch" },
12-
{ "type": "style", "release": "patch" },
13-
{ "type": "perf", "release": "patch" },
14-
{ "type": "chore", "release": false }
15-
]
16-
}
17-
],
4+
"@semantic-release/commit-analyzer",
185
"@semantic-release/release-notes-generator",
196
[
207
"@semantic-release/changelog",
218
{
229
"changelogFile": "CHANGELOG.md"
2310
}
2411
],
25-
[
26-
"@semantic-release/exec",
27-
{
28-
"prepareCmd": "sed -i 's/\\*\\*Version:\\*\\* [0-9]*\\.[0-9]*\\.[0-9]*/\\*\\*Version:\\*\\* ${nextRelease.version}/' docs/specification.md && sed -i 's/Draft v[0-9]*\\.[0-9]*\\.[0-9]*/Draft v${nextRelease.version}/g' README.md AGENTS.md"
29-
}
30-
],
3112
[
3213
"@semantic-release/git",
3314
{
34-
"assets": ["CHANGELOG.md", "docs/specification.md", "README.md", "AGENTS.md"],
15+
"assets": ["CHANGELOG.md"],
3516
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
3617
}
3718
],

AGENTS.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -149,23 +149,6 @@ taskmark-spec/
149149

150150
**Invalid Date Handling:** Warn at `file:line`, ignore field, continue parsing
151151

152-
### YAML Front Matter
153-
154-
**Supported Fields:**
155-
156-
| Field | Purpose | Example |
157-
|-------|---------|---------|
158-
| `locale` | Natural language date parsing + default output format | `en_US`, `fr_FR` |
159-
| `timezone` | Default timezone for dates without explicit timezone | `America/New_York`, `UTC` |
160-
| `date_format` | Output date format (strftime), overrides locale | `%Y-%m-%d`, `%d/%m/%Y` |
161-
162-
**File Scope Rules:**
163-
164-
- Front matter applies ONLY to the current file
165-
- Linked files retain their own front matter
166-
- No inheritance of front matter between files
167-
- Default: system locale/timezone, ISO 8601 output (`YYYY-MM-DD`)
168-
169152
### Section Headers and Inheritance
170153

171154
```markdown

TODO.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
Project roadmap and tasks for the TaskMark specification.
44

5+
## v1.1.0 - Frontmatter Enhancements +taskmark-spec/v1.1.0 #documentation
6+
7+
### Locale and Date Handling
8+
9+
- [ ] Document `locale` frontmatter field ~2h
10+
- Used for parsing natural language dates and recurrence patterns
11+
- When set (without `date_format`), output uses locale's default date format instead of ISO
12+
- [ ] Document `date_format` frontmatter field ~1h
13+
- Accepts strftime patterns (e.g., `%d/%m/%Y`)
14+
- Overrides locale default format when both are set
15+
- [ ] Document that default output format is ISO 8601 (`YYYY-MM-DD`) when no locale/date_format set ~30m
16+
17+
### File-Scoped Frontmatter
18+
19+
- [ ] Document that `timezone` only applies to the current file ~30m
20+
- [ ] Document that `locale` only applies to the current file ~30m
21+
- [ ] Document that `date_format` only applies to the current file ~30m
22+
- [ ] Document that imported files retain their own frontmatter settings ~1h
23+
524
## v1.2.0 - Documentation Updates +taskmark-spec/v1.2.0 #documentation
625

726
- [ ] Document `@user` assignees in headers for inheritance ~1h

docs/spec/compatibility.md

Lines changed: 0 additions & 119 deletions
This file was deleted.

docs/spec/examples.md

Lines changed: 0 additions & 138 deletions
This file was deleted.

0 commit comments

Comments
 (0)