Add an index to the commands doc and group by subject matter.