Download

Make API Reference Great Again!

**TL;DR: Proposition - change API Reference to Wiki style, with option to edit by all users.
**

Unreal Engine API reference is… not bad, comparing to some automatically generated (PCL automatically generated documentation, for example), but it’s far from being beginners friendly. We all know Disclaimer at the beginning of reference:

The API reference is an early work in progress, and some information may be missing or out of date.

Some modules are poorly described (like infamous Procedural Mesh Component), some of them are non-existent (like some functions from Editor.h)! I know that developing engine itself is a giant task - therefore, my proposition is to leave Documentation to community, and transfer it’s content to editable WikiMedia system, like other sections (vide Tutorials).

Let’s look for Unity Scripting API reference:

Very good for eye, examples in text. Long list of classes. Every link in text leads to another example. I know, it needs a lot of work to build such good text structure. I am proposing actually less work for moderators and Epic’s hired specialists. Web design is less important when content is satisfying.

Ah, last thing - if I made a mistake and re-posted actual proposition from month ago, please tell here what was moderators response.

This is a neat idea as I am still learning the internals… But, wouldn’t we need some sort of approval system before posting? I mean, what if the content is poorly described or even incorrect? What would be really cool is to have a committee that would oversee the documentation process. Maybe Epic can give that team free passes to GDC or something cool?

teak

What i have always wondered, is why do we not have source control for documentation ? Community members could submit pull requests, staff could review and publish. I’m sure if there were a style guide many people would contribute, to the official docs

Would be great!

Well, you don’t really need documentation any more for that since it’s outdated now and this should be used instead :cool:

https://forums.unrealengine.com/showthread.php?113432-Runtime-Mesh-Component-Rendering-high-performance-runtime-generated-meshes!

We know the API reference needs some love. More example code is one of the top things on the list of improvements there. We probably won’t be moving it to a wiki and opening it up to the community in that way, but we do want to provide a way for the community to make contributions. The most likely method of doing so would be to allow comments on the API reference pages, similar to how the PHP documentation works. The current API reference is auto-generated from the source code comments, so theoretically the community can help update it by making pull requests through GitHub. We hope to provide a much better way of making contributions than pull requests, though.

The source for the feature documentation is in GitHub and we do receive pull requests for it from time to time. As I mentioned above, the API reference is generated from the comments in the source code, which is also in GitHub, so you can submit pull requests for updates to that as well. We review all of those.

What Mr. Sweeny should do is build a wall around the cubicle section where the documentation people sit, while they are at work, so that they cannot leave. Thus, they will become more proactive in bashing those keys!

(sorry, I had to!)