OpenMined / PyDP

The Python Differential Privacy Library. Built on top of: https://github.com/google/differential-privacy
Apache License 2.0
507 stars 138 forks source link

set version and release in docs/conf.py from pydp import #236

Closed jandremarais closed 4 years ago

jandremarais commented 4 years ago

Description

Alternative fix for #234 Instead of adding another file specific configuration to bumpversion config, this ties the docs version to the python-dp version by using pydp.__version__ in docs/conf.py

Affected Dependencies

NA

How has this been tested?

No explicit tests were ran but after building and serving the docs with cd docs && make html && make serve, the correct version is displayed.

Checklist