mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03: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:
parent
db6e6c6f76
commit
76434677ba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user