Skip to main content

view_interactive_enabled

Function view_interactive_enabled 

Source
pub fn view_interactive_enabled(base: &BaseFile, view: &View) -> bool
Expand description

Whether the interactive island should be enabled for view within base.

The actual gating (whether to emit interactive HTML at all) is performed by the host in M3; this helper encodes the precedence so both sides agree: base-level docgenInteractive: false disables everything; a per-view docgenInteractive.enabled: false disables that view; otherwise enabled.