srl-labs / yang-browser

A web portal and a set of tools to bring joy to YANG consumption
https://yang.srlinux.dev
BSD 3-Clause "New" or "Revised" License
9 stars 0 forks source link

when generating HTML tree use if-feature flags from some platform #24

Closed hellt closed 1 year ago

hellt commented 1 year ago

When no features are provided to pyang, all features are implicitly selected. This is not optimal, for example qos module won't be rendered as it has not d1 feature gate.

The proposal is to include if-features for d3l and ixr platforms and exclude d1 and vxdp

hellt commented 1 year ago

done in #41 pay attention to this comment https://github.com/srl-labs/yang-browser/pull/41/files#diff-1722d41e55663722f8abb298678eea4bdf50a292bc517c514ccc9c1cd25439f7R10