diff --git a/scripts/generate_site.py b/scripts/generate_site.py index c78aa385..57577098 100644 --- a/scripts/generate_site.py +++ b/scripts/generate_site.py @@ -8966,7 +8966,9 @@ def emulator_pages( ref = dd.get("ref", "") dest = dd.get("destination", "") entry = (data_registry or {}).get(ref, {}) - line = f"- `{ref}` > `{dest}`" + # An empty destination wrote "``", which opened a code span + # running to the next one and hid a link from the MDX pass. + line = f"- `{ref}` > `{dest}`" if dest else f"- `{ref}`" if entry.get("description"): line += f": {entry['description']}" lines.append(line)