Skip to content

Commit 215dd29

Browse files
committed
Fix RTD version by importing from package
- Update docs/conf.py to dynamically import version from diff_diff.__version__ instead of hardcoding it (was showing 0.6.0 instead of 1.0.2) - Sync pyproject.toml version to 1.0.2 to match __init__.py
1 parent b237909 commit 215dd29

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

docs/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@
99
# Add the project root to the path for autodoc
1010
sys.path.insert(0, os.path.abspath(".."))
1111

12+
import diff_diff
13+
1214
# -- Project information -----------------------------------------------------
1315
project = "diff-diff"
1416
copyright = "2026, diff-diff contributors"
1517
author = "diff-diff contributors"
16-
release = "0.6.0"
18+
release = diff_diff.__version__
1719

1820
# -- General configuration ---------------------------------------------------
1921
extensions = [

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "diff-diff"
7-
version = "1.0.0"
7+
version = "1.0.2"
88
description = "A library for Difference-in-Differences causal inference analysis"
99
readme = "README.md"
1010
license = "MIT"

0 commit comments

Comments
 (0)