Explorar el Código

switch to pip for rtd

Steven Silvester hace 5 años
padre
commit
7d949e0617
Se han modificado 2 ficheros con 11 adiciones y 19 borrados
  1. 0 14
      docs/environment.yml
  2. 11 5
      readthedocs.yml

+ 0 - 14
docs/environment.yml

@@ -1,14 +0,0 @@
-name: jupyterlab_documentation
-channels:
-  - conda-forge
-dependencies:
-- python=3.5
-- sphinx>=1.8
-- sphinx-copybutton
-- sphinx_rtd_theme
-- recommonmark
-- pytest
-- pip
-- pip:
-  - pytest-check-links
-  - jsx-lexer

+ 11 - 5
readthedocs.yml

@@ -1,6 +1,12 @@
-conda:
-    file: docs/environment.yml
+version: 2
+name: jupyterlab
+sphinx:
+  configuration: docs/conf.py
 python:
-    version: 3
-    pip_install: false
-    setup_py_install: false
+  version: 3.7
+  install:
+    # install docs requirements
+    - requirements: docs/requirements.txt
+    # install jupyterlab itself
+    - method: pip
+      path: .