remove extensions and limitations section from extends documentation (#23184)

<!--Delete sections as needed -->

## Description
The extensions and limitations with `extends` don't apply since [Compose
`v2.33.0`](https://github.com/docker/compose/releases/tag/v2.33.0). We
forgot to update the documentation accordingly 🫣

## Related issues or tickets
Source https://github.com/compose-spec/compose-spec/issues/554
Fixes https://github.com/docker/compose/issues/13112

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [x] Editorial review
- [ ] Product review

Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
Guillaume Lours 2025-07-29 16:28:07 +02:00 committed by GitHub
parent 19c02b48c8
commit 5408a2e5c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 14 deletions

View File

@ -157,20 +157,6 @@ services:
- queue
```
## Exceptions and limitations
`volumes_from` and `depends_on` are never shared between services using
`extends`. These exceptions exist to avoid implicit dependencies; you always
define `volumes_from` locally. This ensures dependencies between services are
clearly visible when reading the current file. Defining these locally also
ensures that changes to the referenced file don't break anything.
`extends` is useful if you only need a single service to be shared and you are
familiar with the file you're extending to, so you can tweak the
configuration. But this isnt an acceptable solution when you want to re-use
someone else's unfamiliar configurations and you dont know about its own
dependencies.
## Relative paths
When using `extends` with a `file` attribute which points to another folder, relative paths