From 69693cce9cb47678f644c8797f8c7e31832a669b Mon Sep 17 00:00:00 2001 From: Glenn Watson <5834289+glennawatson@users.noreply.github.com> Date: Sat, 28 Nov 2026 15:07:37 +1100 Subject: [PATCH] docs: standardise the README header and Contribute section - Use the shared logo, title and shields.io badge header - Replace the Contribute section with the shared text, including the coding standards - Point questions to GitHub Discussions instead of Slack and Stack Overflow - Remove the old Support and Sponsorship sections --- README.md | 39 ++++++++++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index e1344e8b..f4e922a3 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,17 @@
-ReactiveUI +ReactiveUI.SourceGenerators # ReactiveUI.SourceGenerators **Compile-time code for ReactiveUI. No reflection. Trim and NativeAOT safe.** -[![NuGet](https://img.shields.io/nuget/v/ReactiveUI.Binding.svg?label=ReactiveUI.Binding)](https://www.nuget.org/packages/ReactiveUI.Binding) -[![NuGet](https://img.shields.io/nuget/v/ReactiveUI.SourceGenerators.svg?label=ReactiveUI.SourceGenerators)](https://www.nuget.org/packages/ReactiveUI.SourceGenerators) -[![Build](https://github.com/reactiveui/ReactiveUI.SourceGenerators/actions/workflows/ci-build.yml/badge.svg)](https://github.com/reactiveui/ReactiveUI.SourceGenerators/actions/workflows/ci-build.yml) -[![Coverage](https://codecov.io/gh/reactiveui/ReactiveUI.SourceGenerators/branch/main/graph/badge.svg)](https://codecov.io/gh/reactiveui/ReactiveUI.SourceGenerators) -[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) -[![Slack](https://img.shields.io/badge/chat-slack-blue.svg)](https://reactiveui.net/slack) +[![Build](https://img.shields.io/github/actions/workflow/status/reactiveui/ReactiveUI.SourceGenerators/ci-build.yml?branch=main&label=build&logo=githubactions&logoColor=white)](https://github.com/reactiveui/ReactiveUI.SourceGenerators/actions/workflows/ci-build.yml) +[![NuGet](https://img.shields.io/nuget/v/ReactiveUI.SourceGenerators?label=nuget&logo=nuget&logoColor=white&color=004880)](https://www.nuget.org/packages/ReactiveUI.SourceGenerators) +[![Downloads](https://img.shields.io/nuget/dt/ReactiveUI.SourceGenerators?label=downloads&logo=nuget&logoColor=white&color=004880)](https://www.nuget.org/packages/ReactiveUI.SourceGenerators) +[![Coverage](https://img.shields.io/codecov/c/github/reactiveui/ReactiveUI.SourceGenerators?label=coverage&logo=codecov&logoColor=white)](https://codecov.io/gh/reactiveui/ReactiveUI.SourceGenerators) +[![License](https://img.shields.io/github/license/reactiveui/ReactiveUI.SourceGenerators?color=blue)](https://github.com/reactiveui/ReactiveUI.SourceGenerators/blob/main/LICENSE) +[![Discussions](https://img.shields.io/badge/discussions-ask%20a%20question-8A2BE2?logo=github&logoColor=white)](https://github.com/reactiveui/ReactiveUI.SourceGenerators/discussions)
@@ -129,11 +129,28 @@ Every example runs and prints what it does. ## Contribute -The project uses the MIT license. Everyone is welcome, including first-time contributors. +ReactiveUI.SourceGenerators is part of [ReactiveUI](https://github.com/reactiveui) and is released under the [MIT license](https://github.com/reactiveui/ReactiveUI.SourceGenerators/blob/main/LICENSE). We welcome contributions of every size, from bug reports and documentation to features and tests. -- [Answer questions on GitHub Discussions](https://github.com/reactiveui/ReactiveUI.SourceGenerators/discussions) -- Improve the docs where something is missing or unclear. -- Contribute code. Read [CLAUDE.md](CLAUDE.md) first. +- **Questions:** ask in [GitHub Discussions](https://github.com/reactiveui/ReactiveUI.SourceGenerators/discussions). +- **Bugs and feature requests:** open a [GitHub issue](https://github.com/reactiveui/ReactiveUI.SourceGenerators/issues/new/choose). +- **Larger changes:** open an issue or discussion first, so we can agree on the approach before you start. +- **Contributor guide:** read [reactiveui.net/contribute](https://www.reactiveui.net/contribute/) for [building and testing](https://www.reactiveui.net/contribute/building-and-testing/) and [pull requests](https://www.reactiveui.net/contribute/pull-requests/). + +### Coding standards + +Every pull request must meet these standards. The build checks most of them. + +- Follow the [ReactiveUI C# style guide](https://www.reactiveui.net/contribute/software-style-guide/code-style/). +- The repository's `.editorconfig` and the StyleSharp, PerformanceSharp and SecuritySharp analyzers run on every build. Fix each finding in the code. Do not suppress it or relax the `.editorconfig`. +- Add tests for every bug fix and new feature. +- Document public APIs with XML documentation comments. +- Write commit messages in the [Conventional Commits](https://www.reactiveui.net/contribute/software-style-guide/commit-message-convention/) format. +- Follow the [Code of Conduct](https://github.com/reactiveui/.github/blob/main/CODE_OF_CONDUCT.md). + +### Support the project + +- Sponsor the maintainers on GitHub Sponsors: [reactivemarbles](https://github.com/sponsors/reactivemarbles), [glennawatson](https://github.com/sponsors/glennawatson) and [chrispulman](https://github.com/sponsors/chrispulman). +- Ask your employer to support open source, for example with the [balanced employee IP agreement](https://github.com/github/balanced-employee-ip-agreement). ## Credits