From d4d5fb66797454b5cbd910e0361e608708cc2f0f Mon Sep 17 00:00:00 2001 From: Jesse Myrberg Date: Tue, 15 Nov 2022 02:20:10 +0200 Subject: [PATCH] Add package install to readthedocs (#41) --- .readthedocs.yml | 4 +++- docs/source/conf.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 1cd8cac..f137bda 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -19,5 +19,7 @@ sphinx: # Optionally declare the Python requirements required to build your docs python: - install: + install: - requirements: docs/requirements.txt + - method: pip + path: . diff --git a/docs/source/conf.py b/docs/source/conf.py index 2a4c032..abb73d0 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -27,7 +27,7 @@ # The full version, including alpha/beta/rc tags release = version('mknapsack') -version = '.'.join(release.split('.')[:2]) +version = '.'.join(release.split('.')[:3]) # -- General configuration ---------------------------------------------------