Skip to content

Conversation

@datlechin
Copy link
Contributor

Documents the avatar driver system introduced in flarum/framework#4130.

This PR adds comprehensive documentation for extension developers who want to create custom avatar providers (Gravatar alternatives, OAuth-based avatars, external services).

Documents the new avatar driver system introduced in flarum/framework#4130.
Includes implementation guide, examples, and admin configuration.
Documents the new avatar driver system introduced in flarum/framework#4130.
Includes implementation guide, examples, and admin configuration.
- Use more direct, technical language
- Remove verbose explanations and marketing-style wording
- Simplify code examples with minimal comments
- Remove redundant sections
- Match tone and word choices from mail.md, filesystem.md, notifications.md
- Reduce file length from ~300 to ~75 lines
Copilot AI review requested due to automatic review settings December 30, 2025 02:43
Copy link

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

This PR adds comprehensive documentation for the avatar driver system introduced in flarum/framework#4130. The documentation enables extension developers to create custom avatar providers as alternatives to Gravatar or to integrate with external services like Discord, GitHub, and Steam.

  • Documents the avatar driver interface and fallback chain
  • Provides complete code examples for implementing and registering custom avatar drivers
  • Explains automatic admin panel integration without requiring additional frontend code

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
sidebars.js Adds the avatars documentation to the Advanced Guides section in alphabetical order
docs/extend/avatars.md Comprehensive new documentation covering avatar driver implementation, registration, and admin configuration with practical Discord example

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@datlechin datlechin changed the title Docs/avatar drivers docs: add avatar drivers guide for User extender Dec 30, 2025
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.

1 participant