autoclasstoc.utils.nodes_from_rst

autoclasstoc.utils.nodes_from_rst(state, rst)[source]

Create nodes from the given restructured text.

The rst argument can either be any of the following types:

  • string, with any number of lines

  • list of strings

  • StringList (the type used by docutils to represent lines of restructured text)

  • node