main branch is not always "master" these days

This commit is contained in:
Tshepang Mbambo 2023-06-07 18:47:15 +02:00 committed by GitHub
parent 9349204636
commit 3c7795cf44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -150,9 +150,9 @@ The following configuration options are available:
- **edit-url-template:** Edit url template, when provided shows a - **edit-url-template:** Edit url template, when provided shows a
"Suggest an edit" button (which looks like <i class="fa fa-edit"></i>) for directly jumping to editing the currently "Suggest an edit" button (which looks like <i class="fa fa-edit"></i>) for directly jumping to editing the currently
viewed page. For e.g. GitHub projects set this to viewed page. For e.g. GitHub projects set this to
`https://github.com/<owner>/<repo>/edit/master/{path}` or for `https://github.com/<owner>/<repo>/edit/<branch>/{path}` or for
Bitbucket projects set it to Bitbucket projects set it to
`https://bitbucket.org/<owner>/<repo>/src/master/{path}?mode=edit` `https://bitbucket.org/<owner>/<repo>/src/<branch>/{path}?mode=edit`
where {path} will be replaced with the full path of the file in the where {path} will be replaced with the full path of the file in the
repository. repository.
- **input-404:** The name of the markdown file used for missing files. - **input-404:** The name of the markdown file used for missing files.