fix(docs.py): use enum values only

This commit is contained in:
Shahar Ilany 2022-07-18 23:33:36 +03:00
parent 1a07fa8965
commit 80cb9b7514
1 changed files with 3 additions and 3 deletions

View File

@ -243,10 +243,10 @@ def get_stoplight_elements_html(
{'hideInternal="true"' if hide_internal == True else ''} {'hideInternal="true"' if hide_internal == True else ''}
{'hideTryIt="true"' if hide_try_it == True else ''} {'hideTryIt="true"' if hide_try_it == True else ''}
{f'tryItCorsProxy="{try_it_cors_proxy}"' if try_it_cors_proxy != '' else ''} {f'tryItCorsProxy="{try_it_cors_proxy}"' if try_it_cors_proxy != '' else ''}
tryItCredentialPolicy="{try_it_credential_policy}" tryItCredentialPolicy="{try_it_credential_policy.value}"
layout="{layout}" layout="{layout.value}"
{f'logo="{logo}"' if logo != '' else ''} {f'logo="{logo}"' if logo != '' else ''}
router="{router}" router="{router.value}"
/> />
</body> </body>