Skip to content

Commit 3db3cfc

Browse files
authored
Merge pull request #83968 from Expensify/helpsite-update-templates
Update TEMPLATE.md to match help site governance
2 parents 7fab04f + 43d9035 commit 3db3cfc

2 files changed

Lines changed: 204 additions & 34 deletions

File tree

docs/HELP_AUTHORING_GUIDELINES.md

Lines changed: 88 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,93 @@ Do not combine:
107107
- Admin + Member flows unless inseparable
108108

109109
---
110+
111+
# 7. Cross-Linking Standards
110112

111-
# 7. Screenshot Placeholder Format (Non-Rendered)
113+
Cross-linking must reinforce the primary workflow, not expand scope or dilute retrieval precision.
114+
115+
Links should clarify dependencies or provide deeper context — not function as navigation hubs.
116+
117+
---
118+
119+
## When to Cross-Link
120+
121+
Only link in these cases:
122+
123+
- Prerequisite workflows required to complete the primary task
124+
- Deep-dive explanations that expand on a concept mentioned briefly
125+
- Explicitly excluded workflows listed in `internalScope`
126+
127+
Avoid linking to tangential, loosely related, or adjacent features.
128+
129+
If a workflow is important enough to link repeatedly, it likely requires its own dedicated article.
130+
131+
---
132+
133+
## Anchor Text Rules
134+
135+
Anchor text must describe the task or feature clearly.
136+
137+
Avoid vague anchors such as:
138+
- Click here
139+
- Read more
140+
- This article
141+
142+
Use descriptive formats such as:
143+
144+
- Learn how to [complete task]
145+
- Learn how to enable [Feature Name]
146+
- Learn more about [Feature Name]
147+
148+
Anchor text should reflect real search phrasing.
149+
150+
---
151+
152+
## Link Formatting
153+
154+
- Use relative links only.
155+
- Do not use full URLs.
156+
- Do not place links inside numbered step instructions.
157+
- Do not interrupt procedural flow with inline links.
158+
159+
Place links:
160+
- After explanatory sentences
161+
- In conditional dependency statements
162+
- In explanatory paragraphs (not within step actions)
163+
164+
---
165+
166+
## Link Volume
167+
168+
Limit cross-links to preserve topical clarity.
169+
170+
Excessive linking:
171+
- Dilutes the primary workflow
172+
- Introduces unrelated entities
173+
- Reduces retrieval precision
174+
175+
If multiple related workflows must be referenced, consider consolidating them into a dedicated supporting article instead of embedding many links.
176+
177+
---
178+
179+
## Related Articles Section (Optional)
180+
181+
A "Related articles" section may be used only when:
182+
183+
- Multiple prerequisite or deep-dive workflows are necessary
184+
- Inline linking would clutter the main content
185+
186+
If used:
187+
188+
- Place it at the end of the article
189+
- Use a `## Related articles` heading
190+
- Limit to essential supporting workflows only
191+
192+
Do not use this section as a directory or feature hub.
193+
194+
---
195+
196+
# 8. Screenshot Placeholder Format (Non-Rendered)
112197

113198
Screenshot suggestions must use HTML comments so they are invisible in the rendered HelpDot article.
114199

@@ -136,7 +221,7 @@ Prioritize screenshots for:
136221

137222
---
138223

139-
# 8. Pre-Publish Validation Checklist
224+
# 9. Pre-Publish Validation Checklist
140225

141226
Before outputting an article, confirm:
142227
- Only # and ## used
@@ -146,5 +231,6 @@ Before outputting an article, confirm:
146231
- Navigation included (if applicable)
147232
- Single workflow only
148233
- Includes at least one "How to" heading
234+
- Cross-links follow Cross-Linking Standards
149235

150236
If any condition fails → regenerate.

docs/TEMPLATE.md

Lines changed: 116 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,129 @@
11
---
2-
title: The title of the post, page, or document
3-
description: A short description of the page's content. This is used for SEO purposes
2+
title: Clear task-based title using the feature name
3+
description: A short description of the page's content. This is used for SEO purposes.
4+
keywords: [how to primary task, feature name, related task phrases]
5+
internalScope: Audience is [who this doc is for]. Covers [single clearly defined workflow], does not cover [closely related workflows intentionally excluded].
46
---
5-
<!-- The lines above are required by Jekyll to process the .md file -->
6-
7-
# Overview
87
<!--
9-
This short blurb provides all the context the user might need to know what the feature is and why they'd use it. If there are particular best practices embedded in the design, we'd explain why they're best practices here.
8+
This template follows the HelpDot governance standards.
9+
Full guidelines: docs/HELP_AUTHORING_GUIDELINES.md
1010
11-
What advantages does this feature provide in general?
12-
What is unique about this feature in terms of our specific implementation of it in Expensify?
13-
-->
11+
CORE AUTHORING RULES
1412
15-
# How-to
16-
<!--
17-
This section covers the most essential information a user needs to operate a feature i.e. what to click on. We’ll go over any action the user might take when configuring or using the feature, starting from configuration and moving to usage.
13+
- One primary workflow per article
14+
- Use only # and ## headings (never ###)
15+
- Headings must be full, searchable task-based phrases
16+
- Do not use generic headings (e.g., Overview, Details, Setup, Options, Notes)
17+
- Include the exact Feature Name in instructional headings
18+
- Include web and mobile navigation instructions when applicable
19+
- Use exact UI terminology and correct button casing
20+
- Do not use Liquid includes or collapsible FAQ sections
21+
- If multiple distinct workflows are required, split into separate articles
1822
19-
What options does a user have when configuring this feature?
20-
What options does a user have then interacting with this feature?
21-
What elements of this feature are pay-walled vs. free?
22-
-->
23+
ADDITIONAL HEADING GUIDANCE
2324
24-
# Deep Dive
25-
<!--
26-
This section will be the final nice-to-know section which covers additional Best Practices that apply to niche use-cases, alternate setup configurations, and in-depth details for parts of a feature that do not apply to all users. These will likely only be required for very complex features with high configurability.
25+
Section headings beyond the primary workflow may vary depending on the feature.
2726
28-
- Is the feature multi-layered (contains features within features) and needs further explanation in this section? Example: Managing Domains.
29-
- Does the feature have several different variables that can cause different outcomes for different customers? Example: Billing.
30-
- Does the feature have optional enhancements that can be used in different ways depending on the use case? Example: Category-specific rules.
27+
Examples of acceptable headings:
28+
- What the [Exact Feature Name] shows
29+
- How [Exact Feature Name nuance] works
30+
- How to manage [specific task] in [Exact Feature Name]
31+
- How [Exact Feature Name] affects reimbursements
32+
- How [Exact Feature Name] works with [integration]
33+
- How to troubleshoot [Exact Feature Name] errors
34+
35+
All headings must remain specific, searchable, and include the Feature Name when relevant.
3136
-->
3237

