document-features icon indicating copy to clipboard operation
document-features copied to clipboard

Features that are transitively enabled by default are not rendered as "(enabled by default)"

Open vi opened this issue 2 years ago • 2 comments

With

[features]
default=["qqq"]

## Qqq
qqq=["www"]

## Www
www=[]

I expect

  • qqq (enabled by default) — Qqq
  • www (enabled by default) — Www

, but get

  • qqq (enabled by default) — Qqq
  • www — Www

.

vi avatar Aug 01 '23 18:08 vi

Yes, i think you're right and it should probably have (enabled by default) or maybe it should have (enabled through the "qqq" feature) ?

ogoffart avatar Aug 02 '23 07:08 ogoffart

Or maybe "(enabled by default, enabled through the "qqq" feature)" where document-features exposes relationship between all documented features (even if it is going through a non-documented feature) even when they are not enabled by default.

vi avatar Aug 02 '23 08:08 vi