Skip to content

Commit 9aaac8f

Browse files
authored
Merge pull request #879 from jazzband/fix-readthedocs
Add a readthedocs configuration file
2 parents 1b241a3 + e2cffd8 commit 9aaac8f

File tree

5 files changed

+20
-4
lines changed

5 files changed

+20
-4
lines changed

.readthedocs.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
build:
3+
os: ubuntu-22.04
4+
tools:
5+
python: "3.9"
6+
7+
python:
8+
install:
9+
- method: pip
10+
path: .
11+
12+
sphinx:
13+
configuration: docs/conf.py

CONTRIBUTING.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ These steps need to happen by a release maintainer.
9090
To make a release, the following needs to happen:
9191

9292
- Make sure that ``setup.cfg`` is set up properly w/r/t Python and Django requirements
93+
- Make sure the documentation (``docs/index.rst``) also describes the right Python/Django versions
9394
- Bump the version number in ``taggit/__init__.py``
9495
- Update the changelog (making sure to add the (Unreleased) section to the top)
9596
- Get those changes onto the ``master`` branch

docs/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import taggit
2+
13
extensions = ["sphinx.ext.intersphinx"]
24

35
master_doc = "index"
@@ -6,9 +8,9 @@
68
copyright = "Alex Gaynor and individual contributors."
79

810
# The short X.Y version.
9-
version = "1.3"
11+
version = taggit.__version__
1012
# The full version, including alpha/beta/rc tags.
11-
release = "1.3.0"
13+
release = taggit.__version__
1214

1315
intersphinx_mapping = {
1416
"django": (

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Welcome to django-taggit's documentation!
44
``django-taggit`` is a reusable Django application designed to make adding
55
tagging to your project easy and fun.
66

7-
``django-taggit`` works with Django 2.2+ and Python 3.6+.
7+
``django-taggit`` works with Django 4.1+ and Python 3.8+.
88

99
.. toctree::
1010
:maxdepth: 2

taggit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
VERSION = (5, 0, 0)
1+
VERSION = (5, 0, 1)
22
__version__ = ".".join(str(i) for i in VERSION)

0 commit comments

Comments
 (0)