Rework documentation for readthedocs support