Skip to content

Commit

Permalink
Documenting how to build docs (#35)
Browse files Browse the repository at this point in the history
* Alphabetized docs list, added sphinx_rtd_theme

* Added Contributing section to the README
  • Loading branch information
jamesbraza committed Nov 2, 2023
1 parent 0be0f1e commit 0672544
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
]
}
)

0 comments on commit 0672544

Please sign in to comment.