2021-04-03 00:53:34 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
|
|
# name: discourse-plugin-name
|
|
|
|
|
# about: TODO
|
2023-11-09 11:23:55 +10:00
|
|
|
# meta_topic_id: TODO
|
2021-04-03 00:53:34 +02:00
|
|
|
# version: 0.0.1
|
|
|
|
|
# authors: Discourse
|
|
|
|
|
# url: TODO
|
2021-06-22 11:00:35 +02:00
|
|
|
# required_version: 2.7.0
|
2021-04-03 00:53:34 +02:00
|
|
|
|
|
|
|
|
enabled_site_setting :plugin_name_enabled
|
|
|
|
|
|
2023-02-24 13:00:01 +00:00
|
|
|
module ::MyPluginModule
|
|
|
|
|
PLUGIN_NAME = "discourse-plugin-name"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
require_relative "lib/my_plugin_module/engine"
|
|
|
|
|
|
|
|
|
|
after_initialize do
|
|
|
|
|
# Code which should run after Rails has finished booting
|
|
|
|
|
end
|