Skip to content

Commit

Permalink
Deployed a43dbbe to main with MkDocs 1.6.1 and mike 1.2.0.dev0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 5, 2024
1 parent d4470e4 commit 449b8fc
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 36 deletions.
78 changes: 43 additions & 35 deletions main/contributing/code/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -824,52 +824,60 @@ <h2 id="formatting">Formatting</h2>
<span class="normal"><a href="#__codelineno-1-43">43</a></span>
<span class="normal"><a href="#__codelineno-1-44">44</a></span>
<span class="normal"><a href="#__codelineno-1-45">45</a></span>
<span class="normal"><a href="#__codelineno-1-46">46</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-1-1" name="__codelineno-1-1"></a><span class="p">{</span>
<span class="normal"><a href="#__codelineno-1-46">46</a></span>
<span class="normal"><a href="#__codelineno-1-47">47</a></span>
<span class="normal"><a href="#__codelineno-1-48">48</a></span>
<span class="normal"><a href="#__codelineno-1-49">49</a></span>
<span class="normal"><a href="#__codelineno-1-50">50</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-1-1" name="__codelineno-1-1"></a><span class="p">{</span>
<a id="__codelineno-1-2" name="__codelineno-1-2"></a> pkgs<span class="p">,</span>
<a id="__codelineno-1-3" name="__codelineno-1-3"></a> inputs<span class="p">,</span>
<a id="__codelineno-1-4" name="__codelineno-1-4"></a> <span class="o">...</span>
<a id="__codelineno-1-5" name="__codelineno-1-5"></a><span class="p">}:</span>
<a id="__codelineno-1-6" name="__codelineno-1-6"></a>inputs<span class="o">.</span>treefmt-nix<span class="o">.</span>lib<span class="o">.</span>mkWrapper pkgs <span class="p">{</span>
<a id="__codelineno-1-7" name="__codelineno-1-7"></a> <span class="ss">projectRootFile</span> <span class="o">=</span> <span class="s2">&quot;.git/config&quot;</span><span class="p">;</span>
<a id="__codelineno-1-8" name="__codelineno-1-8"></a>
<a id="__codelineno-1-9" name="__codelineno-1-9"></a> <span class="ss">programs</span> <span class="o">=</span> <span class="p">{</span>
<a id="__codelineno-1-10" name="__codelineno-1-10"></a> alejandra<span class="o">.</span><span class="ss">enable</span> <span class="o">=</span> <span class="no">true</span><span class="p">;</span>
<a id="__codelineno-1-11" name="__codelineno-1-11"></a> deadnix<span class="o">.</span><span class="ss">enable</span> <span class="o">=</span> <span class="no">true</span><span class="p">;</span>
<a id="__codelineno-1-12" name="__codelineno-1-12"></a> gofumpt<span class="o">.</span><span class="ss">enable</span> <span class="o">=</span> <span class="no">true</span><span class="p">;</span>
<a id="__codelineno-1-13" name="__codelineno-1-13"></a> prettier<span class="o">.</span><span class="ss">enable</span> <span class="o">=</span> <span class="no">true</span><span class="p">;</span>
<a id="__codelineno-1-14" name="__codelineno-1-14"></a> statix<span class="o">.</span><span class="ss">enable</span> <span class="o">=</span> <span class="no">true</span><span class="p">;</span>
<a id="__codelineno-1-15" name="__codelineno-1-15"></a> <span class="p">};</span>
<a id="__codelineno-1-16" name="__codelineno-1-16"></a>
<a id="__codelineno-1-17" name="__codelineno-1-17"></a> <span class="ss">settings</span> <span class="o">=</span> <span class="p">{</span>
<a id="__codelineno-1-18" name="__codelineno-1-18"></a> global<span class="o">.</span><span class="ss">excludes</span> <span class="o">=</span> <span class="p">[</span>
<a id="__codelineno-1-19" name="__codelineno-1-19"></a> <span class="s2">&quot;LICENSE&quot;</span>
<a id="__codelineno-1-20" name="__codelineno-1-20"></a> <span class="c1"># unsupported extensions</span>
<a id="__codelineno-1-21" name="__codelineno-1-21"></a> <span class="s2">&quot;*.{gif,png,svg,tape,mts,lock,mod,sum,toml,env,envrc,gitignore}&quot;</span>
<a id="__codelineno-1-22" name="__codelineno-1-22"></a> <span class="p">];</span>
<a id="__codelineno-1-23" name="__codelineno-1-23"></a>
<a id="__codelineno-1-24" name="__codelineno-1-24"></a> <span class="ss">formatter</span> <span class="o">=</span> <span class="p">{</span>
<a id="__codelineno-1-25" name="__codelineno-1-25"></a> <span class="ss">deadnix</span> <span class="o">=</span> <span class="p">{</span>
<a id="__codelineno-1-26" name="__codelineno-1-26"></a> <span class="ss">priority</span> <span class="o">=</span> <span class="mi">1</span><span class="p">;</span>
<a id="__codelineno-1-27" name="__codelineno-1-27"></a> <span class="p">};</span>
<a id="__codelineno-1-28" name="__codelineno-1-28"></a>
<a id="__codelineno-1-29" name="__codelineno-1-29"></a> <span class="ss">statix</span> <span class="o">=</span> <span class="p">{</span>
<a id="__codelineno-1-30" name="__codelineno-1-30"></a> <span class="ss">priority</span> <span class="o">=</span> <span class="mi">2</span><span class="p">;</span>
<a id="__codelineno-1-9" name="__codelineno-1-9"></a> <span class="ss">programs</span> <span class="o">=</span>
<a id="__codelineno-1-10" name="__codelineno-1-10"></a> <span class="p">{</span>
<a id="__codelineno-1-11" name="__codelineno-1-11"></a> alejandra<span class="o">.</span><span class="ss">enable</span> <span class="o">=</span> <span class="no">true</span><span class="p">;</span>
<a id="__codelineno-1-12" name="__codelineno-1-12"></a> deadnix<span class="o">.</span><span class="ss">enable</span> <span class="o">=</span> <span class="no">true</span><span class="p">;</span>
<a id="__codelineno-1-13" name="__codelineno-1-13"></a> gofumpt<span class="o">.</span><span class="ss">enable</span> <span class="o">=</span> <span class="no">true</span><span class="p">;</span>
<a id="__codelineno-1-14" name="__codelineno-1-14"></a> prettier<span class="o">.</span><span class="ss">enable</span> <span class="o">=</span> <span class="no">true</span><span class="p">;</span>
<a id="__codelineno-1-15" name="__codelineno-1-15"></a> statix<span class="o">.</span><span class="ss">enable</span> <span class="o">=</span> <span class="no">true</span><span class="p">;</span>
<a id="__codelineno-1-16" name="__codelineno-1-16"></a> <span class="p">}</span>
<a id="__codelineno-1-17" name="__codelineno-1-17"></a> <span class="o">//</span> pkgs<span class="o">.</span>lib<span class="o">.</span>optionalAttrs <span class="p">(</span>pkgs<span class="o">.</span>system <span class="o">!=</span> <span class="s2">&quot;riscv64-linux&quot;</span><span class="p">)</span> <span class="p">{</span>
<a id="__codelineno-1-18" name="__codelineno-1-18"></a> shellcheck<span class="o">.</span><span class="ss">enable</span> <span class="o">=</span> <span class="no">true</span><span class="p">;</span>
<a id="__codelineno-1-19" name="__codelineno-1-19"></a> <span class="p">};</span>
<a id="__codelineno-1-20" name="__codelineno-1-20"></a>
<a id="__codelineno-1-21" name="__codelineno-1-21"></a> <span class="ss">settings</span> <span class="o">=</span> <span class="p">{</span>
<a id="__codelineno-1-22" name="__codelineno-1-22"></a> global<span class="o">.</span><span class="ss">excludes</span> <span class="o">=</span> <span class="p">[</span>
<a id="__codelineno-1-23" name="__codelineno-1-23"></a> <span class="s2">&quot;LICENSE&quot;</span>
<a id="__codelineno-1-24" name="__codelineno-1-24"></a> <span class="c1"># unsupported extensions</span>
<a id="__codelineno-1-25" name="__codelineno-1-25"></a> <span class="s2">&quot;*.{gif,png,svg,tape,mts,lock,mod,sum,toml,env,envrc,gitignore}&quot;</span>
<a id="__codelineno-1-26" name="__codelineno-1-26"></a> <span class="p">];</span>
<a id="__codelineno-1-27" name="__codelineno-1-27"></a>
<a id="__codelineno-1-28" name="__codelineno-1-28"></a> <span class="ss">formatter</span> <span class="o">=</span> <span class="p">{</span>
<a id="__codelineno-1-29" name="__codelineno-1-29"></a> <span class="ss">deadnix</span> <span class="o">=</span> <span class="p">{</span>
<a id="__codelineno-1-30" name="__codelineno-1-30"></a> <span class="ss">priority</span> <span class="o">=</span> <span class="mi">1</span><span class="p">;</span>
<a id="__codelineno-1-31" name="__codelineno-1-31"></a> <span class="p">};</span>
<a id="__codelineno-1-32" name="__codelineno-1-32"></a>
<a id="__codelineno-1-33" name="__codelineno-1-33"></a> <span class="ss">alejandra</span> <span class="o">=</span> <span class="p">{</span>
<a id="__codelineno-1-34" name="__codelineno-1-34"></a> <span class="ss">priority</span> <span class="o">=</span> <span class="mi">3</span><span class="p">;</span>
<a id="__codelineno-1-33" name="__codelineno-1-33"></a> <span class="ss">statix</span> <span class="o">=</span> <span class="p">{</span>
<a id="__codelineno-1-34" name="__codelineno-1-34"></a> <span class="ss">priority</span> <span class="o">=</span> <span class="mi">2</span><span class="p">;</span>
<a id="__codelineno-1-35" name="__codelineno-1-35"></a> <span class="p">};</span>
<a id="__codelineno-1-36" name="__codelineno-1-36"></a>
<a id="__codelineno-1-37" name="__codelineno-1-37"></a> <span class="ss">prettier</span> <span class="o">=</span> <span class="p">{</span>
<a id="__codelineno-1-38" name="__codelineno-1-38"></a> <span class="ss">options</span> <span class="o">=</span> <span class="p">[</span>
<a id="__codelineno-1-39" name="__codelineno-1-39"></a> <span class="s2">&quot;--tab-width&quot;</span>
<a id="__codelineno-1-40" name="__codelineno-1-40"></a> <span class="s2">&quot;4&quot;</span>
<a id="__codelineno-1-41" name="__codelineno-1-41"></a> <span class="p">];</span>
<a id="__codelineno-1-42" name="__codelineno-1-42"></a> <span class="ss">includes</span> <span class="o">=</span> <span class="p">[</span><span class="s2">&quot;*.{css,html,js,json,jsx,md,mdx,scss,ts,yaml}&quot;</span><span class="p">];</span>
<a id="__codelineno-1-43" name="__codelineno-1-43"></a> <span class="p">};</span>
<a id="__codelineno-1-44" name="__codelineno-1-44"></a> <span class="p">};</span>
<a id="__codelineno-1-45" name="__codelineno-1-45"></a> <span class="p">};</span>
<a id="__codelineno-1-46" name="__codelineno-1-46"></a><span class="p">}</span>
<a id="__codelineno-1-37" name="__codelineno-1-37"></a> <span class="ss">alejandra</span> <span class="o">=</span> <span class="p">{</span>
<a id="__codelineno-1-38" name="__codelineno-1-38"></a> <span class="ss">priority</span> <span class="o">=</span> <span class="mi">3</span><span class="p">;</span>
<a id="__codelineno-1-39" name="__codelineno-1-39"></a> <span class="p">};</span>
<a id="__codelineno-1-40" name="__codelineno-1-40"></a>
<a id="__codelineno-1-41" name="__codelineno-1-41"></a> <span class="ss">prettier</span> <span class="o">=</span> <span class="p">{</span>
<a id="__codelineno-1-42" name="__codelineno-1-42"></a> <span class="ss">options</span> <span class="o">=</span> <span class="p">[</span>
<a id="__codelineno-1-43" name="__codelineno-1-43"></a> <span class="s2">&quot;--tab-width&quot;</span>
<a id="__codelineno-1-44" name="__codelineno-1-44"></a> <span class="s2">&quot;4&quot;</span>
<a id="__codelineno-1-45" name="__codelineno-1-45"></a> <span class="p">];</span>
<a id="__codelineno-1-46" name="__codelineno-1-46"></a> <span class="ss">includes</span> <span class="o">=</span> <span class="p">[</span><span class="s2">&quot;*.{css,html,js,json,jsx,md,mdx,scss,ts,yaml}&quot;</span><span class="p">];</span>
<a id="__codelineno-1-47" name="__codelineno-1-47"></a> <span class="p">};</span>
<a id="__codelineno-1-48" name="__codelineno-1-48"></a> <span class="p">};</span>
<a id="__codelineno-1-49" name="__codelineno-1-49"></a> <span class="p">};</span>
<a id="__codelineno-1-50" name="__codelineno-1-50"></a><span class="p">}</span>
</code></pre></div></td></tr></table></div>
<h2 id="checks">Checks</h2>
<p>Running <code>nix flake check</code> will build all the devshells and Nix packages, as well as check the formatting with <a href="https://treefmt.com">treefmt</a>
Expand Down
Loading

0 comments on commit 449b8fc

Please sign in to comment.