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 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
noandyesvalues are valid and the default value isno). - editlink.remote.ditamap.url
- Use this parameter in conjunction with
editlink.web.author.urlto add an Edit link next to the topic title in the WebHelp output. When a user clicks the link, the topic is opened in Oxygen XML Web Author where they can make changes that can be saved to a file server. The value should be set as the custom URL of the main DITA map. For example, a GitHub custom URL might look like this: https://getFileContent/oxyengxml/userguide/master/UserGuide.ditamap. - editlink.web.author.url
- This parameter needs to be used in conjunction
with
editlink.remote.ditamap.urlto add an Edit link next to the topic title in the WebHelp output. When a user clicks the link, the topic is opened in Oxygen XML Web Author where they can make changes that can be saved to a file server. The value should be set as the URL of the Web Author installation. For example: https://www.oxygenxml.com/webapp-demo-aws/app/oxygen.html. - 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:
trueorfalse(default). - force.unique
- When set to
true(default value), the transformation will be forced to create unique output files for each instance of a resource when a map contains multiple references to a single topic. - 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
trueif 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.enable.pagination
- Specifies whether or not search results
will be displayed on multiple pages. Allowed values are
yesorno. - webhelp.search.page.numberOfItems
- Specifies the number of search results items displayed on each page. This parameter is only used when the webhelp.search.enable.pagination parameter is enabled.
- webhelp.search.ranking
- If this parameter is set to
falsethen 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
locelements in the generated sitemap.xml file. The value of alocelement is computed as the relative file path from thehrefattribute of atopicrefelement from the DITA map, appended to this base URL value. Thelocelement is mandatory in sitemap.xml. If you leave this parameter set to its default empty value, then the sitemap.xml file is not generated. - webhelp.sitemap.change.frequency
- The value of the
changefreqelement in the generated sitemap.xml file. Thechangefreqelement is optional in sitemap.xml. If you leave this parameter set to its default empty value, then thechangefreqelement is not added in sitemap.xml. Allowed values: <empty string> (default),always,hourly,daily,weekly,monthly,yearly,never. - webhelp.sitemap.priority
- The value of the
priorityelement in the generated sitemap.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. Thepriorityelement is optional in sitemap.xml. If you leave this parameter set to its default empty value, then thepriorityelement is not added in sitemap.xml.
Parameters Specific to WebHelp Responsive Output
- webhelp.default.collection.type.sequence
- Specifies if the sequence value
will be used by default when the
collection-typeattribute is not specified. This option is helpful if you want to have Next and Previous navigational buttons generated for all HTML pages. Allowed values are no (default) and yes. - webhelp.enable.search.autocomplete
- Specifies if the Autocomplete
feature is enabled in the WebHelp search text field. The default value is
yes. - 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 inserts a given XHTML
fragment in the
<head>element. 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.side.toc.links
- Specifies which links will be included in the side
table of contents. The possible values are:
- chapter (default) - The side TOC will include links for the current topic, its children, its siblings, and its direct ancestor (including the direct ancestor's siblings), and the parent chapter.
- topic - The side TOC will only include links for the current topic and its direct children.
- all - The side TOC will include all links.
- webhelp.side.toc.tooltip.position
- By default, if a topic contains a
shortdescelement, its content is displayed in a tooltip when the user hovers over its link in the side table of contents. This parameter controls whether or not this tooltip is displayed and its position relative to the link. The possible values are:- left (default)
- right
- top
- bottom
- hidden - The tooltip will not be displayed.
- 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.