-
-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documenting kernel32.dart and friends #64
Comments
The COM and Windows Runtimes are automatically generated, but the traditional C-based APIs are artisanally crafted with love from Seattle :) There's an intern project currently underway to experiment with automatic generation of C-based APIs, but there is a lot of complexity with Windows APIs (nested and union arrays, ANSI and UNICODE variants, dependencies across multiple header files and conditional imports), and I'm not taking it for granted that automatic generation will work here. Although I'd loved to be proven wrong. Each API is a direct analog of the underlying Win32 API, so I'm assuming that users will rely on the Windows documentation. It is a shame that the parameter names don't come through from the I have started categorizing the entries so that Interested in your thoughts here. |
What I'm hearing here is:
Is that a reasonable summary? =) |
You can generate dartdoc and host it on GitHub pages... The put a link to it in This allows for custom documentation pages of all sorts.. there are still many things we don't quite support from dartdoc. Generally, we don't allow packages to ship custom dartdoc options because of security concerns.. but categories could perhaps be supported. |
Thanks :) I've experimented with pushing dartdoc pages to gh-pages, which at least gives us category pages. I might take a look at updating https://github.com/a14n/dart-ghpages-generator to do this automatically. @domesticmouse, you might find this more consumable than the previous approach. You're welcome to add further comments to the APIs, but without some automation I'd worry that the juice isn't worth the squeeze. I suspect more examples (or a higher-level API) is better value for money. I have added some library-level documentation (see, for example: https://timsneath.github.io/win32/win32/win32-library.html) |
Having categories would be pretty neat, filed: dart-lang/pub-dev#3793 |
I'm going to close this issue out based on our conversation and areas of focus last night, @domesticmouse. Feel free to reopen it if you disagree. |
sgtm! |
Hey Tim,
To make it easier to explore win32, I'd like to add documentation to kernel32.dart (and the other APIs), but I'm guessing this file is autogenerated from somewhere. Can you give guidance on a viable path forward that I could start contributing to?
brett
The text was updated successfully, but these errors were encountered: