Class: DocsKit::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/docs_kit/engine.rb

Overview

An asset/glue engine (no isolate_namespace, no routes/models). It makes the gem's Phlex components autoloadable in the host app and exposes the controller helper, so a docs site only adds the gem + its DocsKit.configure block.

Constant Summary collapse

JAVASCRIPT_PATH =
root.join("app/javascript")