Standardize docstrings and add Sphinx configuration