Skip to content

Commit

Permalink
README: fix image paths for PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
brofi committed May 5, 2024
1 parent 64d4003 commit d2a915a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img src="src/coh2_live_stats/res/coh2_live_stats.ico" alt="Icon" width="64" align="center"/> CoH2 Live Stats
# <img src="https://raw.githubusercontent.com/brofi/coh2-live-stats/master/src/coh2_live_stats/res/coh2_live_stats.ico" alt="Icon" width="64" align="center"/> CoH2 Live Stats

[![CI branch master](https://github.com/brofi/coh2-live-stats/actions/workflows/ci.yml/badge.svg)](https://github.com/brofi/coh2-live-stats/actions/workflows/ci.yml)
[![pypi](https://img.shields.io/pypi/v/coh2-live-stats)](https://pypi.org/project/coh2-live-stats/)
Expand All @@ -13,7 +13,7 @@ Show player and team stats of a currently played, replayed or last played Compan
[//]: # (</mark_description>)


![Example output](src/coh2_live_stats/res/example_default.svg)
![Example output](https://raw.githubusercontent.com/brofi/coh2-live-stats/master/src/coh2_live_stats/res/example_default.svg)

Example output on [Windows Terminal](https://github.com/microsoft/terminal)
with [gruvbox](https://github.com/morhetz/gruvbox) colors
Expand Down Expand Up @@ -219,7 +219,7 @@ uk = "blue"

#### Resulting output

![Example output](src/coh2_live_stats/res/example_0.svg)
![Example output](https://raw.githubusercontent.com/brofi/coh2-live-stats/master/src/coh2_live_stats/res/example_0.svg)

#### Description

Expand All @@ -245,7 +245,7 @@ team_rank.visible = false

#### Resulting output

![Example output](src/coh2_live_stats/res/example_1.svg)
![Example output](https://raw.githubusercontent.com/brofi/coh2-live-stats/master/src/coh2_live_stats/res/example_1.svg)


[//]: # (</mark_examples>)
Expand Down
4 changes: 3 additions & 1 deletion scripts/readme_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,9 @@ def _examples_to_md() -> str:
f'{'\n'.join(example[1])}\n'
'```\n'
'\n#### Resulting output\n\n'
f'![Example output](src/coh2_live_stats/res/example_{i}.svg)\n'
f'![Example output]('
f'https://raw.githubusercontent.com/brofi/coh2-live-stats/master/'
f'src/coh2_live_stats/res/example_{i}.svg)\n'
)
return md

Expand Down

0 comments on commit d2a915a

Please sign in to comment.