diff --git a/doc/api/branches.md b/doc/api/branches.md index f99c4443ac8abf1c8d3818c7b196942e4d279fdf..9518a8d50327b66779a691bda986a8e1c5eae68a 100644 --- a/doc/api/branches.md +++ b/doc/api/branches.md @@ -231,3 +231,9 @@ Example request: ```shell curl --request DELETE --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/5/repository/merged_branches" ``` + +## Related topics + +- [Branches](../user/project/repository/branches/index.md) +- [Protected branches](../user/project/protected_branches.md) +- [Protected branches API](protected_branches.md) diff --git a/doc/api/protected_branches.md b/doc/api/protected_branches.md index 9bd220f0406b5543738ad7d41c01a9bac69c69cc..d3d91be290fcd0f83507c5b4de8b1d0ab76a3aa3 100644 --- a/doc/api/protected_branches.md +++ b/doc/api/protected_branches.md @@ -529,3 +529,9 @@ Example response: "push_access_levels": [] } ``` + +## Related topics + +- [Protected branches](../user/project/protected_branches.md) +- [Branches](../user/project/repository/branches/index.md) +- [Branches API](branches.md) diff --git a/doc/user/project/protected_branches.md b/doc/user/project/protected_branches.md index fa736e79d93cf3648b25823f5384de90d1d2a8e6..60f4d86d2f3380468d6bae1905c1644cdcae317a 100644 --- a/doc/user/project/protected_branches.md +++ b/doc/user/project/protected_branches.md @@ -326,6 +326,12 @@ Protected branches can only be deleted by using GitLab either from the UI or API This prevents accidentally deleting a branch through local Git commands or third-party Git clients. +## Related topics + +- [Protected branches API](../../api/protected_branches.md) +- [Branches](repository/branches/index.md) +- [Branches API](../../api/branches.md) + <!-- ## Troubleshooting Include any troubleshooting steps that you can foresee. If you know beforehand what issues