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

docs: DRY things up a bit by swizzling #2149

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

krancour
Copy link
Member

In the course of documenting #2139 and fixing https://github.com/akuityio/docs.akuity.io/issues/491 / https://github.com/akuityio/docs.akuity.io/pull/493 I learned how to swizzle Docusaurus 3 correctly.

For reference:

npm run swizzle @docusaurus/theme-classic MDXComponents -- --eject

This change makes Tabs, TabItem, and Hlt available globally, even in files that use the .md extension and not .mdx.

There's really no point to this other than that it will save effort on future doc additions.

Copy link

netlify bot commented Jun 11, 2024

Deploy Preview for docs-kargo-akuity-io ready!

Name Link
🔨 Latest commit 2c329a2
🔍 Latest deploy log https://app.netlify.com/sites/docs-kargo-akuity-io/deploys/6668ddbf0aa68d00084d1f00
😎 Deploy Preview https://deploy-preview-2149.kargo.akuity.io
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copy link

codecov bot commented Jun 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 46.59%. Comparing base (3bcbf42) to head (2c329a2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2149   +/-   ##
=======================================
  Coverage   46.59%   46.59%           
=======================================
  Files         239      239           
  Lines       16745    16745           
=======================================
  Hits         7803     7803           
  Misses       8568     8568           
  Partials      374      374           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Kent Rancourt <kent.rancourt@gmail.com>
Copy link
Contributor

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not too fond of the term they picked for this, but I like the outcome.

@krancour krancour added this pull request to the merge queue Jun 12, 2024
Merged via the queue into akuity:main with commit 6c28d7a Jun 12, 2024
17 checks passed
@krancour krancour deleted the krancour/swizzle branch June 12, 2024 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants