<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Implementation on Docsy</title><link>https://deploy-preview-2799--docsydocs.netlify.app/fr/project/implementation/</link><description>Recent content in Implementation on Docsy</description><generator>Hugo</generator><language>fr</language><atom:link href="https://deploy-preview-2799--docsydocs.netlify.app/fr/project/implementation/index.xml" rel="self" type="application/rss+xml"/><item><title>Script loading</title><link>https://deploy-preview-2799--docsydocs.netlify.app/fr/project/implementation/script-loading/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-2799--docsydocs.netlify.app/fr/project/implementation/script-loading/</guid><description>&lt;p&gt;&lt;a href="https://github.com/google/docsy/blob/main/theme/layouts/_partials/scripts/plugins.html"&gt;&lt;code&gt;_partials/scripts/plugins.html&lt;/code&gt;&lt;/a&gt; implements
&lt;code&gt;params.docsy.plugins&lt;/code&gt;. For the configuration reference and the plugin file
contract, see the &lt;a href="https://deploy-preview-2799--docsydocs.netlify.app/fr/docs/content/plugins/"&gt;plugins guide&lt;/a&gt;; for the design rationale, the &lt;a href="https://deploy-preview-2799--docsydocs.netlify.app/fr/project/design/script-loading/"&gt;design
notes&lt;/a&gt;; for the tests that pin this contract, the &lt;a href="https://deploy-preview-2799--docsydocs.netlify.app/fr/project/quality/script-loading/"&gt;quality
notes&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="loop-mechanics"&gt;Loop mechanics&lt;a class="td-heading-self-link" href="#loop-mechanics" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The template&amp;rsquo;s comments carry the mechanics and their rationale. The loop reads
the theme&amp;rsquo;s schema through &lt;code&gt;hugo.Data&lt;/code&gt;; the guide &lt;a href="https://deploy-preview-2799--docsydocs.netlify.app/fr/docs/content/plugins/#configuration-reference"&gt;renders the same
file&lt;/a&gt;, so the entry contract has one home.&lt;/p&gt;
&lt;h2 id="shims"&gt;Shims&lt;a class="td-heading-self-link" href="#shims" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;For when to add or replace a shim, see the guide&amp;rsquo;s &lt;a href="https://deploy-preview-2799--docsydocs.netlify.app/fr/docs/content/plugins/#adjust-a-plugin-per-page"&gt;Adjust a plugin per
page&lt;/a&gt;; this section is the contract.&lt;/p&gt;</description></item><item><title>ScrollSpy patch</title><link>https://deploy-preview-2799--docsydocs.netlify.app/fr/project/implementation/scrollspy-patch/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-2799--docsydocs.netlify.app/fr/project/implementation/scrollspy-patch/</guid><description>&lt;p&gt;&lt;span class="badge bg-info text-bg-info"&gt;As of Docsy 0.13.0&lt;/span&gt;&lt;/p&gt;
&lt;div class="td-alert td-alert--md alert alert-info" role="alert"&gt;&lt;div class="td-alert-heading alert-heading" role="heading"&gt;Summary&lt;/div&gt;
 &lt;div class="td-alert-body"&gt;
 &lt;p&gt;Docsy 0.13.0 includes a &lt;strong&gt;runtime patch&lt;/strong&gt; for Bootstrap &lt;a href="https://getbootstrap.com/docs/5.3/components/scrollspy/"&gt;ScrollSpy&lt;/a&gt; that
fixes a bug affecting pages with heading IDs that aren&amp;rsquo;t valid CSS selectors.
The patch ensures that &lt;a href="https://deploy-preview-2799--docsydocs.netlify.app/fr/docs/content/navigation/#toc-entry-tracking"&gt;active TOC entry
tracking&lt;/a&gt; works reliably for all
pages.&lt;/p&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id="problem"&gt;Problem&lt;a class="td-heading-self-link" href="#problem" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;As of Bootstrap 5.3.8 (the version used by Docsy 0.13.0), &lt;a href="https://getbootstrap.com/docs/5.3/components/scrollspy/"&gt;ScrollSpy&lt;/a&gt; fails if
a page contains a heading ID that is not also a valid CSS &lt;code&gt;#&lt;/code&gt; selector. This can
happen, for example, if a heading ID starts with a digit. For technical details
about this bug, see &lt;a href="https://github.com/google/docsy/issues/2329"&gt;#2329&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>