<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Use Docsy as a Hugo Module on Docsy</title><link>https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/</link><description>Recent content in Use Docsy as a Hugo Module on Docsy</description><generator>Hugo</generator><language>fr</language><lastBuildDate>Thu, 17 Sep 2026 21:06:55 -0400</lastBuildDate><atom:link href="https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/index.xml" rel="self" type="application/rss+xml"/><item><title>Before you begin</title><link>https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/installation-prerequisites/</link><pubDate>Wed, 08 Dec 2021 00:00:00 +0000</pubDate><guid>https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/installation-prerequisites/</guid><description>&lt;div class="td-alert td-alert--md alert alert-note" role="alert"&gt;&lt;div class="td-alert-heading alert-heading" role="heading"&gt;Note&lt;/div&gt;&#10; &lt;div class="td-alert-body"&gt;&#10; &lt;p&gt;The &lt;a href="https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/example-site-as-template/"&gt;example site&lt;/a&gt;&amp;rsquo;s pinned npm dependencies&#10;provide Hugo and Dart Sass, so if that&amp;rsquo;s your starting point, skip those&#10;sections: install only &lt;a href="https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/installation-prerequisites/#install-go-language"&gt;Go&lt;/a&gt;,&#10;&lt;a href="https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/installation-prerequisites/#install-git-vcs-client"&gt;Git&lt;/a&gt;, and &lt;a href="https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/installation-prerequisites/#install-nodejs"&gt;Node.js&lt;/a&gt;. On Windows,&#10;also ensure that Bash is on your &lt;code&gt;PATH&lt;/code&gt;: the example site&amp;rsquo;s npm scripts run&#10;under Bash, which ships with &lt;a href="https://gitforwindows.org/"&gt;Git for Windows&lt;/a&gt;.&lt;/p&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="install-hugo"&gt;Install Hugo&lt;a class="td-heading-self-link" href="#install-hugo" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;You need a recent &lt;strong&gt;extended&lt;/strong&gt; version of &lt;a href="https://gohugo.io/"&gt;Hugo&lt;/a&gt;, version&#10;0.160.1 or later, to build and preview sites that use&#10;Docsy. Check your version, and ensure that the output mentions &lt;code&gt;extended&lt;/code&gt;:&lt;/p&gt;</description></item><item><title>Create a new site: start with a prepopulated site</title><link>https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/example-site-as-template/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/example-site-as-template/</guid><description>&lt;p&gt;The &lt;a href="https://github.com/docsy/docsy-example"&gt;Docsy example site&lt;/a&gt; gives you a&#10;skeleton structure for your site, with top-level and documentation sections and&#10;templates that you can modify as necessary.&lt;/p&gt;&#10;&lt;p&gt;If you prefer to create a site from scratch, follow &lt;a href="https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/start-from-scratch/"&gt;Start a site from&#10;scratch&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="tldr-setup-for-the-impatient-expert"&gt;TL;DR: Setup for the impatient expert&lt;a class="td-heading-self-link" href="#tldr-setup-for-the-impatient-expert" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;With the &lt;a href="https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/installation-prerequisites/"&gt;prerequisites&lt;/a&gt; installed (on Windows, including Bash on your&#10;&lt;code&gt;PATH&lt;/code&gt;), run:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;git clone --depth &lt;span class="m"&gt;1&lt;/span&gt; --branch v0.17.0 https://github.com/docsy/docsy-example.git my-new-site&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; my-new-site&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm run install:safe&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm run serve&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Preview at &lt;a href="http://localhost:1313/"&gt;http://localhost:1313/&lt;/a&gt;. If the build fails, see&#10;&lt;a href="https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/troubleshooting/"&gt;Troubleshooting&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Create a new site: start a new site from scratch</title><link>https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/start-from-scratch/</link><pubDate>Wed, 08 Dec 2021 09:21:54 +0100</pubDate><guid>https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/start-from-scratch/</guid><description>&lt;p&gt;Creating a site from scratch gives you Docsy&amp;rsquo;s look and feel, navigation, and&#10;other features, but you specify your own site structure. These instructions give&#10;you a minimum file structure only, so that you build and extend your actual site&#10;step by step.&lt;/p&gt;&#10;&lt;h2 id="tldr-setup-for-the-impatient-expert"&gt;TL;DR: Setup for the impatient expert&lt;a class="td-heading-self-link" href="#tldr-setup-for-the-impatient-expert" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Run:&lt;/p&gt;&#10;&lt;!-- prettier-ignore-start --&gt;&#10;&#10;&#10;&#10;&#10;&lt;ul class="nav nav-tabs" id="tabs-0" role="tablist"&gt;&#10; &lt;li class="nav-item"&gt;&#10; &lt;button class="nav-link disabled"&#10; id="tabs-00-00-tab" data-bs-toggle="tab" data-bs-target="#tabs-00-00" role="tab"&#10; aria-controls="tabs-00-00" aria-selected="false"&gt;&#10; CLI:&#10; &lt;/button&gt;&#10; &lt;/li&gt;&lt;li class="nav-item"&gt;&#10; &lt;button class="nav-link active"&#10; id="tabs-00-01-tab" data-bs-toggle="tab" data-bs-target="#tabs-00-01" role="tab"&#10; data-td-tp-persist="bash" aria-controls="tabs-00-01" aria-selected="true"&gt;&#10; Unix shell&#10; &lt;/button&gt;&#10; &lt;/li&gt;&lt;li class="nav-item"&gt;&#10; &lt;button class="nav-link"&#10; id="tabs-00-02-tab" data-bs-toggle="tab" data-bs-target="#tabs-00-02" role="tab"&#10; data-td-tp-persist="batchfile" aria-controls="tabs-00-02" aria-selected="false"&gt;&#10; Windows command line&#10; &lt;/button&gt;&#10; &lt;/li&gt;&#10;&lt;/ul&gt;&#10;&#10;&lt;div class="tab-content" id="tabs-0-content"&gt;&#10; &lt;div class="tab-pane fade"&#10; id="tabs-00-00" role="tabpanel" aria-labelled-by="tabs-00-00-tab" tabindex="0"&gt;&#10; &lt;pre tabindex="0"&gt;&lt;code&gt;&lt;/code&gt;&lt;/pre&gt;&#10; &lt;/div&gt;&#10; &lt;div class="tab-pane fade show active"&#10; id="tabs-00-01" role="tabpanel" aria-labelled-by="tabs-00-01-tab" tabindex="0"&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-Bash" data-lang="Bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;hugo new site my-new-site&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; my-new-site&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;hugo mod init github.com/me/my-new-site&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;hugo mod get github.com/docsy/docsy/theme@v0.17.0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;cat &amp;gt;&amp;gt; hugo.toml &lt;span class="s"&gt;&amp;lt;&amp;lt;EOL&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s"&gt;[module]&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s"&gt;proxy = &amp;#34;direct&amp;#34;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s"&gt;[[module.imports]]&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s"&gt;path = &amp;#34;github.com/docsy/docsy/theme&amp;#34;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s"&gt;EOL&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm install --save-exact --save-dev sass-embedded@1.105.0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm pkg &lt;span class="nb"&gt;set&lt;/span&gt; scripts.hugo&lt;span class="o"&gt;=&lt;/span&gt;hugo&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;hugo mod npm pack&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm install&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm run hugo -- server&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;div class="tab-pane fade"&#10; id="tabs-00-02" role="tabpanel" aria-labelled-by="tabs-00-02-tab" tabindex="0"&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-Batchfile" data-lang="Batchfile"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;hugo new site my-new-site&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;cd&lt;/span&gt; my-new-site&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;hugo mod init github.com/me/my-new-site&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;hugo mod get github.com/docsy/docsy/theme@v0.17.0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;echo&lt;/span&gt; [module]&lt;span class="se"&gt;^&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="se"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;proxy = &lt;span class="s2"&gt;&amp;#34;direct&amp;#34;&lt;/span&gt;&lt;span class="se"&gt;^&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="se"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[[module.imports]]&lt;span class="se"&gt;^&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="se"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;path = &lt;span class="s2"&gt;&amp;#34;github.com/docsy/docsy/theme&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;&amp;gt;&amp;gt;&lt;/span&gt; hugo.toml&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm install --save-exact --save-dev sass-embedded@1.105.0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm pkg set scripts.hugo=hugo&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;hugo mod npm pack&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm install&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm run hugo -- server&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;!-- prettier-ignore-end --&gt;&#10;&lt;p&gt;Preview at &lt;a href="http://localhost:1313/"&gt;http://localhost:1313/&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>