5.6. sphinx.domains.std

The standard domain.

copyright:Copyright 2007-2016 by the Sphinx team, see AUTHORS.
license:BSD, see LICENSE for details.

5.6.1. Functions

clean_astext(node) Like node.astext(), but ignore images.
fully_normalize_name(name) Return a case- and whitespace-normalized name.
get_figtype(node) Return figtype for given node.
iteritems(d, **kw) Return an iterator over the (key, value) pairs of a dictionary.
l_(string) A lazy version of gettext.
make_refnode(builder, fromdocname, ...[, title]) Shortcut to create a reference node.
make_term_from_paragraph_node(termnodes, ids)
make_termnodes_from_paragraph_node(env, node)
token_xrefs(text)

5.6.2. Classes

Cmdoption(name, arguments, options, content, ...) Description of a command-line option (..
Directive(name, arguments, options, content, ...) Base class for reStructuredText directives.
Domain(env) A Domain is meant to be a group of “object” description directives for objects of a similar nature, and corresponding roles to create references to them.
EnvVar(name, arguments, options, content, ...)
EnvVarXRefRole([fix_parens, lowercase, ...]) Cross-referencing role for environment variables (adds an index entry).
GenericObject(name, arguments, options, ...) A generic x-ref directive registered with Sphinx.add_object_type().
Glossary(name, arguments, options, content, ...) Directive to create a glossary with cross-reference targets for :term: roles.
ObjType(lname, *roles, **attrs) An ObjType is the description for a type of object that a domain can document.
ObjectDescription(name, arguments, options, ...) Directive to describe a class, function or similar object.
OptionXRefRole([fix_parens, lowercase, ...])
ProductionList(name, arguments, options, ...) Directive to list grammar productions.
Program(name, arguments, options, content, ...) Directive to name the program for which options are documented.
StandardDomain(env) Domain for all objects that don’t fit into another domain or are added via the application interface.
Target(name, arguments, options, content, ...) Generic target for user-defined cross-reference types.
ViewList([initlist, source, items, parent, ...]) List with extended functionality: slices of ViewList objects are child lists, linked to their parents.
XRefRole([fix_parens, lowercase, nodeclass, ...]) A generic cross-referencing role.