Skip to main content

DEFAULT_DEPTH

Constant DEFAULT_DEPTH 

Source
pub const DEFAULT_DEPTH: i64 = 3;
Expand description

Levels returned when ?depth= is omitted. Deep enough for a primary nav with dropdowns, shallow enough that the default response stays small on a big site.