<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-documentation.git/docs/_templates/layout.html, branch docs/t8887-phase1-batch1</title>
<subtitle>VyOS readthedocs (mirror of https://github.com/vyos/vyos-documentation.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-documentation.git/atom?h=docs%2Ft8887-phase1-batch1</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-documentation.git/atom?h=docs%2Ft8887-phase1-batch1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/'/>
<updated>2026-06-17T19:23:43+00:00</updated>
<entry>
<title>Fix Cookiebot consent dialog rendering unstyled and breaking the page (#2108)</title>
<updated>2026-06-17T19:23:43+00:00</updated>
<author>
<name>Yuriy Andamasov</name>
<email>yuriy@vyos.io</email>
</author>
<published>2026-06-17T19:23:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=dce7bb521e3947af59fe18895b609ec353e0450e'/>
<id>urn:sha1:dce7bb521e3947af59fe18895b609ec353e0450e</id>
<content type='text'>
On a fresh (no-consent) load the consent banner could render completely
unstyled and expand to full page height. Cookiebot delivers its dialog CSS as
a constructed stylesheet on document.adoptedStyleSheets; ReadTheDocs'
readthedocs-addons.js reassigns that whole-array property with a destructive
replace, and when that lands after Cookiebot's network-gated adoption it drops
Cookiebot's sheet, leaving #CybotCookiebotDialog at position:static expanded to
~6700px. It is a race, so it is intermittent and clears once consent is given
(the dialog then never renders).

- layout.html: a small adoptedStyleSheets shim, installed before any page
  script, that preserves Cookiebot's sheet so another library cannot drop it.
- custom.css: a leak-safe safety net that keeps the dialog contained even if
  its adopted sheet is ever absent. It uses only properties Cookiebot itself
  sets, so it has verifiably no effect on the normal, styled banner.

🤖 Generated by [robots](https://vyos.io)</content>
</entry>
<entry>
<title>fix(docs): add missing space after colon in personalization_storage</title>
<updated>2026-05-07T15:23:25+00:00</updated>
<author>
<name>Yuriy Andamasov</name>
<email>yuriy@vyos.io</email>
</author>
<published>2026-05-07T15:19:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=6f35bf561b330385bbb848f96c4ea84dc6089f5c'/>
<id>urn:sha1:6f35bf561b330385bbb848f96c4ea84dc6089f5c</id>
<content type='text'>
🤖 Generated by [robots](https://vyos.io)
</content>
</entry>
<entry>
<title>feat(docs): move Cookiebot CBID to COOKIEBOT_ID env var</title>
<updated>2026-05-07T15:23:25+00:00</updated>
<author>
<name>Yuriy Andamasov</name>
<email>yuriy@vyos.io</email>
</author>
<published>2026-05-07T14:53:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=53eda167df8f0f983ee34fd33e90524dcecb08de'/>
<id>urn:sha1:53eda167df8f0f983ee34fd33e90524dcecb08de</id>
<content type='text'>
Read COOKIEBOT_ID from the environment via conf.py html_context,
replacing the hardcoded data-cbid value in layout.html.
Guards tightened to {% if gtm_id and cookiebot_id %} so neither
GTM nor Cookiebot loads unless both IDs are present.

🤖 Generated by [robots](https://vyos.io)
</content>
</entry>
<entry>
<title>fix(docs): guard GTM/Cookiebot blocks with {% if gtm_id %}</title>
<updated>2026-05-07T15:23:25+00:00</updated>
<author>
<name>Yuriy Andamasov</name>
<email>yuriy@vyos.io</email>
</author>
<published>2026-05-07T14:47:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=9a92db9d232d9f15eedb3b11a5e3190d164c99d8'/>
<id>urn:sha1:9a92db9d232d9f15eedb3b11a5e3190d164c99d8</id>
<content type='text'>
Prevents broken googletagmanager.com requests with empty container IDs
when GTM_ID is not set (local builds, preview environments).

🤖 Generated by [robots](https://vyos.io)
</content>
</entry>
<entry>
<title>feat(docs): read GTM_ID from environment instead of hardcoding</title>
<updated>2026-05-07T15:23:25+00:00</updated>
<author>
<name>Yuriy Andamasov</name>
<email>yuriy@vyos.io</email>
</author>
<published>2026-05-07T14:19:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=4d8581c0e709848a601384addf3026fb405345fc'/>
<id>urn:sha1:4d8581c0e709848a601384addf3026fb405345fc</id>
<content type='text'>
Move the Google Tag Manager container ID out of the template and into
conf.py via os.environ.get('GTM_ID', ''), exposed to Jinja via
html_context. Set GTM_ID in the RTD project environment variables.

🤖 Generated by [robots](https://vyos.io)
</content>
</entry>
<entry>
<title>fix(docs): remove stray &lt;/script&gt; and add title to GTM noscript iframe</title>
<updated>2026-05-07T15:22:52+00:00</updated>
<author>
<name>Yuriy Andamasov</name>
<email>yuriy@vyos.io</email>
</author>
<published>2026-05-07T14:17:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=52f78b43576615f686d161e91721c1a818685077'/>
<id>urn:sha1:52f78b43576615f686d161e91721c1a818685077</id>
<content type='text'>
🤖 Generated by [robots](https://vyos.io)
</content>
</entry>
<entry>
<title>fix(docs): deduplicate GTM ID via Jinja var and use window.dataLayer in gtag()</title>
<updated>2026-05-07T15:22:52+00:00</updated>
<author>
<name>copilot-swe-agent[bot]</name>
<email>198982749+Copilot@users.noreply.github.com</email>
</author>
<published>2026-05-06T13:42:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=f34f1d66b760d6616080ca07ad1b403cf75338bb'/>
<id>urn:sha1:f34f1d66b760d6616080ca07ad1b403cf75338bb</id>
<content type='text'>
Agent-Logs-Url: https://github.com/vyos/vyos-documentation/sessions/f6d95cc7-cdbe-4d76-8077-f7fae5e9ddf2

Co-authored-by: andamasov &lt;12631358+andamasov@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>feat(docs): add Cookiebot CMP and GTM with Consent Mode v2</title>
<updated>2026-05-07T15:22:52+00:00</updated>
<author>
<name>Yuriy Andamasov</name>
<email>yuriy@vyos.io</email>
</author>
<published>2026-05-02T22:18:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=6179b066e69514f714c883df423a441621ee0013'/>
<id>urn:sha1:6179b066e69514f714c883df423a441621ee0013</id>
<content type='text'>
Inject Cookiebot CMP, Google Consent Mode v2 defaults, and Google Tag
Manager into the Sphinx layout. Cookiebot loads first so its
auto-blocker can scan and block other tags before they execute;
Consent Mode v2 starts denied for all categories except security_storage
and updates only after Cookiebot fires the consent update.

🤖 Generated by [robots](https://vyos.io)
</content>
</entry>
<entry>
<title>Styles refactoring (#1278)</title>
<updated>2024-02-19T13:53:51+00:00</updated>
<author>
<name>bogdankol</name>
<email>68349689+bogdankol@users.noreply.github.com</email>
</author>
<published>2024-02-19T13:53:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=54cb31c8e76515b3245bf90ffb3735ae31918b9e'/>
<id>urn:sha1:54cb31c8e76515b3245bf90ffb3735ae31918b9e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>correct version in template</title>
<updated>2023-11-16T20:38:40+00:00</updated>
<author>
<name>rebortg</name>
<email>github@ghlr.de</email>
</author>
<published>2023-11-16T20:38:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=e9b730bf247a2020aa219ae7e141873e87ab39d3'/>
<id>urn:sha1:e9b730bf247a2020aa219ae7e141873e87ab39d3</id>
<content type='text'>
</content>
</entry>
</feed>
