I completely disagree.ssilk wrote: What counts in the end is running code. Not text.
If you rely on code as documentation, it makes it even more difficult to learn about. Sure, it's more "accurate", as you say, but there's a much higher learning curve to it as well. The point of documentation is to make it easier to understand what the code does and, in the case of an API, how it can be used. Making a developer go the extra step and learn the intricacies of the code adds a huge barrier in getting them to use it.
In this case, though, you're probably right. The only reliable source of information about the modding API is probably the source code, which is bad. You may be fine looking at the source code, but that alienates a lot of developers that could be making Factorio even better with mods.
There is a reason that salesmen exist. Every industry has them, and they are an important part of attracting people to your product. It's a lot more difficult to sell something without having a salesman to help people understand why they need it. You just need good salesmen.