<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,</p>
    <p>You can use the template resource<sup>[1]</sup> section from
      publishing template descriptor to specify a directory that will be
      copied to the output folder. The <i>resources/fileset</i> element
      allow you to define one or more sets of additional resources to be
      copied to the output folder.</p>
    <p>
      <blockquote type="cite">
        <pre class="pre codeblock language-xml" style="box-sizing: border-box; font-family: monospace; font-size: 12.25px; margin: 0.5em 0px 0.5em 0.5em; overflow: auto; display: block; color: rgb(33, 37, 41); padding: 0.5em; background-color: rgb(238, 238, 238); max-height: 600px; border-radius: 7px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);"><publishing-template></strong>
    ...
    <strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);"><webhelp></strong>
      ...                
      <strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);"><resources></strong>            

          <strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);"><fileset></strong>
              <strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);"><include</strong> <span class="hl-attribute" style="box-sizing: border-box; color: rgb(255, 121, 53);">name</span>=<span class="hl-value" style="box-sizing: border-box; color: rgb(153, 51, 0);">"common/**/*"</span><strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);">/></strong>
              <strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);"><include</strong> <span class="hl-attribute" style="box-sizing: border-box; color: rgb(255, 121, 53);">name</span>=<span class="hl-value" style="box-sizing: border-box; color: rgb(153, 51, 0);">"JS/**/*"</span><strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);">/></strong>              
              <strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);"><exclude</strong> <span class="hl-attribute" style="box-sizing: border-box; color: rgb(255, 121, 53);">name</span>=<span class="hl-value" style="box-sizing: border-box; color: rgb(153, 51, 0);">"**/*.svn"</span><strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);">/></strong></pre>
      </blockquote>
      Please note that all relative paths specified in the descriptor
      file are relative to the template root folder.</p>
    <p>The resources specified in the template descriptor are copied to
      the following output folder: <i>[WebHelp_OUTPUT_DIR]/oxygen-webhelp/template</i>.
      If you want to refer them from HTML fragments you can use the <i>oxygen-webhelp-template-dir<sup>[2]</sup></i>
      macro:<br>
    </p>
    <p>
      <blockquote type="cite"><link rel="stylesheet" 
        href="${oxygen-webhelp-template-dir}/custom-resources/custom.css"
        /></blockquote>
      ----------------------------</p>
    <p>[1] - <a moz-do-not-send="true"
href="https://www.oxygenxml.com/doc/versions/21.1/ug-webhelp-responsive/topics/whr_publishing_template_contents.html#ariaid-title3">Template
        Resources</a><br>
    </p>
    <p>[2] - <a moz-do-not-send="true"
href="https://www.oxygenxml.com/doc/versions/21.1/ug-webhelp-responsive/topics/whr_publishing_template_contents.html#ariaid-title7">WebHelp
        Responsive Macros</a><br>
    </p>
    <pre class="moz-signature" cols="72">Regards,
Radu
--
Radu Pisoi
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a></pre>
    <div class="moz-cite-prefix">On 2/5/2020 4:26 PM, Kristen James
      Eberlein wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:75c5ee88-2778-8575-8981-ec95ee4d5a6d@eberleinconsulting.com">Hi,
      <br>
      <br>
      We need to include an entire directory of CSS and JavaScript files
      in the Web Help output: 317 files, too many to reference by
      individual <include> elements in the template descriptor
      file.
      <br>
      <br>
      How can we best do this?
      <br>
      <br>
      Previously, the team managed this by simply hacking the
      com.oxygenxml.webhelp.responsive/oxygen-webhelp/lib directory to
      add their directory; I very much do NOT want to do that.
      <br>
      <br>
      Obviously, we could handle this by a copy operation in our
      automated build, but then we would have differences between the
      results of the automated build and any local builds from within
      oXygen.
      <br>
      <br>
    </blockquote>
  </body>
</html>