Skip to content

Commit

Permalink
add .readthedocs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cpnota committed Jan 14, 2020
1 parent f12a4a8 commit ae73bd7
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py

# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml

# Optionally build your docs in additional formats such as PDF and ePub
formats: all

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- docs
- pytorch
- method: setuptools
path: package
14 changes: 13 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
packages=find_packages(),
url="https://github.com/cpnota/autonomous-learning-library.git",
author="Chris Nota",
author_email='cnota@cs.umass.edu',
author_email="cnota@cs.umass.edu",
install_requires=[
"gym[atari,box2d]", # atari environments
"numpy", # math library
Expand All @@ -22,4 +22,16 @@
# "torch", # deep learning library
# "torchvision", # install alongside pytorch
],
extras_require={
"pytorch": [
"pytorch",
"tensorboard"
],
"docs": [
"sphinx",
"sphinx-autobuild",
"sphinx-rtd-theme",
"sphinx-automodapi"
]
},
)

0 comments on commit ae73bd7

Please sign in to comment.