phaserjs / phaser

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
https://phaser.io
MIT License
36.94k stars 7.08k forks source link

Incorrect line number in documentation #524

Closed prtksxna closed 10 years ago

prtksxna commented 10 years ago

I am not sure what is causing this, for example - http://docs.phaser.io/Phaser.Physics.Arcade.Body.html - the line numbers for methods and properties are wrong.

If you could point out the problem I'll try fixing it!

photonstorm commented 10 years ago

Strange, I've never noticed it before but you're right! The docs are all generated via jsdoc, so line numbers are part of that process. Honestly no idea how this could be fixed.

prtksxna commented 10 years ago

Me neither, and if its an upstream issue we should either mark it such or close it. Tried jsDuck?

photonstorm commented 10 years ago

No not tried jsDuck - feel free to give it a go :)

photonstorm commented 10 years ago

I see some issues about this: https://github.com/terryweiss/docstrap/issues/5

I will try the latest version. If that doesn't fix it I'll disable line numbers.