I don't use any documentation.
In fact I don't need to.
Let's say I want to edit Yanfly's message core to have more escape codes.
So I search for either escape or "\" and then based on the names of the functions and reading of its contents I determine which is correct.
Or when I want to search the core scripts (rpg_*.js) to make it that I don't get a game over after my actors die.
So I go to rpg_scenes.js, because that is where scenes are handled, and search for "gameover". Again, I read through the results until I find the ones I'm searching for. And what are the ones I'm searching for?
Commands that call for something like processGameOver or makeGameOver. I may not know the exact name, but I don't need to, because I can read the code and by reading it, see what it does and determine if it is the one I'm searching for or not.
I wish the JS side of the engine had decent documentation as most non proprietary APIs do.
As Poryg said, it is generally just searching the JS files. If you aren't sure where something is, on Windows you can go to the project directory and open the js folder then in the windows explorer file path at the top, type cmd then hit enter. A cmd window will pop up and you can type (without the dashes) --findstr /S /I /N "gameover" *.js-- where what is in " " can be what you are searching. This example would search all js files in that directory and subdirectories for gameover listing the line number in the file if found and species that the search is not case sensitive.
You should also make sure any changes you make to the engine are in new plugins you made and not overwrite the rpg_*.js files or plugins you download off the internet. This makes it so updates don't conflict and break your changes as well as keeps things tidy.
You can also use console.trace(); in any JavaScript method and have the call stack printed to the console if you aren't sure how a certain method is being called.
I don't think it needs documentation to be honest, since it's actually pretty easy to understand once you get the knack of it.
rpg_core handles the core things about the program itself
rpg_managers handles managers, like SceneManager and FileManager
rpg_scenes handles the scenes like Scene_Map, Scene_Title, etc.
rpg_objects handles how particular objects, like events etc. are made.
rpg_sprites handles the graphics of the game and how individual objects look
rpg_windows handle... Well... Individual windows.
Thanks for the replies everyone !! I just have one more question. I just saw the 1.5.0 update with the new plug in manager and I want to know, what does parameters do and how beneficial are they ?