Enhance plugin showcase and submission workflow with updates#66
Merged
Conversation
Keeps develop's newer package versions (showcase 1.2.0, webpack ^5.108.2, prettier 3.9.3) over main's def7264 updates.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
… and update success message
Contributor
⚡ Successfully deployed to Cloudflare Pages!
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Docusaurus Community website’s plugin directory and related contributor experience by adding new plugin entries, tightening the plugin-submission automation, improving Card component docs examples, and bumping a few dependencies/workflow actions.
Changes:
- Add 3 new plugins to the plugin directory (
homotechsual.faqs,homotechsual.plausible,homotechsual.showcase). - Update the plugin submission workflow to strip restricted tags (
favourite,docusaurus) for non-maintainers and notify the submitter. - Improve Card documentation example formatting (switch to
@theme/CodeBlock) and update dependencies/workflows; addscreenshotUrlplugin option in site config.
Reviewed changes
Copilot reviewed 9 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| yarn.lock | Updates lockfile entries to match bumped dev dependency versions. |
| package.json | Bumps @types/node, prettier, and webpack dev dependencies. |
| docusaurus.config.ts | Adds screenshotUrl option to the showcase preset configuration. |
| docs/component-library/new/Card/index.mdx | Reworks code examples to use CodeBlock and adjusts example markup. |
| data/plugins/homotechsual.showcase.yaml | Adds new plugin metadata entry for the showcase plugin. |
| data/plugins/homotechsual.plausible.yaml | Adds new plugin metadata entry for the plausible plugin. |
| data/plugins/homotechsual.faqs.yaml | Adds new plugin metadata entry for the FAQs plugin. |
| contributing/plugins.mdx | Clarifies the expectations for the source metadata field. |
| .github/workflows/publish.yml | Updates action versions and fixes label removal API usage. |
| .github/workflows/create-plugin-pr.yml | Enforces restricted tags for non-maintainers and improves success comment body generation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -740,9 +740,11 @@ For convenience these cards are displayed using some wrapper div elements like a | |||
| className='padding-vert--md' | |||
| textAlign='center' | |||
| Transform='uppercase' | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements and updates across the plugin directory, documentation, workflows, and dependencies. The main highlights are the addition of three new plugins, enhancements to the plugin submission workflow to enforce tag restrictions, multiple documentation improvements for the Card component, and various dependency and workflow updates.
New plugins added:
homotechsual.faqs,homotechsual.plausible, andhomotechsual.showcase, each with their respective metadata and tags. [1] [2] [3]Plugin submission workflow improvements:
.github/workflows/create-plugin-pr.ymlto restrict thefavouriteanddocusaurustags to maintainers only. If a non-maintainer submits these tags, they are removed and the submitter is notified via issue comment. [1] [2]actions/github-scriptto v9 in workflows for improved security and compatibility. [1] [2]Documentation and usability improvements:
CodeBlockcomponent for JSX examples instead of raw code fences, improving readability and consistency. Also, wrapped sample text in<p>tags for better formatting. [1] [2] [3] and related changes)sourcefield in the plugin metadata documentation to indicate when it is required.Dependency and config updates:
package.json, including@types/node,prettier, andwebpackto their latest patch versions.actions/checkoutaction to v7 in the publish workflow.screenshotUrlfield to the plugin directory config for automated plugin screenshots.