Updated snippets for readthedocs