Skip to content

Commit 643930f

Browse files
committed
Merge remote-tracking branch 'origin/main' into bb/cloud-improvements
2 parents 5315d90 + 6571b2b commit 643930f

File tree

199 files changed

+4282
-2843
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+4282
-2843
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
POSTHOG_API_KEY=your_posthog_api_key
2+
INTERCOM_APP_ID=your_intercom_app_id

.roo/commands/discord-release-notes.md

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

.roo/rules-documentation-writer/1_writing_style.xml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,4 +254,64 @@
254254
</steps>
255255
</phase>
256256
</content_change_workflow>
257+
<heading_and_toc_policy>
258+
<overview>Minimize right-sidebar ToC noise. Reserve H3 for jump-worthy anchors and prefer H4 for in-body sub-chunking.</overview>
259+
<rules>
260+
<rule>H1 is implicit (page title). Do not write H1 in the body.</rule>
261+
<rule>H2 = primary sections; aim for 3–6 per page.</rule>
262+
<rule>H3 = ToC-worthy anchors only. Target 0–2 per page; hard cap 4.</rule>
263+
<rule>H4 = break up long H2 sections without adding ToC items. Prefer H4 over H3 for minor subtopics.</rule>
264+
<rule>Disallow H5/H6 entirely.</rule>
265+
<rule>No orphan headings: any H2/H3/H4 must be followed by ≥2 sentences or a list.</rule>
266+
<rule>Any H3 under ~75 words or a single short paragraph must be demoted to H4 .</rule>
267+
<rule>Convert chains of small H3s into a single H2 with a numbered list; use H4 callouts if needed.</rule>
268+
<rule>If an H4 exceeds ~200–250 words or needs substructure, split it into its own page (new H2 there) rather than promoting inside the same page.</rule>
269+
</rules>
270+
<budgets>
271+
<page_h2>3–6</page_h2>
272+
<total_h3>typical ≤ 2, max 4</total_h3>
273+
</budgets>
274+
<author_workflow>
275+
<step>Outline H2 skeleton first.</step>
276+
<step>Mark jump-worthy items as H3 only if sidebar navigation helps.</step>
277+
<step>Everything else becomes H4 under the H2.</step>
278+
<step>Preview ToC; demote noisy H3s to H4s before publishing.</step>
279+
</author_workflow>
280+
<example name="checkpoints_restructure">
281+
<description>Demote unnecessary H3s under “Working with Checkpoints”.</description>
282+
<before>
283+
## Working with Checkpoints
284+
### Viewing Differences
285+
### Restoring Checkpoints
286+
### Limitations and Considerations
287+
</before>
288+
<after>
289+
## Working with Checkpoints
290+
#### Viewing differences: when it helps
291+
#### Restore a checkpoint: trade-off
292+
#### Limits and gotchas
293+
</after>
294+
</example>
295+
</heading_and_toc_policy>
296+
297+
<explanatory_baseline>
298+
<requirement when="applicable">Include sections: “Why it matters”, “What you can’t do (and why)”, and “Troubleshooting”.</requirement>
299+
<troubleshooting_pattern>
300+
<item>symptom</item>
301+
<item>cause</item>
302+
<item>fix</item>
303+
<item>prevention</item>
304+
</troubleshooting_pattern>
305+
</explanatory_baseline>
306+
307+
<tone_guidelines>
308+
<rules>
309+
<rule>Colloquial, informal, light. Use contractions and “you” voice.</rule>
310+
<rule>Bold, honest, human—avoid mechanical or professoral tone.</rule>
311+
</rules>
312+
</tone_guidelines>
313+
314+
<screenshot_caption_policy>
315+
<requirement>Every screenshot must include a one-line “why this view matters” caption in addition to outcome-focused alt text.</requirement>
316+
</screenshot_caption_policy>
257317
</writing_style_guide>

.roo/rules-documentation-writer/2_docusaurus_conventions.xml

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@
5757
</policy>
5858

