From 95d426dcc5c24478f60bfea21bb1beff43ae7fda Mon Sep 17 00:00:00 2001 From: Pesho Ivanov Date: Mon, 20 Feb 2023 01:08:34 +0400 Subject: [PATCH] rename master -> main branch for github --- guide/src/format/configuration/renderers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/src/format/configuration/renderers.md b/guide/src/format/configuration/renderers.md index 16a42516..a343e175 100644 --- a/guide/src/format/configuration/renderers.md +++ b/guide/src/format/configuration/renderers.md @@ -105,7 +105,7 @@ additional-js = ["custom.js"] no-section-label = false git-repository-url = "https://github.com/rust-lang/mdBook" git-repository-icon = "fa-github" -edit-url-template = "https://github.com/rust-lang/mdBook/edit/master/guide/{path}" +edit-url-template = "https://github.com/rust-lang/mdBook/edit/main/guide/{path}" site-url = "/example-book/" cname = "myproject.rs" input-404 = "not-found.md" @@ -150,7 +150,7 @@ The following configuration options are available: - **edit-url-template:** Edit url template, when provided shows a "Suggest an edit" button (which looks like ) for directly jumping to editing the currently viewed page. For e.g. GitHub projects set this to - `https://github.com///edit/master/{path}` or for + `https://github.com///edit/main/{path}` or for Bitbucket projects set it to `https://bitbucket.org///src/master/{path}?mode=edit` where {path} will be replaced with the full path of the file in the