mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-07-28 04:07:46 +00:00
doc/common/requirements: A hub supports itself.
This way we can do the following, which is useful if it cannot be expressed in terms of other requirements. .. pybricks-requirements:: movehub A good example is on the specific hub page itself. The Move Hub requires the Move Hub.
This commit is contained in:
@@ -21,11 +21,11 @@ FEATURES_LARGE = FEATURES_MEDIUM | set()
|
||||
|
||||
# Features per hub.
|
||||
HUB_FEATURES = {
|
||||
'movehub': FEATURES_SMALL,
|
||||
'cityhub': FEATURES_MEDIUM,
|
||||
'technichub': FEATURES_MEDIUM,
|
||||
'primehub': FEATURES_LARGE,
|
||||
'inventorhub': FEATURES_LARGE,
|
||||
'movehub': {'movehub'} | FEATURES_SMALL,
|
||||
'cityhub': {'cityhub'} | FEATURES_MEDIUM,
|
||||
'technichub': {'technichub'} | FEATURES_MEDIUM,
|
||||
'primehub': {'primehub', 'inventorhub'} | FEATURES_LARGE,
|
||||
'inventorhub': {'primehub', 'inventorhub'} | FEATURES_LARGE,
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user