Have the checked in license rst files show the version they were generated from, and the html show the current version.
Change the licenses.py to generate the rst files in that manner, with an orphan directive.