diff --git a/doc/source/_static/images/dark/ansible.svg b/doc/source/_static/images/dark/ansible.svg new file mode 100644 index 0000000..b8196d5 --- /dev/null +++ b/doc/source/_static/images/dark/ansible.svg @@ -0,0 +1,10 @@ + + + \ No newline at end of file diff --git a/doc/source/_static/images/light/ansible.svg b/doc/source/_static/images/light/ansible.svg new file mode 100644 index 0000000..b8196d5 --- /dev/null +++ b/doc/source/_static/images/light/ansible.svg @@ -0,0 +1,10 @@ + + + \ No newline at end of file diff --git a/doc/source/examples/card_item.rst b/doc/source/examples/card_item.rst index 7fcd7e3..3119a05 100644 --- a/doc/source/examples/card_item.rst +++ b/doc/source/examples/card_item.rst @@ -6,7 +6,7 @@ Card Item Test .. card_item:: :title: Ansible - :image: ../_static/images/ansible.svg + :image: ansible.svg :description: Ansible is a suite of software tools that enables infrastructure as code. It is open-source and the suite includes software provisioning, configuration management, and application deployment functionality. - OTC Ansible Collection|https://docs.otc-service.com/ansible-collection-cloud @@ -15,35 +15,35 @@ Card Item Test .. card_item:: :title: Ansible - :image: ../_static/images/ansible.svg + :image: ansible.svg :description: Ansible is a suite of software tools that enables infrastructure as code. It is open-source and the suite includes software provisioning, configuration management, and application deployment functionality. - Ansible Collection|https://docs.otc-service.com/ansible-collection-cloud .. card_item:: :title: Ansible - :image: ../_static/images/ansible.svg + :image: ansible.svg :description: Ansible is a suite of software tools that enables infrastructure as code. It is open-source and the suite includes software provisioning, configuration management, and application deployment functionality. - Ansible Collection|https://docs.otc-service.com/ansible-collection-cloud .. card_item:: :title: Ansible - :image: ../_static/images/ansible.svg + :image: ansible.svg :description: Ansible is a suite of software tools that enables infrastructure as code. It is open-source and the suite includes software provisioning, configuration management, and application deployment functionality. - Ansible Collection|https://docs.otc-service.com/ansible-collection-cloud .. card_item:: :title: Ansible - :image: ../_static/images/ansible.svg + :image: ansible.svg :description: Ansible is a suite of software tools that enables infrastructure as code. It is open-source and the suite includes software provisioning, configuration management, and application deployment functionality. - Ansible Collection|https://docs.otc-service.com/ansible-collection-cloud .. card_item:: :title: Ansible - :image: ../_static/images/ansible.svg + :image: ansible.svg :description: Ansible is a suite of software tools that enables infrastructure as code. It is open-source and the suite includes software provisioning, configuration management, and application deployment functionality. - Ansible Collection|https://docs.otc-service.com/ansible-collection-cloud diff --git a/otc_sphinx_directives/card_item.py b/otc_sphinx_directives/card_item.py index ee02a5c..529760a 100644 --- a/otc_sphinx_directives/card_item.py +++ b/otc_sphinx_directives/card_item.py @@ -83,11 +83,10 @@ def card_item_html(self, node): data = f'''
- {node['title']} + + + {node['title']} +

{node['title']}

diff --git a/otc_sphinx_directives/directive_wrapper.py b/otc_sphinx_directives/directive_wrapper.py index f9a2242..04b654f 100644 --- a/otc_sphinx_directives/directive_wrapper.py +++ b/otc_sphinx_directives/directive_wrapper.py @@ -63,7 +63,6 @@ def run(self): node['id'] = self.options.get('id', '') node['wrapper_type'] = self.options.get('wrapper_type', 'div') node['style'] = self.options.get('style', '') - print(self.options) self.state.nested_parse(self.content, self.content_offset, node) return [node]