Skip to content

Commit

Permalink
📚 Fix readthedocs configs.
Browse files Browse the repository at this point in the history
  • Loading branch information
T4rk1n committed Aug 9, 2021
1 parent d037aa1 commit fbf67a8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
version: 2

python:
setup_py_install: true
pip_install: true

build:
image: latest
apt_packages:
- node-typescript
version: "3.7"
install:
- requirements: requirements.txt
- requirements: requirements-dev.txt
- method: pip
path: .
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ def setup(app):

dazz = Dazzler('dazzler')

if os.getenv('READTHEDOCS'):
proc = subprocess.Popen(['npm', 'install', 'ramda', 'typescript'])
proc.communicate()

for args in (
('../src/core/js/components', '../dazzler/components/core'),
('../src/extra/js/components', '../dazzler/components/extra', '--ts'),
Expand Down

0 comments on commit fbf67a8

Please sign in to comment.