<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Documentation on hugodoks</title><link>https://fernandezvara.github.io/hugodoks/docs/</link><description>Recent content in Documentation on hugodoks</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://fernandezvara.github.io/hugodoks/docs/index.xml" rel="self" type="application/rss+xml"/><item><title>Getting started</title><link>https://fernandezvara.github.io/hugodoks/docs/getting-started/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://fernandezvara.github.io/hugodoks/docs/getting-started/</guid><description>&lt;p&gt;This guide takes a brand-new Hugo project to a running documentation site in a few minutes.&lt;/p&gt;
&lt;h2 id="requirements"&gt;Requirements&lt;a class="hd-anchor" href="#requirements" aria-hidden="true"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Hugo Extended &lt;code&gt;&amp;gt;= 0.154.0&lt;/code&gt;&lt;/strong&gt; — check with &lt;code&gt;hugo version&lt;/code&gt;. The theme needs the extended edition for its asset pipeline.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Git and Go&lt;/strong&gt; — only if you install the theme as a Hugo module (recommended below).&lt;/li&gt;
&lt;/ul&gt;
&lt;aside class="hd-hint hd-hint--info"&gt;
 &lt;p class="hd-hint-title"&gt;&lt;i class="ph ph-info hd-icon" aria-hidden="true"&gt;&lt;/i&gt;
Info&lt;/p&gt;
 No Hugo installed? The theme repository itself is dockerized — inside a clone of hugodoks, &lt;code&gt;make serve&lt;/code&gt; runs this site at &lt;a href="http://localhost:1313"&gt;http://localhost:1313&lt;/a&gt; with the &lt;code&gt;hugomods/hugo:exts&lt;/code&gt; image and nothing installed locally.
&lt;/aside&gt;

&lt;h2 id="1-create-a-site"&gt;1. Create a site&lt;a class="hd-anchor" href="#1-create-a-site" aria-hidden="true"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;hugo new site my-docs
&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-docs
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="2-add-the-theme"&gt;2. Add the theme&lt;a class="hd-anchor" href="#2-add-the-theme" aria-hidden="true"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;div class="hd-tabs" id="hd-tabs-1"&gt;
 &lt;div class="hd-tablist" role="tablist"&gt;
 
 &lt;button class="hd-tab" role="tab" id="hd-tabs-1-tab-0"
 aria-controls="hd-tabs-1-panel-0" aria-selected="true"&gt;Hugo module (recommended)&lt;/button&gt;
 
 &lt;button class="hd-tab" role="tab" id="hd-tabs-1-tab-1"
 aria-controls="hd-tabs-1-panel-1" aria-selected="false"&gt;Git submodule&lt;/button&gt;
 
 &lt;/div&gt;
 
&lt;div class="hd-tabpanel" role="tabpanel" id="hd-tabs-1-panel-0"
 aria-labelledby="hd-tabs-1-tab-0"&gt;
 &lt;p&gt;Initialize the site as a Go module, then import the theme in &lt;code&gt;hugo.toml&lt;/code&gt;:&lt;/p&gt;</description></item><item><title>Configuration</title><link>https://fernandezvara.github.io/hugodoks/docs/configuration/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://fernandezvara.github.io/hugodoks/docs/configuration/</guid><description>&lt;p&gt;Everything below goes in your site&amp;rsquo;s &lt;code&gt;hugo.toml&lt;/code&gt; (or the YAML/JSON equivalent). The complete working example is this site&amp;rsquo;s own &lt;a href="https://github.com/fernandezvara/hugodoks/blob/main/exampleSite/hugo.toml"&gt;&lt;code&gt;hugo.toml&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="required-build-settings"&gt;Required build settings&lt;a class="hd-anchor" href="#required-build-settings" aria-hidden="true"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-toml" data-lang="toml"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;outputs&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nx"&gt;home&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;html&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;rss&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;searchindex&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&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="nx"&gt;markup&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;highlight&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nx"&gt;noClasses&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;outputs.home&lt;/code&gt;&lt;/strong&gt; — Hugo does not merge &lt;code&gt;outputs&lt;/code&gt; from a theme. &lt;code&gt;searchindex&lt;/code&gt; emits &lt;code&gt;/index.json&lt;/code&gt;, the data source for the &lt;a href="../features/#search"&gt;search modal&lt;/a&gt;; &lt;code&gt;rss&lt;/code&gt; enables the RSS feed linked in &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt;. Omit &lt;code&gt;searchindex&lt;/code&gt; and the search trigger quietly does nothing.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;markup.highlight.noClasses = false&lt;/code&gt;&lt;/strong&gt; — makes Chroma emit CSS classes so the theme&amp;rsquo;s light/dark-scoped code stylesheets apply. With the default &lt;code&gt;true&lt;/code&gt;, every code block is frozen to inline Monokai colors.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="site-params"&gt;Site params&lt;a class="hd-anchor" href="#site-params" aria-hidden="true"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Param&lt;/th&gt;
 &lt;th&gt;Default&lt;/th&gt;
 &lt;th&gt;Purpose&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;params.description&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;—&lt;/td&gt;
 &lt;td&gt;Fallback &lt;code&gt;&amp;lt;meta name=&amp;quot;description&amp;quot;&amp;gt;&lt;/code&gt; for pages without their own &lt;code&gt;description&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;params.docs.navRoot&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;/docs&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Section used as the root of the left sidebar nav&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;params.docs.navDefaultIcon&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;dot&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Fallback sidebar icon for pages without &lt;code&gt;icon&lt;/code&gt; in front matter (&lt;code&gt;&amp;quot;&amp;quot;&lt;/code&gt; renders an empty slot)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;params.docs.editPage&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Show an &amp;ldquo;Edit this page&amp;rdquo; link under each docs article&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;params.docs.lastMod&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Show a &amp;ldquo;Last updated&amp;rdquo; line (Git date when &lt;code&gt;enableGitInfo&lt;/code&gt; is on)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;params.docs.repoURL&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;—&lt;/td&gt;
 &lt;td&gt;Repository base URL for the edit link (GitHub, GitLab and Bitbucket layouts are detected)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;params.docs.repoBranch&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;main&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Branch used in edit links&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;params.docs.repoContentDir&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;content&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Directory inside the repo that holds content files&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;params.docs.aiAssist&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Show an &amp;ldquo;Ask AI&amp;rdquo; dropdown in docs article headers with prefilled ChatGPT/Claude links to the page&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;params.docs.aiAssistIcon&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;—&lt;/td&gt;
 &lt;td&gt;Icon in the dropdown button: a &lt;a href="https://phosphoricons.com"&gt;Phosphor&lt;/a&gt; name (e.g. &lt;code&gt;sparkle&lt;/code&gt;)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;params.docs.aiAssistLabel&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&amp;ldquo;Ask AI&amp;rdquo;&lt;/td&gt;
 &lt;td&gt;Text of the dropdown button&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;params.brand.icon&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;—&lt;/td&gt;
 &lt;td&gt;Optional icon next to the site title: a &lt;a href="https://phosphoricons.com"&gt;Phosphor&lt;/a&gt; name (e.g. &lt;code&gt;book&lt;/code&gt;) or a path to an &lt;code&gt;.svg&lt;/code&gt; in &lt;code&gt;assets/&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;params.footer.copyright&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;—&lt;/td&gt;
 &lt;td&gt;Footer line, rendered as Markdown&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;params.social.github&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;—&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;owner/repo&lt;/code&gt; shown on the home page&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Example:&lt;/p&gt;</description></item><item><title>Landing page</title><link>https://fernandezvara.github.io/hugodoks/docs/landing-page/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://fernandezvara.github.io/hugodoks/docs/landing-page/</guid><description>&lt;p&gt;The home page is assembled from sections declared in &lt;code&gt;data/landing.yaml&lt;/code&gt;. Each section picks a partial via &lt;code&gt;template&lt;/code&gt;, is toggled with &lt;code&gt;enable&lt;/code&gt;, and ordered by &lt;code&gt;weight&lt;/code&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;sections&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;hero&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;enable&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;weight&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;10&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;template&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;hero&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="c"&gt;# …section-specific fields&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Delete the file — or set every &lt;code&gt;enable: false&lt;/code&gt; — and the home page falls back to rendering &lt;code&gt;content/_index.md&lt;/code&gt; as a plain article.&lt;/p&gt;
