Skip to content

Commit

Permalink
fixed readthedocs versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpeckham committed Feb 1, 2024
1 parent 12c8831 commit b40b278
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ Changelog

Versions follow `Semantic Versioning <http://www.semver.org>`_

`0.1.0`_ - 2024-02-01
---------------------

Changed
~~~~~~~
* docs/source/conf.py now uses Hatch version from vin/__about__.py

`0.0.2`_ - 2024-02-01
---------------------

Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

sys.path.insert(0, os.path.abspath("../.."))

import vin # noqa
from vin import __about__ # noqa


copyright = f"{datetime.now().year}, David Peckham"
Expand All @@ -14,7 +14,7 @@
source_suffix = [".rst", ".md"]

# The full version, including alpha/beta/rc tags
release = vin.__version__
release = __about__.__version__
version = release.rsplit(".", 1)[0]

# Add any Sphinx extension module names here, as strings. They can be
Expand Down
2 changes: 1 addition & 1 deletion src/vin/__about__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2024-present David Peckham <[email protected]>
#
# SPDX-License-Identifier: MIT
__version__ = "0.0.2"
__version__ = "0.1.0"

0 comments on commit b40b278

Please sign in to comment.