ModDota / moddota.github.io

ModDota github pages project.
https://moddota.com/
23 stars 45 forks source link

Added Panorama API and events pages #127

Closed DoctorGester closed 1 year ago

DoctorGester commented 1 year ago

Reworked and unified page structure

Changes:

Events used to look like image

Now look like (because they are just functions now) image

So:

  1. Can't link to individual event fields
  2. Star icon is missing on the element itself (can be readded later)
  3. Link to .gameevents file is missing on events (it was broken anyways)
  4. Event definition displays all arguments on the single line always because this is how functions look

Other notable things:

  1. Things other than lua functions now show Google/Github search icons, but urls don't make sense
  2. In code, things other than game events can also be starred, but the text will be wrong
  3. There is apiTypes references in multiple places in code which actually refer to lua types only, those should be scopes to lua-related pages only