mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-13 17:45:20 +08:00
Merge pull request #781 from stefanv/gh_stable_doc_versions
WIP: Provide stable doc version by naming docs directory 0.9.x, e.g.
This commit is contained in:
@@ -85,6 +85,10 @@ if __name__ == '__main__':
|
||||
for l in setup_lines:
|
||||
if l.startswith('VERSION'):
|
||||
tag = l.split("'")[1]
|
||||
|
||||
# Rename to, e.g., 0.9.x
|
||||
tag = '.'.join(tag.split('.')[:-1] + ['x'])
|
||||
|
||||
break
|
||||
|
||||
if "dev" in tag:
|
||||
|
||||
Reference in New Issue
Block a user