Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

CLAUDE.md: Add help center documentation conventions.

Alya Abbott052655eee662
diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md
index 9814a2aab5e..4bb20ac0908 100644
--- a/.claude/CLAUDE.md
+++ b/.claude/CLAUDE.md
@@ -453,6 +453,32 @@ tools/ # Development and testing scripts
docs/ # ReadTheDocs documentation source
```
+## Help Center Documentation
+
+Help center articles are MDX files in `starlight_help/src/content/docs/`.
+Images go in `starlight_help/src/images`. Include files go in the `include/`
+subdirectory with an `_` prefix (e.g., `_AdminOnly.mdx`). New articles need
+a sidebar entry in `starlight_help/astro.config.mjs`.
+
+See `docs/documentation/helpcenter.md` for the full writing guide. Key points:
+
+- **Bold** UI element names (e.g., **Settings** page, **Save changes** button).
+- Do not specify default values or list out options in instructions — the user
+ can see them in the UI.
+- Do not use "we" to refer to Zulip; use "you" for the reader.
+- Fewer words is better; many users have English as a second language.
+- Use `<kbd>Enter</kbd>` for keyboard keys (non-Mac; auto-translated for Mac).
+- Common components and their imports:
+ ```
+ import {Steps, TabItem, Tabs} from "@astrojs/starlight/components";
+ import FlattenedSteps from "../../components/FlattenedSteps.astro";
+ import NavigationSteps from "../../components/NavigationSteps.astro";
+ import ZulipTip from "../../components/ZulipTip.astro";
+ import ZulipNote from "../../components/ZulipNote.astro";
+ import AdminOnly from "../include/_AdminOnly.mdx";
+ import SaveChanges from "../include/_SaveChanges.mdx";
+ ```
+
## Zulip Chat Links
When you encounter a Zulip narrow URL (e.g., from `chat.zulip.org` in a