diff --git a/docs/source/conf.py b/docs/source/conf.py index 529c16141..807563ba7 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -35,8 +35,8 @@ author = "Meta" # The full version, including alpha/beta/rc tags -release = torchrec.__version__ - +# First 3 as format is 0.x.x.* +release = ".".join(torchrec.__version__.split(".")[:3]) # -- General configuration ---------------------------------------------------