WebHelp Responsive Output
To publish a DITA map as a WebHelp Responsive system, follow these steps:
- Select the Configure Transformation Scenario(s) action from the DITA Maps Manager toolbar.
- Select the DITA Map WebHelp Responsive scenario from the DITA Map section.
- If you want to configure the transformation, click the Edit
button.
Step Result: This opens an Edit scenario configuration dialog box that allows you to configure various options in the following tabs:
- Templates Tab - This tab contains a set of predefined skins that you can use for the layout of your WebHelp system output.
- Parameters Tab - This tab includes numerous parameters that can be set to customize your WebHelp system output. See the Parameters section below for details about the most commonly used parameters for WebHelp Responsive transformations.
- Filters Tab - This tab allows you to filter certain content elements from the generated output.
- Advanced Tab - This tab allows you to specify some advanced options for the transformation scenario.
- Output Tab - This tab allows you to configure options that are related to the location where the output is generated.
- Click Apply associated to process the transformation.
When the DITA Map WebHelp Responsive transformation is complete, the output is automatically opened in your default browser.
Parameters for Customizing WebHelp Responsive Output
To customize a transformation scenario, you can edit various parameters, including the following most commonly used ones:
- args.default.language
- This parameter is used if the language is not
detected in the DITA map. The default value is
en-us
. - clean.output
- Deletes all files from the output folder before the
transformation is performed (only
no
andyes
values are valid and the default value isno
). - fix.external.refs.com.oxygenxml (Only supported when the DITA OT transformation process is started from Oxygen XML Developer)
- The DITA Open Toolkit usually has
problems processing references that point to locations outside of the directory of
the
processed DITA map. This parameter is used to specify whether or not the application
should try to fix such references in a temporary files folder before the DITA Open
Toolkit is invoked on the fixed references. The fix has no impact on your edited DITA
content. Allowed values:
true
orfalse
(default). - use.stemming
- Controls whether or not you want to include stemming search
algorithms into the published output (default setting is
false
). - webhelp.custom.resources
- The file path to a directory that contains resources files. All files from this directory will be copied to the root of the WebHelp output.
- webhelp.favicon
- The file path that points to an image to be used as a favicon in the WebHelp output.
- webhelp.reload.stylesheet
- Set this parameter to
true
if you have out of memory problems when generating WebHelp. It will increase processing time but decrease the memory footprint. The default value isfalse
. - webhelp.search.custom.excludes.file
- The path of the file that contains name patterns for HTML files that should not be indexed by the WebHelp search engine. Each exclude pattern must be on a new line. The patterns are considered to be relative to the output directory, and they accept wildcards such as '*' (matches zero or more characters) or '?' (matches one character). For more information about the patterns, see https://ant.apache.org/manual/dirtasks.html#patterns.
- webhelp.search.japanese.dictionary
- The file path of the dictionary that will be used by the Kuromoji morphological engine that Oxygen XML Developer uses for indexing Japanese content in the WebHelp pages.
- webhelp.search.ranking
- If this parameter is set to
false
then the 5-star rating mechanism is no longer included in the search results that are displayed on the Search tab (default setting istrue
). - webhelp.show.changes.and.comments
- When set to
yes
, user comments, replies to comments, and tracked changes are published in the WebHelp output. The default value isno
. - webhelp.sitemap.base.url
- Base URL for all the
loc
elements in the generatedsitemap.xml
file. The value of aloc
element is computed as the relative file path from thehref
attribute of atopicref
element from the DITA map, appended to this base URL value. Theloc
element is mandatory insitemap.xml
. If you leave this parameter set to its default empty value, then thesitemap.xml
file is not generated. - webhelp.sitemap.change.frequency
- The value of the
changefreq
element in the generatedsitemap.xml
file. Thechangefreq
element is optional insitemap.xml
. If you leave this parameter set to its default empty value, then thechangefreq
element is not added insitemap.xml
. Allowed values: <empty string> (default),always
,hourly
,daily
,weekly
,monthly
,yearly
,never
. - webhelp.sitemap.priority
- The value of the
priority
element in the generatedsitemap.xml
file. It can be set to any fractional number between 0.0 (least important priority) and 1.0 (most important priority). For example, 0.3, 0.5, or 0.8. Thepriority
element is optional insitemap.xml
. If you leave this parameter set to its default empty value, then thepriority
element is not added insitemap.xml
.
- webhelp.fragment.after.body
- In the generated output it displays a given XHTML fragment after the page body. The value of the parameter can be either an XHTML fragment or a path to a file that contains a well-formed XHTML fragment.
- webhelp.fragment.after.logo_and_title
- In the generated output it displays a given XHTML fragment after the logo and title. The value of the parameter can be either an XHTML fragment or a path to a file that contains a well-formed XHTML fragment.
- webhelp.fragment.after.main.page.search
- In the generated output it displays a given XHTML fragment after the search field. The value of the parameter can be either an XHTML fragment or a path to a file that contains a well-formed XHTML fragment.
- webhelp.fragment.after.toc_or_tiles
- In the generated output it displays a given XHTML fragment after the table of contents or tiles in the main page. The value of the parameter can be either an XHTML fragment or a path to a file that contains a well-formed XHTML fragment.
- webhelp.fragment.after.top_menu
- In the generated output it displays a given XHTML fragment after the top menu. The value of the parameter can be either an XHTML fragment or a path to a file that contains a well-formed XHTML fragment.
- webhelp.fragment.before.body
- In the generated output it displays a given XHTML fragment before the page body. The value of the parameter can be either an XHTML fragment or a path to a file that contains a well-formed XHTML fragment.
- webhelp.fragment.before.logo_and_title
- In the generated output it displays a given XHTML fragment before the logo and title. The value of the parameter can be either an XHTML fragment or a path to a file that contains a well-formed XHTML fragment.
- webhelp.fragment.before.main.page.search
- In the generated output it displays a given XHTML fragment before the search field. The value of the parameter can be either an XHTML fragment or a path to a file that contains a well-formed XHTML fragment.
- webhelp.fragment.before.toc_or_tiles
- In the generated output it displays a given XHTML fragment before the table of contents or tiles in the main page. The value of the parameter can be either an XHTML fragment or a path to a file that contains a well-formed XHTML fragment.
- webhelp.fragment.before.top_menu
- In the generated output it displays a given XHTML fragment before the top menu. The value of the parameter can be either an XHTML fragment or a path to a file that contains a well-formed XHTML fragment.
- webhelp.fragment.footer
- In the generated output it displays a given XHTML fragment as the page footer. The value of the parameter can be either an XHTML fragment or a path to a file that contains a well-formed XHTML fragment.
- webhelp.fragment.head
- In the generated output it displays a given XHTML fragment as a page header. The value of the parameter can be either an XHTML fragment or a path to a file that contains a well-formed XHTML fragment.
- webhelp.fragment.welcome
- In the generated output it displays a given XHTML fragment as a welcome message (or title). The value of the parameter can be either an XHTML fragment or a path to a file that contains a well-formed XHTML fragment.
- webhelp.merge.nested.topics.related.links
- Specifies if the related links
from nested topics will be merged with the links in the parent topic. Thus the links
will be moved from the topic content to the related links component and all of the
links from the same group (for example, Related Tasks, Related
References, Related Information) are merged into a single group. The
default value is
yes
. - webhelp.show.breadcrumb
- Specifies if the breadcrumb component will be
presented in the output. The default value is
yes
. - webhelp.show.child.links
- Specifies if child links will be generated in
the output for all topics that have subtopics. The default value is
no
. - webhelp.show.indexterms.link
- Specifies if an icon that links to the index
will be presented in the output. The default value is
yes
. - webhelp.show.main.page.tiles
- Specifies if the tiles component will be
presented in the main page of the output. For a tree style layout, this
parameter should be set to
no
. - webhelp.show.main.page.toc
- Specifies if the table of contents will be
presented in the main page of the output. The default value is
yes
. - webhelp.show.navigation.links
- Specifies if navigation links will be
presented in the output. The default value is
yes
. - webhelp.show.print.link
- Specifies if a print link or icon will be
presented within each topic in the output. The default value is
yes
. - webhelp.show.related.links
- Specifies if the related links component will
be presented in the WebHelp Responsive output. The default value is
yes
. The webhelp.merge.nested.topics.related.links parameter can used in conjunction with this one to merge the related links from nested topics into the links in the parent topic. - webhelp.show.side.toc
- Specifies if a side table of contents will be
presented on the right side of each topic in the output. The default value is
yes
. - webhelp.show.top.menu
- Specifies if a menu will be presented at the topic
of the main page in the output. The default value is
yes
. - webhelp.top.menu.depth
- Specifies the maximum depth level of the topics
that will be included in the top menu. The default value is
2
.