mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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.
This commit is contained in:
4
plugins/styleguide/config/locales/server.en.yml
Normal file
4
plugins/styleguide/config/locales/server.en.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
en:
|
||||
site_settings:
|
||||
styleguide_enabled: "Enable a `/styleguide` path to aid in styling of Discourse"
|
||||
styleguide_admin_only: "Limits visibility of the styleguide to admins"
|
||||
Reference in New Issue
Block a user