Skip to content

Commit 346681b

Browse files
committed
Fixed edit and view source URLs
1 parent 15d95e9 commit 346681b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def transform(project: Project, root: Project):
4545

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

5050
# Inherit settings for theme
5151
if "features" in project.config.theme:

0 commit comments

Comments
 (0)