Skip to content

Commit d6e8ecd

Browse files
committed
add Claude context files for docs authoring and prerelease extension
(cherry picked from commit 16e346f)
1 parent 5c2a7d6 commit d6e8ecd

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.claude/rules/docs-authoring.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
paths:
3+
- "docs/**/*.qmd"
4+
---
5+
6+
# Docs Authoring
7+
8+
## Prerelease shortcodes
9+
10+
When documenting a feature introduced in a specific Quarto version, add at the top of the section:
11+
12+
```
13+
{{< prerelease-callout X.Y >}}
14+
```
15+
16+
Shows a pre-release callout before X.Y ships, disappears automatically after — never remove them manually. For blog posts use `type="blog"`. For URLs use `{{< prerelease-docs-url X.Y >}}`. See `_extensions/prerelease/` for details.

_extensions/prerelease/CLAUDE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Prerelease Extension
2+
3+
See `prerelease.lua` for implementation and #1961 for design rationale.

0 commit comments

Comments
 (0)