---
name: "edoc_layout"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:25.2.3+dfsg-1+deb12u4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/edoc_layout"
---

# edoc\_layout(3erl)

The standard HTML layout module for EDoc.

## NAME

edoc\_layout - The standard HTML layout module for EDoc.

## DESCRIPTION

The standard HTML layout module for EDoc. See the edoc module for details on usage.

## EXPORTS

**module(Element, Options) -\> term()** \

The layout function.

Options to the standard layout:

- ***{index\_columns, integer()}*:**

  Specifies the number of column pairs used for the function index tables. The default value is 1.

- ***{pretty\_printer, atom()}*:**

  Specifies how types and specifications are pretty printed. If the value *erl\_pp* is specified the Erlang pretty printer (the module *erl\_pp*) will be used. The default is to do no pretty printing which implies that lines can be very long.

- ***{stylesheet, string()}*:**

  Specifies the URI used for referencing the stylesheet. The default value is *"stylesheet.css"*. If an empty string is specified, no stylesheet reference will be generated.

- ***{sort\_functions, boolean()}*:**

  If *true*, the detailed function descriptions are listed by name, otherwise they are listed in the order of occurrence in the source file. The default value is *true*.

- ***{xml\_export, Module::atom()}*:**

  Specifies an xmerl callback module to be used for exporting the documentation. See xmerl:export\_simple/3 for details.

*See also:* edoc:layout/2.

**overview(E, Options) -\> term()** \

**type(E) -\> term()** \

## SEE ALSO

edoc

## AUTHORS

Richard Carlsson *\<carlsson.richard@gmail.com\>*
