From 76434677bad58810a8822efd869b1bead3dc3426 Mon Sep 17 00:00:00 2001 From: Mark Heptinstall <92581963+mark-heptinstall@users.noreply.github.com> Date: Thu, 23 Feb 2023 14:38:54 +0000 Subject: [PATCH] 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` --- docs/setup/adding-a-git-repository.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/setup/adding-a-git-repository.md b/docs/setup/adding-a-git-repository.md index 1dc988a88..2315c7c48 100644 --- a/docs/setup/adding-a-git-repository.md +++ b/docs/setup/adding-a-git-repository.md @@ -109,7 +109,7 @@ resolves to the subfolder where your documentation is hosted. If your default branch is called `main`, change the setting to: ``` yaml -edit_uri: blob/main/docs/ +edit_uri: edit/main/docs/ ``` After making sure that `edit_uri` is correctly configured, buttons for code