Simplify a bit
[LibreOffice.git] / README.help.md
blob542cabf61dd88b89e0d7b81812a7d1da7437e81e
1 # LibreOffice help build
3 LibreOffice can build three kinds of help output from helpcontent2:
5 * XML (local, bundled with LibreOffice < 6.0)
6 * HTML (local, bundled with LibreOffice >= 6.0)
7 * HTML (online)
9 Both local help variants can be included in help-packs, which might be bundled
10 with the installer or provided as separate packages. They are supposed to be
11 installed by a user to provide localized help. Both HTML-based help types are
12 displayed in a browser, while the XML help uses an internal viewer component.
14 The XML help is the only one supported in extensions.
16 ## configure options
18 --with-help: selects the help type to build
19 --with-omindex: prepares the online help for a Xapian Omega based search index
20 --disable-xmlhelp: removes support for the XML help
21 --with-helppack-integration: includes the help-packs in the installer
23 Also see `configure --help`.
25 ## XML help, bundled
27 This type was bundled per-default until LibreOffice 6.0.
29 This help output is generated by using two tools: HelpIndexer and HelpLinker.
30 It uses an internal viewer component. Extensions still use this help type to
31 ship their help. This output is originally based on JavaDoc.
33 The main support for this help type is in the following directories:
35 * helpcompiler: tooling and support library
36 * xmlhelp: the viewer component
37 * desktop/source/deployment/registry/help: extensions / help-pack support
39 Most code is "marked" by HAVE_FEATURE_XMLHELP precompiler blocks or conditioned
40 by the XMLHELP flag in the $BUILD_TYPE variable.
42 Interestingly the HelpIndexer and HelpLinker are used by gbuild to build the
43 help inside bundled extensions, but both are not part of the LibreOffice SDK.
45 ## HTML help, bundled
47 This type is bundled per-default since LibreOffice 6.0 and displayed in a
48 browser.
50 ## HTML help, online
52 This help is the external one, currently provided by help.libreoffice.org. It
53 differs from the bundled HTML help in three main aspects:
55 * has a language chooser widget
56 * provides an additional Xapian Omega, CGI- / server-based search index
57 * includes some additional multimedia assets
59 It is opened in a browser.