Skip to content

Commit

Permalink
docs: Fix .. value-table::
Browse files Browse the repository at this point in the history
It does help if you actually check to see if the client supports a
given value!
  • Loading branch information
alcarney committed May 22, 2024
1 parent fb53d89 commit 6fe86ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/ext/capabilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@ def get_client_support_for(self, capability: str):

supported_values = set(supported_values)
for value in clients[name]:
if value not in supported_values:
continue

if (existing := clients[name][value]) is None:
clients[name][value] = version
else:
Expand Down

0 comments on commit 6fe86ff

Please sign in to comment.