<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Authoring on OINK</title>
    <link>https://oink.pgsty.com/v1.8/docs/write/</link>
    <description>Recent content in Authoring on OINK</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    
    
    
      <lastBuildDate>Sat, 05 Dec 2026 19:25:20 +0800</lastBuildDate>
    
    
      <atom:link href="https://oink.pgsty.com/v1.8/docs/write/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
        <title>API reference pages</title>
        <link>https://oink.pgsty.com/v1.8/docs/write/openapi/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/write/openapi/</guid>
        <description>&lt;p&gt;Publish an API reference straight from the OpenAPI file your service already&#xA;has: save the file under &lt;code&gt;static/&lt;/code&gt; and add one shortcode to a page. Choose&#xA;Swagger UI when readers should try requests from the page, or Redoc when they&#xA;mainly read endpoint descriptions and schemas. Both runtimes ship with the&#xA;theme and load only on pages that use them, so the site needs no CDN, and&#xA;Swagger UI&amp;rsquo;s online validator is turned off. Remote specifications, and the&#xA;requests readers send to your API, still reach their own hosts.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Releases and downloads</title>
        <link>https://oink.pgsty.com/v1.8/docs/write/releases/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/write/releases/</guid>
        <description>&lt;p&gt;A release page tells readers what shipped and lets them download it safely: a&#xA;card linking the GitHub release and its source archives, a table of files with&#xA;their checksums, and install instructions for each way of getting the&#xA;software. OINK builds all of it from facts kept in your repository (one&#xA;&lt;code&gt;release_url&lt;/code&gt; in the page&amp;rsquo;s front matter, the &lt;code&gt;sha256sum&lt;/code&gt; output you paste&#xA;into the body, and a &lt;code&gt;data/download/&amp;lt;key&amp;gt;.yaml&lt;/code&gt; record), so the build never&#xA;contacts GitHub.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Image albums with Expo</title>
        <link>https://oink.pgsty.com/v1.8/docs/write/expo/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/write/expo/</guid>
        <description>&lt;p&gt;Expo turns folders of images into a collection readers browse rather than&#xA;read: albums grouped in the sidebar, a grid of the selected album&amp;rsquo;s images,&#xA;and a viewer for zooming and stepping through them. Use it when the images are&#xA;the content, such as a photo archive, a screenshot library or a set of posters&#xA;and diagrams. For a few images inside an article, the&#xA;&lt;a href=&#34;https://oink.pgsty.com/v1.8/docs/components/gallery/&#34;&gt;Gallery component&lt;/a&gt; fits better. The&#xA;&lt;a href=&#34;https://oink.pgsty.com/expo/&#34; data-td-link=&#34;latest&#34;&gt;example albums&lt;/a&gt; show every control described here.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Books</title>
        <link>https://oink.pgsty.com/v1.8/docs/write/book/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/write/book/</guid>
        <description>&lt;p&gt;Documentation is consulted: readers arrive from search, read one page and&#xA;leave. A book is read in order, and its readers expect what print taught them:&#xA;numbered chapters, figures and tables they can cite as &amp;ldquo;Figure 2-1&amp;rdquo;,&#xA;cross-references that keep working when chapters move, and the whole text as&#xA;one document they can print or export. Set &lt;code&gt;type: book&lt;/code&gt; on a content tree and&#xA;OINK provides all of that while every chapter stays an ordinary Markdown page.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Blog posts</title>
        <link>https://oink.pgsty.com/v1.8/docs/write/blog/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/write/blog/</guid>
        <description>&lt;p&gt;A blog section gives dated writing the shell readers expect from a blog: a&#xA;newest-first index with a thumbnail on every row, an RSS feed, bylines, tags&#xA;and share links. The body of a post is ordinary Markdown, written exactly like&#xA;a documentation page; what changes is the front matter and the section around&#xA;it.&lt;/p&gt;&#xA;&lt;h2 id=&#34;front-matter&#34;&gt;Write a post&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Create one Markdown file per post anywhere in the blog section. The file path&#xA;becomes the URL, and the &lt;code&gt;date&lt;/code&gt;, not the folder, decides where the post appears:&lt;/p&gt;</description>
      </item>
    <item>
        <title>Page parameters</title>
        <link>https://oink.pgsty.com/v1.8/docs/write/frontmatter/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/write/frontmatter/</guid>
        <description>&lt;p&gt;Front matter lets one page, or a whole section through &lt;code&gt;cascade&lt;/code&gt;, depart from&#xA;the site-wide settings in &lt;code&gt;hugo.yml&lt;/code&gt;: a wide layout for one reference table, no&#xA;pager on a landing page, comments on blog posts but not on the docs. The keys&#xA;below are every page key OINK reads, grouped by what they change. Hugo&amp;rsquo;s own&#xA;fields (&lt;code&gt;slug&lt;/code&gt;, &lt;code&gt;url&lt;/code&gt;, &lt;code&gt;build&lt;/code&gt;, &lt;code&gt;sitemap&lt;/code&gt;, &lt;code&gt;expiryDate&lt;/code&gt; and the rest) work as&#xA;usual and are documented by&#xA;&lt;a href=&#34;https://gohugo.io/content-management/front-matter/&#34;&gt;Hugo&lt;/a&gt;. Site parameters&#xA;are in &lt;a href=&#34;https://oink.pgsty.com/v1.8/docs/customize/config/&#34;&gt;Configuration&lt;/a&gt;.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Organizing content</title>
        <link>https://oink.pgsty.com/v1.8/docs/write/organize/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/write/organize/</guid>
        <description>&lt;p&gt;The folders under &lt;code&gt;content/&lt;/code&gt; are your navigation. Each folder becomes a group&#xA;in the sidebar, each Markdown file a page, and &lt;code&gt;weight&lt;/code&gt; sets the order, so you&#xA;shape the sidebar by arranging files instead of maintaining a separate menu.&#xA;The same tree drives the breadcrumbs, the previous/next pager and the child&#xA;list on every section page, which keeps all of them in agreement.&lt;/p&gt;&#xA;&lt;h2 id=&#34;tree-is-sidebar&#34;&gt;Directories are the sidebar&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Hugo calls a folder a section; the Markdown files in it are its pages, and&#xA;nested folders are subsections. The sidebar renders that tree level by level,&#xA;labels each entry with &lt;code&gt;linkTitle&lt;/code&gt; (or &lt;code&gt;title&lt;/code&gt; when there is none), and orders&#xA;siblings by &lt;code&gt;weight&lt;/code&gt;. A product&amp;rsquo;s documentation might look like this:&lt;/p&gt;</description>
      </item>
    <item>
        <title>Writing pages</title>
        <link>https://oink.pgsty.com/v1.8/docs/write/pages/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/write/pages/</guid>
        <description>&lt;p&gt;A documentation page is one Markdown file under &lt;code&gt;content/&lt;/code&gt;: a few lines of YAML&#xA;front matter, then the body. Where you save the file decides its URL and its&#xA;place in the sidebar, so a new page needs nothing beyond the file itself:&lt;/p&gt;&#xA;&lt;div class=&#34;td-code td-code--titled&#34; id=&#34;td-code-3a009233-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;markdown&#34; data-td-line-count=&#34;14&#34; role=&#34;group&#34; aria-labelledby=&#34;td-code-3a009233-fence-0-title&#34;&gt;&#xA;  &lt;div class=&#34;td-code__header&#34;&gt;&#xA;    &lt;span class=&#34;td-code__filename&#34; id=&#34;td-code-3a009233-fence-0-title&#34; title=&#34;content/docs/install.md&#34;&gt;content/docs/install.md&lt;/span&gt;&lt;/div&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-3a009233-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-markdown&#34; data-lang=&#34;markdown&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nn&#34;&gt;---&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;title&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;Install Pigsty&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;linkTitle&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;Install&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;description&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;Get a working PostgreSQL cluster onto a clean EL 9 machine.&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;weight&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;m&#34;&gt;20&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nn&#34;&gt;---&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;gu&#34;&gt;## Prerequisites {#prerequisites}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;A Linux machine you can reach over SSH, passwordless &lt;span class=&#34;sb&#34;&gt;`sudo`&lt;/span&gt;, and Python 3.11 or&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;newer.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;&amp;gt; &lt;/span&gt;&lt;span class=&#34;ge&#34;&gt;[!IMPORTANT]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&amp;gt; The installer rewrites &lt;span class=&#34;sb&#34;&gt;`/etc/yum.repos.d/`&lt;/span&gt;. Back it up first.&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;With &lt;code&gt;hugo server&lt;/code&gt; running, the page appears at &lt;code&gt;/docs/install/&lt;/code&gt; and as&#xA;&lt;strong&gt;Install&lt;/strong&gt; in the sidebar. If your site does not build yet, start with&#xA;&lt;a href=&#34;https://oink.pgsty.com/v1.8/docs/start/&#34;&gt;Get started&lt;/a&gt;.&lt;/p&gt;</description>
      </item>
    
  </channel>
</rss>
