specification/publish: Generate main index and correct versions

Compute the current current or legacy schema by selecting the
most recent by date.
Generate a base index.html, including its content.