ThirdPartyPostRendererResource
class ThirdPartyPostRendererResource(context: Context, librariesLayout: InstallLayoutDirectory?) : PostRendererResource
A PostRendererResource that bundles required third-party libraries (scripts, styles, fonts) into the output, enabling fully offline HTML rendering.
Library inclusion is driven by ThirdPartyLibrary for global scripts and styles.
Since subdocuments share the root's lib/ directory (they reference it via a relative path), the set of bundled libraries is the union of those required by the root context and by every subdocument context in the same document complex.
Parameters
context
the root rendering context, used (together with its subdocument contexts) to evaluate library inclusion conditions
librariesLayout
the install layout node for the lib/ directory containing third-party library files, typically InstallLayout.Html.libraries. If null, no libraries are bundled.