Run `sphinx-apidoc -o . ../../ecs' in this directory.

This will generate `modules.rst' and `ecs.rst'.

Then include `modules.rst' in your `index.rst' file.