Entails
Browse documentation

Documentation style guide

Entails documentation should feel like a well-edited language manual. Lead with the construct, its semantics, or a command the reader can run. Use a checked example to show what a proof actually establishes.

Identity

Use Entails as the wordmark in the site header. Set it in the same serif as the page titles and use the same capitalization in prose. Use lowercase entails for the command, package, and filenames. The mirrored F sits in a graphite stamp with a short silver reflection on hover and keyboard focus. The animation respects reduced-motion preferences.

Use an actual tape diagram, derivation, or Proof Forest when a visual explains a result. Give it a caption that states what the reader can learn from it. Keep pages with no such need entirely typographic.

For a demo animation, use an actual run and checked outcome. Label native steps and give readers a text equivalent. Interactive examples start paused and expose their controls to the keyboard.

Typography and color

Role Treatment
Wordmark and headings Georgia with a serif fallback. Use regular-weight page titles and sentence case.
Prose and navigation System sans serif at 16px with a line height of 1.6. Keep reading lines near 70 characters.
Source, commands, and output System monospace. Preserve indentation and verbatim output. Let wide code blocks scroll.
Background and copy Off-white #FCFCFB and ink #24252A in light mode. Charcoal #191A1C and pale ink #EFF0F1 in dark mode.
Links and rules Underlined teal #245C53 in light mode and pale teal #A6C9C1 in dark mode. Use neutral rules to separate navigation, tables, and code.

Use color as a supplement to text. Keep proof status markers and their text descriptions visible where needed. Use browser focus outlines and keep a skip-to-content link on every page. Follow the system color scheme by default and remember an explicit Light or Dark selection.

Page layout

Use a full-width layout with the documentation navigation on the left and page sections on the right. Keep prose near the reading measure and let examples, tables, and interactive widgets use the wider content column. Use an expandable documentation menu on narrow screens.

Put shell commands in sh or bash fences so the terminal label and copy control appear. Use plain code fences for output. Mark inline commands with <code class="command"> where the surrounding text needs the distinction.

Keep the visual vocabulary to type, whitespace, rules, and code surfaces. Use those elements consistently across the tutorial, reference, and this guide.

Technical writing