5959
<example>
60-
<![CDATA[
60+
6161
<!-- First discover the actual image path structure, then use it -->
6262
<img src="/img/installing/installing-2.png" alt="VS Code's Install from VSIX dialog" width="600" />
63-
]]>
63+
6464
</example>
6565
</rule>
6666
</media>
@@ -85,7 +85,7 @@
8585
<step>Follow the established pattern</step>
8686
</discovery_steps>
8787
<example>
88-
<![CDATA[
88+
8989
---
9090
description: A concise summary of the page content.
9191
keywords:
@@ -95,7 +95,7 @@ keywords:
9595
- search
9696
image: /img/social-share.jpg
9797
---
98-
]]>
98+
9999
</example>
100100
</rule>
101101
</frontmatter>
@@ -135,7 +135,7 @@ image: /img/social-share.jpg
135135
- File paths discovered
136136
</validation_requirement>
137137
<example>
138-
<![CDATA[
138+
139139
<!-- MANDATORY: Search with multiple variations -->
140140
<codebase_search>
141141
<query>authentication setup configuration</query>
@@ -153,7 +153,7 @@ image: /img/social-share.jpg
153153
<query>user access credentials permissions</query>
154154
<path>docs</path>
155155
</codebase_search>
156-
]]>
156+
157157
</example>
158158
</step>
159159

@@ -337,7 +337,7 @@ image: /img/social-share.jpg
337337
<scenario>When the impact on other documents is unclear</scenario>
338338
</scenarios>
339339
<example>
340-
<![CDATA[
340+
341341
<ask_followup_question>
342342
<question>I found existing content about this topic in three different locations. How would you like me to proceed?</question>
343343
<follow_up>
@@ -347,7 +347,39 @@ image: /img/social-share.jpg
347347
<suggest>Show me the existing locations first so I can decide</suggest>
348348
</follow_up>
349349
</ask_followup_question>
350-
]]>
350+
351351
</example>
352352
</ask_before_proceeding>
353+
<headings>
354+
<overview>Control sidebar ToC noise and standardize heading usage.</overview>
355+
<rules>
356+
<rule>H1 comes from the page title; do not include H1 in body content.</rule>
357+
<rule>Use H2 for primary sections (aim for 3–6 per page).</rule>
358+
<rule>Use H3 only for ToC-worthy anchors users may want to jump to (target 0–2; hard cap 4 per page).</rule>
359+
<rule>Prefer H4 for in-body sub-chunking so minor topics don’t pollute the ToC.</rule>
360+
<rule>Disallow H5/H6 entirely.</rule>
361+
<rule>No orphan headings: any H2/H3/H4 must be followed by at least two sentences or a list.</rule>
362+
<rule>Any H3 under ~75 words or a single short paragraph must be demoted to H4 under its H2.</rule>
363+
<rule>Convert chains of small H3s into one H2 with a numbered list; optional H4 callouts for sub-points.</rule>
364+
</rules>
365+
<toc_noise_standard>Total H3 ≤ 4 (typical ≤ 2). Demote non‑essential H3s to H4.</toc_noise_standard>
366+
<example name="demote_h3_to_h4">
367+
<before>
368+
## Working with Checkpoints
369+
### Viewing Differences
370+
### Restoring Checkpoints
371+
### Limitations and Considerations
372+
</before>
373+
<after>
374+
## Working with Checkpoints
375+
#### Viewing differences: when it helps
376+
#### Restore a checkpoint: trade-offs
377+
#### Limits and gotchas
378+
</after>
379+
</example>
380+
</headings>
381+
382+
<media_adjustments>
383+
<caption_requirement>Each screenshot must have a one‑line “why this view matters” caption in addition to outcome‑focused alt text. Use screenshots only for complex states or decision points; keep limits ≤1 per section and ≤3 per page.</caption_requirement>
384+
</media_adjustments>
353385
</docusaurus_conventions>

0 commit comments

Comments
 (0)