Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Oct 24, 2023
1 parent 71d25bd commit eb6082d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespaces = true
# ----------------------------------------- Project Metadata -------------------------------------
#
[project]
version = "0.0.0.dev137"
version = "0.0.0.dev138"
name = "RepoDynamics"
dependencies = [
"packaging >= 23.2, < 24",
Expand Down
4 changes: 2 additions & 2 deletions src/repodynamics/meta/files/readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def footer(self):

def logo(self) -> html.A:
style = self._metadata["readme"]["header"]["style"]
url = f"{self._metadata['url']['website']['base']}" + "/_static/logo/full_{}.svg"
url = f"{self._metadata['path']['dir']['meta']}/ui/logo/full_{{}}.svg"
picture_tag = html.PICTURE(
img=html.IMG(
src=url.format("light"),
Expand Down Expand Up @@ -221,7 +221,7 @@ def get_bottom_data():
html.DIV(
align="center",
content=[
("&nbsp;" * 2).join(
f"{'&nbsp;' * 2} ".join(
[
str(badge.as_html_picture(tag_seperator="", content_indent=""))
for badge in badges
Expand Down
3 changes: 2 additions & 1 deletion src/repodynamics/meta/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,8 @@ def _urls_website(self) -> dict:
url["home"] = base
url["announcement"] = (
f"https://raw.githubusercontent.com/{self._metadata['repo']['full_name']}/"
f"announcement/announcement.html"
f"{self._metadata['branch']['default']['name']}/{self._metadata['path']['dir']['website']}/"
"announcement.html"
)
for path_id, rel_path in self._metadata["web"]["path"].items():
url[path_id] = f"{base}/{rel_path}"
Expand Down

0 comments on commit eb6082d

Please sign in to comment.