Documentation config cleaned. Added automatic parsing of version.

Fixes #3.