命令行选项与 man 页面
As one can generate man pages for a docbook refentry as well, it sounds like a good idea to use it for that purpose. This way the interface is part of the reference and one gets the man-page for free.
- 7.1.1. 为工具书写文档
- 7.1.2. 添加额外的配置检查
- 7.1.3. 添加额外的makefile规则
7.1.1. 为工具书写文档
Create one refentry file per tool. Following our example we would call it meep/docs/reference/meeper/meep.xml. For the xml tags that should be used and can look at generated file in the xml subdirectory as well as examples e.g. in glib.