Skip to content

Commit

Permalink
Update tasks.py file.
Browse files Browse the repository at this point in the history
  • Loading branch information
KelSolaar committed Dec 17, 2023
1 parent fd60f98 commit 721e1aa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tasks.py
Expand Up @@ -391,6 +391,13 @@ def build(ctx: Context):
readme_content = readme_file.read()

with open("README.rst", "w") as readme_file:
# Adding the *Colour* logo as the first content line because the *raw*
# directive to support light and dark theme is later trimmed.
readme_content = (
".. image:: https://raw.githubusercontent.com/colour-science/"
"colour-branding/master/images/Colour_Logo_001.png\n"
+ readme_content
)
readme_file.write(
re.sub(
(
Expand Down

0 comments on commit 721e1aa

Please sign in to comment.