diff --git a/otc_sphinx_directives/service_card.py b/otc_sphinx_directives/service_card.py index 6ae57bd..9e6e0c3 100644 --- a/otc_sphinx_directives/service_card.py +++ b/otc_sphinx_directives/service_card.py @@ -126,7 +126,24 @@ def service_card_html(self, node): data += ( f'
{node[doc["type"]]}
' ) +<<<<<<< Updated upstream data += '' +======= + data += '' + try: + if doc["pdf_enabled"]: + data += (f''' +