Skip to content

Commit

Permalink
Fixed edit and view source URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Jun 6, 2024
1 parent 15d95e9 commit 346681b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def transform(project: Project, root: Project):

# Inherit settings for site URL and edit URI
project.config.site_url = posixpath.join(config.site_url, name, "")
project.config.edit_uri = f"edit/master/examples/{name}/docs/"
project.config.edit_uri = f"{config.repo_url}/edit/master/{path}/docs/"

# Inherit settings for theme
if "features" in project.config.theme:
Expand Down

0 comments on commit 346681b

Please sign in to comment.