SW-78. Refined doc generation

Moved .rst files to subdirectories; cleaner this way.