Edit online

You can copy additional resources (such as JavaScript, CSS, or other resources) to the output directory either by using an Oxygen Publishing Template or the webhelp.custom.resources parameter.

Copying Additional Resources to the Output Directory using a Publishing Template

  1. If you haven't already created a Publishing Template, see Working with Publishing Templates.
  2. Add a new <fileset> element in the resources section of the template descriptor file.
    <publishing-template>
        ...
        <webhelp>
            ...                
            <resources>            
                <fileset>
                    <include name="custom-resources/**/*"/>
                    <exclude name="**/*.git"/>
                </fileset>
  3. Open the DITA Map WebHelp Responsive transformation scenario.
  4. Click the Choose Custom Publishing Template link and select your template.
  5. Click OK to save the changes to the transformation scenario.
  6. Run the transformation scenario.

Results: All files from the custom resources directory will be copied to the WebHelp Output Directory/oxygen-webhelp/template folder.

Copying Additional Resources to the Output Directory using a Transformation Parameter

  1. Place all your resources in the same directory.
  2. Edit the DITA Map WebHelp Responsive transformation scenario and open the Parameters tab.
  3. Edit the value of the webhelp.custom.resources parameter and set it to the absolute path of the directory in step 1.
  4. Click OK to save the changes to the transformation scenario.
  5. Run the transformation scenario.

Results: All files from the new directory will be copied to the root of the WebHelp output directory.