Skip to content

Commit 2e7e3b4

Browse files
committed
configure readthedocs
1 parent 4fd850a commit 2e7e3b4

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.readthedocs.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: 2
2+
3+
build:
4+
os: ubuntu-20.04
5+
tools:
6+
python: "3.8"
7+
8+
9+
sphinx:
10+
configuration: docs/conf.py
11+
12+
13+
python:
14+
install:
15+
- requirements: docs/requirements.txt
16+
- requirements: requirements.txt

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
import sys
33

44
sys.path.insert(0, os.path.abspath("../"))
5-
from scrapetube import __version__ as release
5+
from scrapetube import __version__
66

77

8+
version = __version__
89
project = "Scrapetube"
910
copyright = "2021, Cheskel Twersky"
1011
author = "Cheskel Twersky"

0 commit comments

Comments
 (0)