---
title: "reStructuredText (reST)"
manual: "TYPO3 Explained"
version: "main"
permalink: "https://docs.typo3.org/permalink/t3coreapi:cgl-rest@main"
source: "CodingGuidelines/CglRest/Index.rst"
rendered: "2026-09-17T16:37:44+00:00"
---

# reStructuredText (reST) {#restructuredtext-rest}

Documentation is typically stored in [reST](https://en.wikipedia.org/wiki/ReStructuredText)
files.

## Directory and file names {#directory-and-file-names}

-   Files have the ending `.rst`.
-   Language files are located in the directory `<extension>/Documentation`.

## Format {#format}

-   Use spaces, not TABs.
-   Indent with 4 spaces per indent level.

## More information {#more-information}

-   See [Setup IDE / editor](https://docs.typo3.org/permalink/t3coreapi:cgl-ide@main) in this manual for information about setting up your Editor / IDE
    to adhere to the coding guidelines.
