PhaserEditor2D

Please help building Phaser docs JSON files!

Recommended Posts

Hello,

 

I need to build the Phaser docs, specially the JSON files that are under the "resources/docgen/output" folder.

 

I see these files are not matching with the current HTML doc (the JSON files last modification are from 5 months ago, but the HTML files are from a month ago), an example of mismatch is the Loader.audiosprite() method.

 

I tried to build  it through "grunt docs" but I get this error:

 

C:\...\bower_components\phaser>grunt docsRunning "clean:docs" (clean) taskCleaning docs/pixi-jsdoc.js...OKRunning "pixidoc" taskMutilating type: (Array(Filter)=>Array<Filter>)Mutilating type: (Array(DisplayObject)=>Array<DisplayObject>)Mutilating type: (Array(Filter)=>Array<Filter>)Mutilating type: (Array(Shader)=>Array<Shader>)Skipping loose comment: Graphics.js:904 (first)No items for GraphicsDataNo items forSkipping loose comment: CanvasBuffer.js:1 (first)Skipping loose comment: CanvasRenderer.js:156 (first)Mutilating type: (Array(Number)=>Array<Number>)Skipping loose comment: WebGLSpriteBatch.js:1 (first)Mutilating type: ({Number}=>Number)Mutilating type: ({Boolean}=>Boolean)Skipping loose comment: Texture.js:8 (first)Skipping loose comment: EventTarget.js:6 (first)Skipping loose comment: Intro.js:1 (first)Running "jsdoc:html" (jsdoc) task>> Unable to locate jsdocWarning: Wrong installation/environnement Use --force to continue.

As you can see it fails with the "jsdocs:html" task but did a test and it also fails with the "jsdoc:json" task.

 

I need to update these JSON files to fix tools like PhaserChains and others I am already developing.

 

Thanks

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.