1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-12 10:00:52 +01:00

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`
This commit is contained in:
Mark Heptinstall 2023-02-23 14:38:54 +00:00 committed by GitHub
parent db6e6c6f76
commit 76434677ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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