Skip to content

Commit

Permalink
Read the docs config file, setup.py doc requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
ksunden committed Apr 15, 2019
1 parent bd16cd9 commit 3610d0e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .readthedocs.yml
@@ -0,0 +1,13 @@
requirements_file: requirements.txt

build:
image: latest

python:
version: 3.6
pip_install: true
extra_requirements: [docs]

formats:
- epub
- pdf
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -31,7 +31,7 @@ def read(fname):
setup_requires=["pytest-runner"],
tests_require=["pytest", "pytest-cov"],
install_requires=["WrightTools>=3.0", "numpy", "scipy", "matplotlib", "tidy_headers"],
extras_require={"dev": ["black", "pre-commit"]},
extras_require={"dev": ["black", "pre-commit"], "docs": ["sphinx-gallery>0.3.0", "sphinx", "sphinx-rtd-theme"]},
version=version,
description="Tools for tuning optical parametric amplifiers and multidimensional spectrometers.",
long_description=read("README.rst"),
Expand Down

0 comments on commit 3610d0e

Please sign in to comment.