Skip to content

Commit 956f237

Browse files
committed
update rtd config
[no ci]
1 parent 49d3b54 commit 956f237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docsrc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
if os.environ.get('READTHEDOCS', False):
3939
import cmdstanpy
4040

41-
version = 'v' + cmdstanpy.__version__
41+
version = os.environ.get('READTHEDOCS_VERSION', 'v' + cmdstanpy.__version__)
4242

4343
cmdstanpy.set_cmdstan_path(
4444
'/home/docs/checkouts/readthedocs.org/user_builds/cmdstanpy/'

0 commit comments

Comments
 (0)