Jump to content

Phaser docs on Github


spinnerbox
 Share

Recommended Posts

Hello. I recently visited this site and when I downloaded the Phaser Github repo, I found that it is not version 2.6.2 but it was version 3.

But ok, that  is not the worst problem. When I cloned the repo, the docs folder weren't downloaded. I also found that in that .eslintignore file, there was a line

docs/*

which of course means, ignore the docs folder.

Also another strange thing is, when I cloned the repo, in my local repository of Phaser, the file .eslintignore didn't contain the line

docs/*

which is what the hell.
Do I need to build Phaser or docs in order to have them. But I already run

npm install
npm run lint
npm run build

which only built Phaser. It didn't generate docs, what the hell.

 

Some tricks going on. How do i get the docs?

Also should I upgrade my Phaser 2.6 games to Phaser 3? Are they very different from each other?

 

Edited by spinnerbox
Link to comment
Share on other sites

Phaser 3 repo is at https://github.com/photonstorm/phaser

Phaser 3 Docs are at https://github.com/photonstorm/phaser3-docs

If you clone the repo, the docs are in the 'docs' folder.

eslintignore is nothing to do with docs. It's to do with what gets lint checked. However, there is no eslint file in the docs repo. There's also no 'npm build' command either,  so you were looking in a different repo.

Phaser 2 repo is at https://github.com/photonstorm/phaser-ce

Phaser 2 docs are in the docs folder of that repo.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...