- 论坛徽章:
- 5
|
有的
- Documentation targets:
- Linux kernel internal documentation in different formats:
- htmldocs - HTML
- pdfdocs - PDF
- psdocs - Postscript
- xmldocs - XML DocBook
- mandocs - man pages
- installmandocs - install man pages generated by mandocs
- cleandocs - clean all generated DocBook files
复制代码 以上是make 的target
比如
- /**
- * input_event() - report new input event
- * @dev: device that generated the event
- * @type: type of the event
- * @code: event code
- * @value: value of the event
- *
- * This function should be used by drivers implementing various input
- * devices to report input events. See also input_inject_event().
- *
- * NOTE: input_event() may be safely used right after input device was
- * allocated with input_allocate_device(), even before it is registered
- * with input_register_device(), but the event will not reach any of the
- * input handlers. Such early invocation of input_event() may be used
- * to 'seed' initial state of a switch or initial position of absolute
- * axis, etc.
- */
- void input_event(struct input_dev *dev,
- unsigned int type, unsigned int code, int value)
复制代码 这个是Doxygen,按照上面的方法做doc,会生成对应的格式的
文档API文档自然就有了
|
|