Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(plugins): refactor custom block plugins #2012

Merged

Conversation

bartsmykla
Copy link
Contributor

Remove separate tip.rb and warning.rb plugins, which were just copies of the same code with only difference in a block name. Now the code is the same and just registered for different tags.

Additionally it unblocks a danger block which has stronger emphasis than warning.

Did you sign your commit? Instructions: 👍

Have you read Contributing guidelines?: 👍

Remove separate `tip.rb` and `warning.rb` plugins, which were just
copies of the same code with only difference in a block name. Now the
code is the same and just registered for different tags.

Additionally it unblocks a `danger` block which has stronger emphasis
than `warning`.

Signed-off-by: Bart Smykla <bartek@smykla.com>
@bartsmykla bartsmykla requested a review from a team as a code owner October 23, 2024 12:55
@bartsmykla bartsmykla requested review from michaelbeaumont and removed request for a team October 23, 2024 12:55
Copy link

netlify bot commented Oct 23, 2024

Deploy Preview for kuma ready!

Name Link
🔨 Latest commit 9df7737
🔍 Latest deploy log https://app.netlify.com/sites/kuma/deploys/6718f22ed20e5e00085ea812
😎 Deploy Preview https://deploy-preview-2012--kuma.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 90 (🟢 up 9 from production)
Accessibility: 90 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@bartsmykla bartsmykla merged commit e99aab7 into kumahq:master Oct 23, 2024
16 checks passed
@bartsmykla bartsmykla deleted the refactor/jekyll-custom-block-plugins branch October 23, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants