You can find me on #kspmodders or the KSP forums as The_Duck.
This project is used to build the web documentation using Doxygen.
To get documentation in tooltips and the object browser in Visual Studio or MonoDevelop:
- Download Assembly-CSharp.xml and UnityEngine.xml
- Place Assembly-CSharp.xml and UnityEngine.xml in the same place as the Assembly-CSharp.dll and UnityEngine.dll that you link to when building your KSP plugin (the KSP_Data/Managed folder).
- Restart your IDE.
Now when you use the object browser to examine the contents of Assembly-CSharp.dll you will find helpful comments for some classes. These comments will also show up through IntelliSense when writing code.
This documentation is only as good as the effort that the community puts into it! You can help.
To add new info on a class that already has some documentation:
- Fork this project
- Add your comments in the appropriate .cs file.
- Send me a pull request.
To add info on a new class:
- Highlight the class in the source code of your KSP plugin.
- Press F12. Visual Studio will create a fake source file for the class.
- Copy Visual Studio's uneditable source file into a new file you can edit.
- Add your comments to the fake source file.
- Fork this project.
- Add your new fake source file to your version of the project.
- Send me a pull request.