<?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 OINK 文档主题</title>
		<link>https://oink.pgsty.com/zh/project/implementation/</link>
		<description>Recent content in Implementation on OINK 文档主题</description>
		<generator>Hugo</generator>
		<language>zh-CN</language>
		
		
		
		
			<atom:link href="https://oink.pgsty.com/zh/project/implementation/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>ScrollSpy patch</title>
				<link>https://oink.pgsty.com/zh/project/implementation/scrollspy-patch/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://oink.pgsty.com/zh/project/implementation/scrollspy-patch/</guid>
				<description>&lt;p&gt;&lt;span class=&#34;badge bg-info text-bg-info&#34;&gt;As of Docsy 0.13.0&lt;/span&gt;&lt;/p&gt;&#xA;&lt;div class=&#34;td-alert td-alert--md alert alert-info&#34; role=&#34;alert&#34;&gt;&lt;div class=&#34;td-alert-heading alert-heading&#34; role=&#34;heading&#34; aria-level=&#34;4&#34;&gt;Summary&lt;/div&gt;&#xA;  &lt;div class=&#34;td-alert-body&#34;&gt;&#xA;    &lt;p&gt;Docsy 0.13.0 includes a &lt;strong&gt;runtime patch&lt;/strong&gt; for Bootstrap &lt;a href=&#34;https://getbootstrap.com/docs/5.3/components/scrollspy/&#34;&gt;ScrollSpy&lt;/a&gt; that&#xA;fixes a bug affecting pages with heading IDs that aren&amp;rsquo;t valid CSS selectors.&#xA;The patch ensures that &lt;a href=&#34;https://oink.pgsty.com/zh/docs/content/navigation/#toc-entry-tracking&#34;&gt;active TOC entry&#xA;tracking&lt;/a&gt; works reliably for all&#xA;pages.&lt;/p&gt;&#xA;    &lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;h2 id=&#34;problem&#34;&gt;Problem&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#problem&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;As of Bootstrap 5.3.8 (the version used by Docsy 0.13.0), &lt;a href=&#34;https://getbootstrap.com/docs/5.3/components/scrollspy/&#34;&gt;ScrollSpy&lt;/a&gt; fails if&#xA;a page contains a heading ID that is not also a valid CSS &lt;code&gt;#&lt;/code&gt; selector. This can&#xA;happen, for example, if a heading ID starts with a digit. For technical details&#xA;about this bug, see &lt;a href=&#34;https://github.com/google/docsy/issues/2329&#34;&gt;#2329&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
