فهرست منبع

configure readthedocs

Cheskel Twersky 3 سال پیش
والد
کامیت
2e7e3b4278
2فایلهای تغییر یافته به همراه18 افزوده شده و 1 حذف شده
  1. 16 0
      .readthedocs.yaml
  2. 2 1
      docs/conf.py

+ 16 - 0
.readthedocs.yaml

@@ -0,0 +1,16 @@
+version: 2
+
+build:
+  os: ubuntu-20.04
+  tools:
+    python: "3.8"
+
+
+sphinx:
+   configuration: docs/conf.py
+
+
+python:
+   install:
+    - requirements: docs/requirements.txt
+    - requirements: requirements.txt

+ 2 - 1
docs/conf.py

@@ -2,9 +2,10 @@ import os
 import sys
 
 sys.path.insert(0, os.path.abspath("../"))
-from scrapetube import __version__ as release
+from scrapetube import __version__
 
 
+version = __version__
 project = "Scrapetube"
 copyright = "2021, Cheskel Twersky"
 author = "Cheskel Twersky"