MI: Add kernel-doc documentation for MI API#399
Conversation
This is a starting controller ID, not a starting port ID, fix the name to suit. Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Codecov Report
@@ Coverage Diff @@
## master #399 +/- ##
======================================
Coverage 7.61% 7.61%
======================================
Files 29 29
Lines 4414 4414
Branches 828 828
======================================
Hits 336 336
Misses 3937 3937
Partials 141 141
Continue to review full report at Codecov.
|
This change adds proper kdoc-style documentation to the mi.h definitions, and includes mi.h in the docs builds. No functional change, just comments. Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
|
Just pushed an update, with a new |
Add a base `mi.rst.in` document, for some background information on the NVMe-MI interface, alongside the new mi API doc. Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
|
Just a bunch of amendments for typos; sorry for the noise, we should be good now! |
|
Wow! Thanks a lot for this.
The substs = configuration_data()
substs.set('NAME', meson.project_name())
substs.set('VERSION', meson.project_version())
substs.set('LICENSE', meson.project_license()[0])
foreach file : sphinx_sources
static_sources += configure_file(input: file + '.in',
output: file,
configuration: substs)
Is this PR independent or is it ontop of our PR #396 ? |
I've only added the
This is independent at the moment, so is based directly on the |
|
Ok, let's merge this first in this case. |
|
It looks like these changes didn't make to readthedocs site: https://libnvme.readthedocs.io/en/latest/index.html although it says the latest build was against this commit. Ah, this might be the reason |
|
Yep, that would seem to be the issue: I'll send an update. |
|
Maybe it is possible to trick readthedocs to run the |
This change adds kernel-doc documentation for the new definitions in
mi.h, and a file-level header for general API information.We also fix a misnamed argument found while writing the docs, added as a small prerequisite patch.
Let me know if I've missed any conventions from the core libnvme docs.