38+
# [This must match the article title exactly]
39+
40+
Briefly explain:
41+
- What this feature does
42+
- Why someone would use it
43+
- The outcome they can expect
44+
- Any important limitations
45+
46+
Keep this concise and benefit-focused.
47+
48+
---
49+
50+
## Who can use [exact feature name]
51+
52+
Clearly state:
53+
54+
- Required role (Workspace Admin, Member, Domain Admin, etc.)
55+
- Plan limitations (Free, Collect, Control, Track, Submit, Annual Subscription, pay-per-use)
56+
- Any permission or Workspace setting prerequisites
57+
58+
If this feature depends on another setting:
59+
If [the required setting] is not enabled, [learn how to enable <Dependency Feature>](/relative-link).
60+
If [the required setting] is not enabled, [learn how to enable [Dependency Feature]](/relative-link).
61+
State explicitly if:
62+
This feature is not available on mobile.
63+
64+
---
65+
66+
## How to [complete primary task using exact feature name]
3367

34-
{% include faq-begin.md %}
3568
<!--
36-
This section covers the useful but not as vital information, it should capture commonly queried elements which do not organically form part of the About or How-to sections.
37-
38-
- What's idiosyncratic or potentially confusing about this feature?
39-
- Is there anything unique about how this feature relates to billing/activity?
40-
- If this feature is released, are there any common confusions that can't be solved by improvements to the product itself?
41-
- Similarly, if this feature hasn't been released, can you predict and preempt any potential confusion?
42-
- Is there any general troubleshooting for this feature?
43-
- Note: troubleshooting should generally go in the FAQ, but if there is extensive troubleshooting, such as with integrations, that will be housed in a separate page, stored with and linked from the main page for that feature.
69+
NAVIGATION STRUCTURE GUIDANCE
70+
71+
If web and mobile navigation differ:
72+
- Provide separate labeled sections:
73+
Web:
74+
Mobile:
75+
- Do not merge instructions into one sentence.
76+
77+
If web and mobile navigation are structurally the same:
78+
- Use a unified instruction.
79+
- Example:
80+
Click the navigation tabs (on the left on web, on the bottom on mobile).
81+
- Do not duplicate identical steps unnecessarily.
82+
83+
Follow the Navigation Conventions in docs/HELP_AUTHORING_GUIDELINES.md.
4484
-->
45-
{% include faq-end.md %}
85+
86+
1. Go to Settings > Workspaces > Workspace Name > [Section Name].
87+
2. Click **[Exact button name in Sentence case]**.
88+
3. Configure the required settings.
89+
4. Click **Save** or final action button (for example, **Submit**, **Confirm**).
90+
91+
**ADD A SCREENSHOT HERE.**
92+
Suggestion: Show the full page with the relevant section highlighted.
93+
94+
95+
## What happens after you [complete primary task using exact feature name]
96+
97+
Explain:
98+
- System behavior
99+
- Notifications triggered
100+
- Approval or reimbursement impact
101+
- Sync behavior (if applicable)
102+
- Billing impact (if applicable)
103+
104+
Be explicit. Avoid vague phrasing.
105+
106+
---
107+
108+
# FAQ
109+
110+
## Can members [Common Task Variation Using Feature Name]?
111+
112+
Clear direct answer.
113+
114+
## Why can’t I see [Feature Name]?
115+
116+
Explain possible causes:
117+
- You’re not a Workspace Admin or Workspace Owner
118+
- The feature is not included in your plan
119+
- The Workspace setting is disabled
120+
- Domain-level restrictions apply
121+
122+
## Does [Feature Name] work with [Integration or Related Feature]?
123+
124+
Provide a precise compatibility explanation.
125+
126+
## How do I troubleshoot issues with [Feature Name]?
127+
128+
Include only lightweight troubleshooting.
129+
If complex troubleshooting is required, link to a separate dedicated article.

0 commit comments

Comments
 (0)