Skip to content

latestVersion set to null does not remove "Latest published version" ? #5332

Description

@tfrancart

Description of problem

Documentation says that setting latestVersion to null should remove the "Latest published version" completely. But it seems not.

URL to affected spec or repo:

Example page at https://shapes.performing-arts.ch/authorities/

What happened (e.g., it crashed)?:

ReSpec config:

<script id="initialUserConfig" type="application/json">{
  "preProcess": [
    null,
    null
  ],
  "specStatus": "base",
  "latestVersion": null,
  "maxTocLevel": 2,
  "license": "w3c-software-doc",
  "editors": [
    {
      "name": " "
    }
  ],
  "otherLinks": [
    {
      "key": "Version: ",
      "data": [
        {
          "value": "1.1.0",
          "href": ""
        }
      ]
    }
  ],
  "url": "https://xls2rdf.sparna.fr/rest/convert?url=https://docs.google.com/spreadsheets/d/1OBpZgVwO_0hLNbX0bXVFCetQBQjPeNFR/export?format=xlsx&noPostProcessings=true",
  "includeDiagram": true,
  "language": "en",
  "publishISODate": "2026-06-08T00:00:00.000Z",
  "generatedSubtitle": "08 June 2026"
}</script>

Displayed:

Image

Expected behavior (e.g., it shouldn't crash):

I would have expected the "Latest published version" line to be removed completely instead of showing "none"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions