Skip to content

Commit f9b919b

Browse files
authored
Merge pull request #656 from acsone/add-readme-banner
gen-addon-readme: add OCA banner image
2 parents 9677259 + dcf9a32 commit f9b919b

File tree

7 files changed

+28
-0
lines changed

7 files changed

+28
-0
lines changed

tests/data/readme_tests/addon1/README.expected-acme.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
15
=======
26
addon 1
37
=======

tests/data/readme_tests/addon1/README.expected-oca.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
15
=======
26
addon 1
37
=======

tests/data/readme_tests/addon_one_maintainer/README.expected-acme.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
15
====================
26
addon one maintainer
37
====================

tests/data/readme_tests/addon_one_maintainer/README.expected-oca.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
15
====================
26
addon one maintainer
37
====================

tests/data/readme_tests/addon_two_maintainers/README.expected-acme.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
15
====================
26
addon one maintainer
37
====================

tests/data/readme_tests/addon_two_maintainers/README.expected-oca.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
15
====================
26
addon one maintainer
37
====================

tools/gen_addon_readme.rst.jinja

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
{% endif %}
88
{%- endmacro -%}
99

10+
.. image:: https://odoo-community.org/readme-banner-image
11+
:target: https://odoo-community.org/get-involved?utm_source=readme
12+
:alt: Odoo Community Association
13+
1014
{{ '=' * manifest.name|length }}
1115
{{ manifest.name }}
1216
{{ '=' * manifest.name|length }}

0 commit comments

Comments
 (0)