Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Commit

Permalink
.ghuser.io.json // #3
Browse files Browse the repository at this point in the history
  • Loading branch information
lourot committed Jun 27, 2018
1 parent 3045204 commit d445ed2
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .ghuser.io.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"_comment": "Settings for ghuser.io. See https://github.com/AurelienLourot/ghuser.io/blob/master/docs/repo-settings.md",
"avatar_url": "https://rawgit.com/AurelienLourot/ghuser.io/master/docs/logo_square.png"
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<p align="center">
<a href="https://ghuser.io">
<img src="https://rawgit.com/AurelienLourot/ghuser.io/master/logo.png"
<img src="https://rawgit.com/AurelienLourot/ghuser.io/master/docs/logo.png"
width="400" height="108" />
</a>
</p>
Expand Down
File renamed without changes.
File renamed without changes
Binary file added docs/logo_square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions docs/repo-settings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Per-repo settings

You can define an avatar for any `owner/repo` by committing a `.ghuser.io.json` file in
`https://github.com/owner/repo`:

```json
{
"_comment": "Settings for ghuser.io. See https://github.com/AurelienLourot/ghuser.io/blob/master/docs/repo-settings.md",
"avatar_url": "https://rawgit.com/AurelienLourot/ghuser.io/master/docs/logo_square.png"
}
```

This avatar will be used on any ghuser-profile mentioning this repo.

See [this example](../.ghuser.io.json).

0 comments on commit d445ed2

Please sign in to comment.