Add sphinx doc.
Partial support for reductions, ragged arrays.