We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6376daf commit 77a29baCopy full SHA for 77a29ba
docs/conf.py
@@ -71,6 +71,10 @@
71
release = dask_image._version.__version__
72
# The short X.Y.Z version.
73
version = '.'.join(release.split('.')[:3])
74
+if "dev" in release:
75
+ display_version = "(development version)"
76
+else:
77
+ display_version = version
78
79
# The language for content autogenerated by Sphinx. Refer to documentation
80
# for a list of supported languages.
@@ -130,7 +134,7 @@
130
134
131
135
# The name for this set of Sphinx documents. If None, it defaults to
132
136
# "<project> v<release> documentation".
133
-html_title = f"{project} {version} documentation"
137
+html_title = f"{project} {display_version} documentation"
138
139
# A shorter title for the navigation bar. Default is the same as
140
# html_title.
0 commit comments