diff --git a/README.md b/README.md index 4b26c0b..a87b8db 100644 --- a/README.md +++ b/README.md @@ -308,6 +308,16 @@ If you wish to enable (optional, `pandas`-based) parsing utilities use: pip install easy-entrez[with_parsing_utils] ``` +### Contributing + +To build the documentation locally: + +```bash +pip install -e .[docs] +sphinx-build docs docs/_build +open docs/_build/index.html +``` + ### Alternatives You might want to try: diff --git a/setup.py b/setup.py index 6bf1f08..e34e3a4 100644 --- a/setup.py +++ b/setup.py @@ -49,11 +49,12 @@ def get_long_description(file_name): 'with_progress_bars': ['tqdm'], 'with_parsing_utils': ['pandas'], 'docs': [ - 'sphinx<6.0', + 'myst-parser', 'pydata-sphinx-theme', + 'sphinx<6.0', 'sphinx-autodoc-typehints', 'sphinx-copybutton', - 'myst-parser' + 'sphinx_rtd_theme', ] } )