googleapis / sphinx-docfx-yaml

Forked sphinx-docfx-yaml repository for creating DocFX YAML for Python Client Libraries
Apache License 2.0
5 stars 7 forks source link

fix: ignore disambiguation for repeated entries #390

Closed dandhlee closed 3 months ago

dandhlee commented 3 months ago

When there is a duplicate but repeated entries in a row, it can cause confusion as there is no good disambiguator to return.

For example, given

google.cloud.run_v2.services
google.cloud.run_v2.services.services

this is not really possible to disambiguate - and we don't need to. The TOC / layout should make it clear which one is which.

Fixes b/296919376. See staged example there.