readthedocs / ext-theme

Read the Docs drop in replacement site templates
2 stars 2 forks source link

Use build.version_name first, in case build.version is None #272

Closed agjohnson closed 8 months ago

agjohnson commented 8 months ago

When versions are removed, the builds remain with a build.version = None, along with some additional attributes on the Build instance (for example build.version_name).

This bug affected any display that listed projects/versions that listed the most recent build.