def BuildValuesDoc(values):
  for name, doc in values:
    assert len(doc.splitlines()) == 1
    yield "``%s``" % (name,)
    yield "  %s" % (doc,)
Builds documentation for a list of values
dataset/ETHPy150Open ganeti/ganeti/lib/build/sphinx_ext.py/BuildValuesDoc