<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="https://cecilapp.github.io/theme-docsearch/fr/xsl/atom.xsl" media="all"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
  <id>https://cecilapp.github.io/theme-docsearch/fr/</id>
  <title>DocSearch</title>
  <subtitle><![CDATA[Demo of the DocSearch component theme for Cecil.]]></subtitle>
  <link href="https://cecilapp.github.io/theme-docsearch/fr/atom.xml" rel="self" type="application/atom+xml" />
  <link href="https://cecilapp.github.io/theme-docsearch/fr/" rel="alternate" type="text/html" />
  <updated>2026-10-21T20:01:11+00:00</updated>
  <author>
    <name>DocSearch</name>
    <uri>https://cecilapp.github.io/theme-docsearch/</uri>
  </author>
  <entry xml:lang="fr">
    <id>https://cecilapp.github.io/theme-docsearch/fr/docs/</id>
    <title>Documentation</title>
    <published>2026-10-21T20:01:06+00:00</published>
    <link href="https://cecilapp.github.io/theme-docsearch/fr/docs/" rel="alternate" type="text/html" />
    <content type="html">
      <![CDATA[<p>Ajouter <a href="https://docsearch.algolia.com" rel="noopener noreferrer">Algolia DocSearch</a> à un site Cecil.</p>
<h2 id="installation">Installation</h2>
<pre><code class="language-bash hljs bash" translate="no">composer require cecil/theme-docsearch</code></pre>
<h2 id="configuration">Configuration</h2>
<pre><code class="language-yaml hljs yaml" translate="no"><span class="hljs-attr">theme:</span>
  <span class="hljs-bullet">-</span> <span class="hljs-string">docsearch</span>
<span class="hljs-attr">docsearch:</span>
  <span class="hljs-attr">appId:</span> <span class="hljs-string">&lt;YOUR_APP_ID&gt;</span>
  <span class="hljs-attr">apiKey:</span> <span class="hljs-string">&lt;YOUR_SEARCH_API_KEY&gt;</span>
  <span class="hljs-attr">indexName:</span> <span class="hljs-string">&lt;YOUR_INDEX_NAME&gt;</span></code></pre>
<h2 id="templates">Templates</h2>
<pre><code class="language-twig hljs twig" translate="no"><span class="hljs-comment">{# dans &lt;head&gt; #}</span><span class="xml">
</span><span class="hljs-template-variable">{{ <span class="hljs-name">include</span><span class="hljs-params">('partials/docsearch/head.html.twig')</span> }}</span><span class="xml">
</span><span class="hljs-comment">{# là où le bouton de recherche doit être affiché #}</span><span class="xml">
</span><span class="hljs-template-variable">{{ <span class="hljs-name">include</span><span class="hljs-params">('partials/docsearch.html.twig')</span> }}</span></code></pre>]]>
    </content>
  </entry>
</feed>
