guides/Wrtiting scannable titles and headings.md
In Expo documentation, document titles and section headings provide structure and reference points to help developers search and scan any document. Part of our job is to help them reach the point they need to solve their problem.
Following suggestions and tips from this guide will help you to write document titles and section headings that are easy to search and make a document scannable.
Let's start with an example where a heading is unaligned to its document's content:
Based on the search term above, the correct page appears as the last item. The search term contains all keywords that are common with the way we talk about running an EAS Build on a local computer.
Using keywords in the heading improves the search ranking of the document when the same search term is used:
The improvement above also tells the developer about the primary purpose of the document on first glance.
When writing a document title or a section heading, do the following:
When using multiple content types in the same document, such as a section or two describing a procedure followed by a section explaining the concept, use a verb-based title for that document.
[!TIP] When multiple headings in the same document are wordy or not parallel, they make the document hard to scan and defeat the purpose of representing the information clearly.
An example of the action-based verb used in a tutorial is shown below:
You can use noun phrases in the section headings and these phrases can start with -ing verb.
An example of a conceptual guide that has procedural instructions as sub-sections. It also uses a parallel structure between H2s (using ing) and H3s (action-based verbs):
Headings are the outline of a document. Breaking text logically into smaller sections, makes the document scannable, parts of that document searchable, and provides logical structure.
When writing headings, use H2s to communicate the most important information or subject. If a section heading contains two or more distinct but related topics, use sub-headings (H3s, H4s) to break the large section.