1
0
mirror of https://github.com/QData/TextAttack.git synced 2021-10-13 00:05:06 +03:00

double reqs.txt in rtd.yml

This commit is contained in:
Jack Morris
2020-05-20 20:06:31 -04:00
parent 68da0dcf09
commit 5ead2def92
2 changed files with 2 additions and 3 deletions

View File

@@ -13,8 +13,7 @@ sphinx:
python: python:
version: 3.7 version: 3.7
install: install:
- requirements: docs/requirements.txt
- requirements: requirements.txt - requirements: requirements.txt
- method: pip - method: pip
path: . path: .
extra_requirements:
- docs

View File

@@ -48,7 +48,7 @@ templates_path = []
exclude_patterns = ['_build', '**.ipynb_checkpoints'] exclude_patterns = ['_build', '**.ipynb_checkpoints']
# Mock language_check to stop issues with Sphinx not loading it # Mock language_check to stop issues with Sphinx not loading it
autodoc_mock_imports = [] autodoc_mock_imports = open('../requirements.txt').readlines()
# -- Options for HTML output ------------------------------------------------- # -- Options for HTML output -------------------------------------------------