&lt;h2 id="hero"&gt;Hero&lt;a class="hd-anchor" href="#hero" aria-hidden="true"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;A badge, a title, a Markdown subtitle, a row of call-to-action buttons and an info line:&lt;/p&gt;</description></item><item><title>Features</title><link>https://fernandezvara.github.io/hugodoks/docs/features/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://fernandezvara.github.io/hugodoks/docs/features/</guid><description>&lt;p&gt;A tour of what hugodoks renders for every docs site, and the switches that control it.&lt;/p&gt;
&lt;h2 id="sidebar-navigation"&gt;Sidebar navigation&lt;a class="hd-anchor" href="#sidebar-navigation" aria-hidden="true"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Pages under &lt;code&gt;params.docs.navRoot&lt;/code&gt; (default &lt;code&gt;/docs&lt;/code&gt;) become the left sidebar:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Leaf pages and sections sort by &lt;code&gt;weight&lt;/code&gt;; a page&amp;rsquo;s &lt;code&gt;icon&lt;/code&gt; shows next to its title. Pages without one get a fallback marker — &lt;code&gt;params.docs.navDefaultIcon&lt;/code&gt; (default &lt;code&gt;dot&lt;/code&gt;; set &lt;code&gt;&amp;quot;&amp;quot;&lt;/code&gt; for an empty slot).&lt;/li&gt;
&lt;li&gt;Directories with &lt;code&gt;_index.md&lt;/code&gt; render as collapsible &lt;code&gt;&amp;lt;details&amp;gt;&lt;/code&gt; groups that auto-open on the active page. The section title links to its &lt;code&gt;_index&lt;/code&gt; page; the caret toggles the group. Sibling groups stay open independently, like a file browser, and each group&amp;rsquo;s open state persists in &lt;code&gt;localStorage&lt;/code&gt; across page loads.&lt;/li&gt;
&lt;li&gt;The current page is highlighted and marked &lt;code&gt;aria-current=&amp;quot;page&amp;quot;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Below 768px the sidebar becomes an off-canvas drawer opened by the header&amp;rsquo;s hamburger button.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="table-of-contents"&gt;Table of contents&lt;a class="hd-anchor" href="#table-of-contents" aria-hidden="true"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;With &lt;code&gt;toc: true&lt;/code&gt; in front matter, a sticky &amp;ldquo;On this page&amp;rdquo; aside is built from the page&amp;rsquo;s &lt;code&gt;h2&lt;/code&gt;–&lt;code&gt;h3&lt;/code&gt; headings (configure the range with &lt;code&gt;markup.tableOfContents.startLevel&lt;/code&gt;/&lt;code&gt;endLevel&lt;/code&gt;). The toggle button collapses it and remembers the choice across pages via &lt;code&gt;localStorage&lt;/code&gt;.&lt;/p&gt;</description></item></channel></rss>