Sphinx docs implementation

See comment below.