Skip to content

Commit fd74917

Browse files
committed
modify script so that auto-ads can be used
1 parent 04728fc commit fd74917

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

docs/_templates/layout.html

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/source/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
html_extra_path = ['files']
4343
html_baseurl = 'https://lse-odoo.github.io/' if IS_PRODUCTION_BUILD else 'http://127.0.0.1:8000/'
4444

45+
html_js_files = [
46+
('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4740935949092680', {'async': 'async', 'crossorigin': 'anonymous'}),
47+
] if IS_PRODUCTION_BUILD else []
48+
4549
# -- Options for tags ---------------------------------------------------------
4650
# https://sphinx-tags.readthedocs.io/en/latest/configuration.html
4751

0 commit comments

Comments
 (0)