Skip to content

Commit 7643467

Browse files
Use edit in edit_uri example
To match the behaviour when the default branch is not `master` (e.g. main), the example `edit_uri` should start with `edit` instead of `blob`
1 parent db6e6c6 commit 7643467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/setup/adding-a-git-repository.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ resolves to the subfolder where your documentation is hosted.
109109
If your default branch is called `main`, change the setting to:
110110

111111
``` yaml
112-
edit_uri: blob/main/docs/
112+
edit_uri: edit/main/docs/
113113
```
114114

115115
After making sure that `edit_uri` is correctly configured, buttons for code

0 commit comments

Comments
 (0)