Provide sphinx configuration and split the docs into smaller chapters.

Sphinx configuration should make it easier to contribute, since it's now easier to build the docs locally.

Smaller chapters are more managable.