toshiki-notebook/assets/development_aws_README.md.c99f7788.js

2 lines
3.3 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as e,c as s,o as a,R as o}from"./chunks/framework.ade46834.js";const b=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"development/aws/README.md","filePath":"development/aws/README.md","lastUpdated":1686503895000}'),l={name:"development/aws/README.md"},n=o('<p>The source of the main text is here, written with <a href="https://asciidoctor.org/" target="_blank" rel="noreferrer">asciidoctor</a>.</p><p>If you want to build the document from the source, follow these steps.</p><h2 id="install" tabindex="-1">Install <a class="header-anchor" href="#install" aria-label="Permalink to &quot;Install&quot;"></a></h2><p>Prerequisites:</p><ul><li><code>ruby</code></li><li><code>bundler</code></li></ul><p>Install ruby libraries:</p><div class="language-bash vp-adaptive-theme line-numbers-mode"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki solarized-dark vp-code-dark"><code><span class="line"><span style="color:#268BD2;">bundle</span><span style="color:#839496;"> </span><span style="color:#2AA198;">install</span><span style="color:#839496;"> </span><span style="color:#CB4B16;">--path</span><span style="color:#839496;"> </span><span style="color:#2AA198;">vendor/bundle</span></span></code></pre><pre class="shiki solarized-light vp-code-light"><code><span class="line"><span style="color:#268BD2;">bundle</span><span style="color:#657B83;"> </span><span style="color:#2AA198;">install</span><span style="color:#657B83;"> </span><span style="color:#CB4B16;">--path</span><span style="color:#657B83;"> </span><span style="color:#2AA198;">vendor/bundle</span></span></code></pre><div class="line-numbers-wrapper" aria-hidden="true"><span class="line-number">1</span><br></div></div><h2 id="build-the-document" tabindex="-1">Build the document <a class="header-anchor" href="#build-the-document" aria-label="Permalink to &quot;Build the document&quot;"></a></h2><div class="language-bash vp-adaptive-theme line-numbers-mode"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki solarized-dark vp-code-dark"><code><span class="line"><span style="color:#268BD2;">./generate.sh</span><span style="color:#839496;"> </span><span style="color:#2AA198;">main.adoc</span></span></code></pre><pre class="shiki solarized-light vp-code-light"><code><span class="line"><span style="color:#268BD2;">./generate.sh</span><span style="color:#657B83;"> </span><span style="color:#2AA198;">main.adoc</span></span></code></pre><div class="line-numbers-wrapper" aria-hidden="true"><span class="line-number">1</span><br></div></div><p>This will generate HTML and PDF documents in the directory named <code>dist/</code>.</p><h2 id="source-structure" tabindex="-1">Source structure <a class="header-anchor" href="#source-structure" aria-label="Permalink to &quot;Source structure&quot;"></a></h2><ul><li><code>main.adoc</code>: Main document</li><li><code>dist/</code>: Output document (both HTML and PDF) will be generated here</li><li><code>imgs/</code>: Put image files here</li><li><code>fonts/</code>, <code>pdf-style/</code>: Fonts and styles for PDF generation. Do not touch!</li><li><code>XXX.adoc</code>: One section per file</li></ul>',12),t=[n];function r(c,i,d,p,u,h){return a(),s("div",null,t)}const y=e(l,[["render",r]]);export{b as __pageData,y as default};