Skip to content

Commit

Permalink
Add package install to readthedocs (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmyrberg committed Nov 15, 2022
1 parent ff92d28 commit d4d5fb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: .
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ---------------------------------------------------
Expand Down

0 comments on commit d4d5fb6

Please sign in to comment.