<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Build on Docsy</title><link>https://main--docsydocs.netlify.app/project/build/</link><description>Recent content in Build on Docsy</description><generator>Hugo</generator><language>en</language><atom:link href="https://main--docsydocs.netlify.app/project/build/index.xml" rel="self" type="application/rss+xml"/><item><title>CI/CD</title><link>https://main--docsydocs.netlify.app/project/build/ci-cd/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://main--docsydocs.netlify.app/project/build/ci-cd/</guid><description>&lt;h2 id="prettier-formatting"&gt;Prettier formatting&lt;a class="td-heading-self-link" href="#prettier-formatting" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;We use &lt;a href="https://prettier.io"&gt;Prettier&lt;/a&gt; to format Docsy and the website files
using the following command:&lt;/p&gt;
&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;npm run check:format
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;To fix formatting, run Prettier: &lt;code&gt;npm run fix:format&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id="i18n-workaround"&gt;i18n workaround&lt;a class="td-heading-self-link" href="#i18n-workaround" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The translation files in the &lt;code&gt;i18n&lt;/code&gt; directory are formatted using Prettier. But
Prettier removes the blank line before the &lt;code&gt;# Feedback&lt;/code&gt; section heading. This
seems to be a known issue, for example see:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/prettier/prettier/issues/15528"&gt;Bug: Inconsistent newline formatting in YAML when changing scopes
#15528&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/prettier/prettier/issues/15720"&gt;Bug: New Line before comments at end of YAML files are removed
#15720&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We&amp;rsquo;ve worked around this bug, and avoided using &lt;code&gt;prettier-ignore&lt;/code&gt; directives, by
formatting the preceding entry in the YAML file to be a block scalar, like this:&lt;/p&gt;</description></item><item><title>Git repo info and branch model</title><link>https://main--docsydocs.netlify.app/project/build/git-repo/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://main--docsydocs.netlify.app/project/build/git-repo/</guid><description>&lt;h2 id="monorepo"&gt;Monorepo&lt;a class="td-heading-self-link" href="#monorepo" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The &lt;a href="https://github.com/google/docsy"&gt;main Docsy repository&lt;/a&gt; is effectively a &lt;strong&gt;monorepo&lt;/strong&gt; containing the
Docsy:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Theme&lt;/strong&gt; at the repo root&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Website&lt;/strong&gt; in the &lt;code&gt;docsy.dev&lt;/code&gt; directory. The website uses the Docsy theme, of
course, with extra styling.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These two projects are kept in sync at release points, but they may diverge
between releases, usually to allow the website to ship doc content and UX
improvements without forcing a theme release.&lt;/p&gt;
&lt;p&gt;The main Docsy example site is &lt;a href="https://example.docsy.dev"&gt;Goldydocs&lt;/a&gt;, located in the &lt;a href="https://github.com/google/docsy-example"&gt;Docsy example site
repository&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>