Skip to content

Commit

Permalink
Add extras for docs and install it on rdt
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Oct 12, 2023
1 parent 33c2849 commit 8bfb189
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
7 changes: 7 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ build:

sphinx:
configuration: docs/conf.py

python:
install:
- method: pip
path: .
extra_requirements:
- docs
6 changes: 0 additions & 6 deletions requirements/docs.txt

This file was deleted.

9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ def get_long_description(file_name):
install_requires=['requests', 'typing_extensions', 'dataclasses>="0.7";python_version<"3.7"'],
extras_require={
'with_progress_bars': ['tqdm'],
'with_parsing_utils': ['pandas']
'with_parsing_utils': ['pandas'],
'docs': [
'sphinx<6.0',
'pydata-sphinx-theme',
'sphinx-autodoc-typehints',
'sphinx-copybutton',
'myst-parser'
]
}
)

0 comments on commit 8bfb189

Please sign in to comment.