diff --git a/doc/conf.py b/doc/conf.py index ee7b4e7d..1833aef9 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -13,6 +13,7 @@ import sys, os, re import os.path +import importlib # print "working path is %s" % os.getcwd() # sys.path.append("../cadquery") @@ -66,11 +67,9 @@ copyright = "Parametric Products Intellectual Holdings LLC, All Rights Reserved" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. -# -# The short X.Y version. -version = "2.4" -# The full version, including alpha/beta/rc tags. -release = "2.4.0" + +version = importlib.metadata.version("cadquery") +release = version # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/environment.yml b/environment.yml index 000fcc77..c5dd099c 100644 --- a/environment.yml +++ b/environment.yml @@ -7,7 +7,7 @@ dependencies: - ocp=7.7.2 - vtk=*=qt* - pyparsing>=2.1.9 - - sphinx=5.0.1 + - sphinx=8.1.3 - sphinx_rtd_theme - mypy - codecov