discourse/plugins/styleguide/lib/styleguide/engine.rb
Joffrey JAFFEUX 82031aaf16
DEV: makes discourse-styleguide core (styleguide) (#10847)
This plugin is only useful for developers, however, making it core allows us to centralize any component modification in one commit.

This integration also adds a new site_setting: `styleguide_admin_only` which allows to enable a styleguide on a live site while restricting visibility to admins only.

By default, styleguide is disabled.
2020-10-07 14:48:38 +02:00

11 lines
197 B
Ruby

# frozen_string_literal: true
module ::Styleguide
PLUGIN_NAME = "styleguide"
class Engine < ::Rails::Engine
engine_name Styleguide::PLUGIN_NAME
isolate_namespace Styleguide
end
end