Skip to content

Presto Documentation Style Guide

Steve Burnett edited this page Nov 17, 2026 · 2 revisions

Style and Wording

In general, Presto documentation follows the GitLab Documentation Style Guide.

The GitLab Documentation Style Guide Recommended Word List is the page in that guide that has been most helpful.

If a topic is absent from the GitLab style guide, the following two resources might be helpful:

If a topic is in both the GitLab and either or both of the Google or Microsoft style guides, and the guides disagree, follow the GitLab style guide.

What Should Be Documented

Designing Your Code in CONTRIBUTING.md states:

"All new language features, new functions, session and config properties, and major features have documentation added"

If a PR adds a session property, the PR should include documentation for that session property.

Also see Documentation in the Review and Commit Guidelines.

Finding Errors and Warnings in Doc Builds

A build of the documentation fails if any warnings or errors are generated during the doc build.

Local doc builds are helpful to find these warnings and errors, as well as formatting mistakes, before opening a PR. For information on running local doc builds, see Building the Documentation in the Presto docs README.

One common error when adding a new page to the Presto documentation is that new pages are not automatically added to the index page for that topic. For example, if a page documenting a new connector is added in the https://github.com/prestodb/presto/tree/master/presto-docs/src/main/sphinx/connector directory, that page must be added to the Connectors index page at https://github.com/prestodb/presto/blob/master/presto-docs/src/main/sphinx/connector.rst.

Frequent comments

Clone this wiki locally

⌂ 换网址