Browse Source

Fix demo github url

Chenyang 2 years ago
parent
commit
78fd16f38d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docsrc/utils/utils.go

+ 1 - 1
docsrc/utils/utils.go

@@ -29,7 +29,7 @@ func Demo(title string, demoPath string, sourcePath string) HTMLComponent {
 	ex := &Example{
 		Title:      title,
 		DemoPath:   demoPath,
-		SourcePath: fmt.Sprintf("https://github.com/qor5/docs/tree/master/examples/%s", sourcePath),
+		SourcePath: fmt.Sprintf("https://github.com/qor5/docs/tree/main/docsrc/examples/%s", sourcePath),
 	}
 
 	LiveExamples = append(LiveExamples, ex)