ovirt-engine supports a manual package for context sensitive help within the application. Manual package is not provided by base package and should be added externally.
Provided the manual package name is DOC_PACKAGE
the following steps should
be followed.
Prepare manual which are static html files.
Create manual configuration file at manual.properties within root of manual and create lookup index files to map between help tag and URI, see format below.
Package manual pages at DOC_PACKAGE
to be installed into filesystem, for
example:
/usr/share/doc/DOC_PACKAGE/manual
Tell engine where manual is, for example,
/etc/ovirt-engine/engine.conf.d/20-DOC_PACKAGE.conf
:
ENGINE_MANUAL="/usr/share/doc/DOC_PACKAGE/manual"
ovirt-engine will read the manual.properties
located at the root of
the manual content.
The format of this file is:
helptags.APPLICATION = [index1.json[, index2.json[, ....]]]
APPLICATION
is the name of the application that issues the request
(e.g. webadmin or userportal), the value is list of json files relative to
configuration file that map between help tag and URI. Their content is
merged left to right, last wins.
The format of index mapping file is a JSON object. Key is help tag and value is uri relative to the package, for example:
{
"create_new_vm": "newvm.html",
"delete_vm": "delvm.html",
}
The index file can be generated out of source code or compared to source
code using build/helptag.py
tool available within engine source repository.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。