* TODO for the meta_topic_id * TODO for the root plugin site setting key, so all settings don't end up in the Plugins category * TODO for the translation of the plugin category name, which maps to the root plugin site setting key
22 lines
417 B
Ruby
22 lines
417 B
Ruby
# frozen_string_literal: true
|
|
|
|
# name: discourse-plugin-name
|
|
# about: TODO
|
|
# meta_topic_id: TODO
|
|
# version: 0.0.1
|
|
# authors: Discourse
|
|
# url: TODO
|
|
# required_version: 2.7.0
|
|
|
|
enabled_site_setting :plugin_name_enabled
|
|
|
|
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
|