Skip to content

Commit a330a63

Browse files
committed
docs(readme): keep the README renderable on nuget.org
The README ships as the NuGet package readme, and nuget.org renders only Markdown, drops raw HTML, and only shows images from allow-listed hosts with absolute URLs. Use Markdown images served from raw.githubusercontent.com and absolute links for repository files. Without HTML there is no per-theme picture switching, so the sponsor logos are the official artwork placed on a white card that reads on light and dark themes alike, and the Refit logo SVG carries its own display size.
1 parent 176ebdb commit a330a63

6 files changed

Lines changed: 10 additions & 52 deletions

File tree

‎README.md‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<img src="images/refit-logo.svg" alt="Refit" width="320">
1+
![Refit](https://raw.githubusercontent.com/reactiveui/refit/main/images/refit-logo.svg)
22

33
# Refit
44

@@ -89,10 +89,10 @@ dotnet build Refit.slnx -c Release
8989

9090
Each website page links to its own project under `examples/Documentation/Pages`. Run a page project,
9191
such as `examples/Documentation/Pages/requests-routes/requests-routes.csproj`, to check its local
92-
reply assertions without contacting a live service. The [documentation examples README](src/examples/Documentation/README.md)
92+
reply assertions without contacting a live service. The [documentation examples README](https://github.com/reactiveui/refit/blob/main/src/examples/Documentation/README.md)
9393
lists the source layout and independent projects.
9494

95-
See [breaking changes](docs/breaking-changes.md),
95+
See [breaking changes](https://github.com/reactiveui/refit/blob/main/docs/breaking-changes.md),
9696
[GitHub releases](https://github.com/reactiveui/refit/releases), and
9797
[contributing](https://www.reactiveui.net/contribute/).
9898

@@ -102,8 +102,7 @@ Refit is supported by [JetBrains](https://www.jetbrains.com/),
102102
[Anthropic](https://www.anthropic.com/) through [Claude](https://claude.com/), and
103103
[OpenAI](https://openai.com/) through [Codex](https://openai.com/codex/).
104104

105-
<a href="https://www.jetbrains.com/"><picture><source media="(prefers-color-scheme: dark)" srcset="images/jetbrains-dark.svg"><img src="images/jetbrains.svg" alt="JetBrains" height="40"></picture></a>
106-
&nbsp;&nbsp;
107-
<a href="https://claude.com/"><picture><source media="(prefers-color-scheme: dark)" srcset="images/claude-dark.svg"><img src="images/claude.svg" alt="Claude by Anthropic" height="40"></picture></a>
105+
[![JetBrains](https://raw.githubusercontent.com/reactiveui/refit/main/images/jetbrains.svg)](https://www.jetbrains.com/)
106+
[![Claude by Anthropic](https://raw.githubusercontent.com/reactiveui/refit/main/images/claude.svg)](https://claude.com/)
108107

109-
Refit is licensed under the [MIT license](LICENSE).
108+
Refit is licensed under the [MIT license](https://github.com/reactiveui/refit/blob/main/LICENSE).

‎images/claude-dark.svg‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

‎images/claude.svg‎

Lines changed: 2 additions & 10 deletions
Loading

‎images/jetbrains-dark.svg‎

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)
⌂ 换网址