-
-
Notifications
You must be signed in to change notification settings - Fork 743
Open
Description
Expected Behavior
functions should belong to their respective class...?
Actual Behavior
A lot of methods are now part of global.md
Steps to reproduce the bug
- Clone maplibre/maplibre-gl-js
- run
npm i && npm run generate-docs
- Check the docs/API/functions folder for "off.md" and others - they shouldn't be there.
Environment
- Typedoc version: 0.28.8
- TypeScript version: 5.8.3
- Node.js version: 22.13
- OS: macOS
I saw this issue as part of our dependabot package update.
The current docs can be found here, which are using version 0.28.7:
https://maplibre.org/maplibre-gl-js/docs/API/functions/addProtocol/
When building locally with latest version (0.28.8) I see a difference in what is being written in global.md file, which I believe is not correct, as most of the methods there are not really global and belong to a class (evented.ts
in this case of off
and on
).
Let me know if there's any more information I can provide.
Here's the relevant PR that raised my attention to this change:
Metadata
Metadata
Assignees
Labels
No labels