Skip to content

[docs] Added initial docs for Composer-installed plugin guidance#1542

Open
andrewnicols wants to merge 1 commit intomoodle:mainfrom
andrewnicols:composerDev
Open

[docs] Added initial docs for Composer-installed plugin guidance#1542
andrewnicols wants to merge 1 commit intomoodle:mainfrom
andrewnicols:composerDev

Conversation

@andrewnicols
Copy link
Member

This is developer documentation. User documentation will be added to the user docs.

Copilot AI review requested due to automatic review settings March 19, 2026 06:33
@netlify
Copy link

netlify bot commented Mar 19, 2026

Deploy Preview for moodledevdocs ready!

Name Link
🔨 Latest commit 1ec9235
🔍 Latest deploy log https://app.netlify.com/projects/moodledevdocs/deploys/69bc6d8886ad3c0007da9c34
😎 Deploy Preview https://deploy-preview-1542--moodledevdocs.netlify.app
📱 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 project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds initial Moodle developer documentation for Composer-based plugin distribution/installation (introduced in Moodle 5.2), and wires this into the existing “Common files” reference so composer.json is documented consistently alongside other plugin files.

Changes:

  • Add a new developer guide covering how to publish/install plugins via Composer, plus local development workflows.
  • Add a composer.json entry to the “Common files” API page using a new ComposerJSON summary component.
  • Link the new Composer guide from the main Developer Guides index.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
docs/guides/composer/index.md New guide describing plugin Composer packaging, publishing to Packagist, and development tips.
docs/guides.md Adds the Composer guide to the Developer Guides list.
docs/apis/commonfiles/index.mdx Adds a composer.json section to the common plugin files reference.
docs/apis/_files/index.tsx Exposes the new ComposerJSON file summary component for use in MDX pages.
docs/apis/_files/composer-json.tsx New ComponentFileSummary wrapper for composer.json.
docs/apis/_files/composer-json.mdx New MDX description content for the composer.json common-file reference.

This is developer documentation. User documentation will be added to the
user docs.
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