#10301·Leaflet

Links to Map (now called LeafletMap) broken in new documentation

Author: bartvanandelCreated Jul 15, 2026Updated Jul 15, 2026
Labelsdocsneeds triage

Checklist

  • I've searched through the current issues to make sure this change hasn't been suggested already.
  • I agree to follow the Code of Conduct that this project adheres to.

Which documents need updating?

No response

Motivation

Running npm run docs followed by npm run serve produces a reference.html file with broken links for all links under all 3 Map sections.

Old map ids started with map-, the new ones currently require leafletmap-.

Additionally, -factory should be -constructor apparently.

Suggested changes

I tried making a PR, but it looks like some manual steps may currently be needed, due to the work on 2.0.0 while 1.x is still active. Currently, building the docs removes the reference to the reference-2.0.0.html file from reference.html and basically puts the 2.0.0 content in there instead. I could try and work out what should be done, but the fix is quite trivial, just apply the 2 above rules to html.hbs and either reference.html and/or reference-2.0.0.html depending on what should be kept where.