discourse/plugins/styleguide
Jarek Radosz 22a6ae7e32
DEV: Remove `renderTemplate` from the styleguide (#21660)
Adds plugin API:

```js
import fidget from "../components/styleguide/molecules/fidget";

api.addStyleguideSection({
  component: fidget,
  id: "fidget",
  category: "molecules",
  priority: 0,
});
```

Removes notes. You can always add `<p class="styleguide-note">` to section components to annotate them.
2023-05-25 11:22:36 +02:00
..
app/controllers/styleguide DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
assets DEV: Remove `renderTemplate` from the styleguide (#21660) 2023-05-25 11:22:36 +02:00
config Update translations (#21702) 2023-05-23 21:23:44 +02:00
lib/styleguide
public/images
spec/integration DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
README.md
plugin.rb DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
screenshot.png

README.md

styleguide

Adds a URL of /styleguide to discourse that renders widgets in various configurations to aid in styling.

Screenshot