فهرست منبع

Merge pull request #7930 from blink1073/use-pip-rtd

Switch to pip for rtd
Steven Silvester 5 سال پیش
والد
کامیت
23a15e5cf8
3فایلهای تغییر یافته به همراه18 افزوده شده و 19 حذف شده
  1. 0 14
      docs/environment.yml
  2. 7 0
      docs/requirements.txt
  3. 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

+ 7 - 0
docs/requirements.txt

@@ -0,0 +1,7 @@
+sphinx>=1.8
+sphinx-copybutton
+sphinx_rtd_theme
+recommonmark
+pytest
+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/source/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: .