Split directories.rst into per directory files