Correctly determine dev version for doc building.
Get rid of that inherited 's' once and for all.