Skip to content

Commit

Permalink
Merge pull request #84 from sjokkateer/pages/homepage
Browse files Browse the repository at this point in the history
[Fix] PAGES: homepage.html broken issues url
  • Loading branch information
froschdesign committed Jun 27, 2022
2 parents 0d9c7fa + 358cff8 commit e53c2d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion theme/pages/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h3>Using Composer</h3>

<h2>Support</h2>
<ul>
<li>Issues: <a href="{{ config.repo_url }}issues">{{ config.repo_url|replace('https://', '') }}issues</a></li>
<li>Issues: <a href="{{ config.repo_url }}/issues">{{ config.repo_url|replace('https://', '') }}/issues</a></li>
<li>Source: <a href="{{ config.repo_url }}">{{ config.repo_url|replace('https://', '') }}</a></li>
<li>Chat: <a href="https://laminas.dev/chat">laminas.dev/chat</a></li>
<li>Forum: <a href="https://discourse.laminas.dev/">discourse.laminas.dev</a></li>
Expand Down
2 changes: 1 addition & 1 deletion update_mkdocs_yml.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
]
}

mkdocs["extra"]["repo_name"] = mkdocs["repo_url"].replace("https://github.com/", "")
mkdocs["extra"]["repo_name"] = mkdocs["repo_url"].replace("https://github.com/", "").rstrip("/")
mkdocs["extra"]["base_url"] = "https://docs.laminas.dev/"

if mkdocs["extra"]["project"] == "Components":
Expand Down

0 comments on commit e53c2d3

Please sign in to comment.