Skip to content

Commit

Permalink
Generate via script for generating HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
brikis98 committed Jun 11, 2024
1 parent 96a0612 commit 16e3641
Show file tree
Hide file tree
Showing 13 changed files with 947 additions and 1,025 deletions.
72 changes: 33 additions & 39 deletions docs/02.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name="generator" content="Asciidoctor 2.0.16">
<meta name="generator" content="Asciidoctor 2.0.22">

<title>Part 1. An Introduction to DevOps and Software Delivery</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
Expand Down Expand Up @@ -169,14 +169,14 @@

ul li ul,ul li ol{margin-left:1.25em;margin-bottom:0}

ul.square li ul,ul.circle li ul,ul.disc li ul{list-style:inherit}

ul.square{list-style-type:square}

ul.circle{list-style-type:circle}

ul.disc{list-style-type:disc}

ul.square{list-style-type:square}

ul.circle ul:not([class]),ul.disc ul:not([class]),ul.square ul:not([class]){list-style:inherit}

ol li ul,ol li ol{margin-left:1.25em;margin-bottom:0}

dl dt{margin-bottom:.3125em;font-weight:bold}
Expand Down Expand Up @@ -281,7 +281,7 @@

#header>h1:first-child+#toc{margin-top:8px;border-top:1px solid #dddddf}

#header>h1:only-child,body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #dddddf;padding-bottom:8px}
#header>h1:only-child{border-bottom:1px solid #dddddf;padding-bottom:8px}

#header .details{border-bottom:1px solid #dddddf;line-height:1.45;padding-top:.25em;padding-bottom:.25em;padding-left:.25em;color:rgba(0,0,0,.6);display:flex;flex-flow:row wrap}

Expand Down Expand Up @@ -325,6 +325,8 @@

body.toc2{padding-left:15em;padding-right:0}

body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #dddddf;padding-bottom:8px}

#toc.toc2{margin-top:0!important;background:#f8f8f7;position:fixed;width:15em;left:0;top:0;border-right:1px solid #e7e7e9;border-top-width:0!important;border-bottom-width:0!important;z-index:1000;padding:1.25em 1em;height:100%;overflow:auto}

#toc.toc2 #toctitle{margin-top:0;margin-bottom:.8rem;font-size:1.2em}
Expand Down Expand Up @@ -387,7 +389,9 @@

details{margin-left:1.25rem}

details>summary{cursor:pointer;display:block;position:relative;line-height:1.6;margin-bottom:.625rem;-webkit-tap-highlight-color:transparent}
details>summary{cursor:pointer;display:block;position:relative;line-height:1.6;margin-bottom:.625rem;outline:none;-webkit-tap-highlight-color:transparent}

details>summary::-webkit-details-marker{display:none}

details>summary::before{content:"";border:solid transparent;border-left:solid;border-width:.3em 0 .3em .5em;position:absolute;top:.5em;left:-1.25rem;transform:translateX(15%)}

Expand Down Expand Up @@ -415,19 +419,13 @@

.exampleblock>.content{border:1px solid #e6e6e6;margin-bottom:1.25em;padding:1.25em;background:#fff;border-radius:4px}

.exampleblock>.content>:first-child{margin-top:0}

.exampleblock>.content>:last-child{margin-bottom:0}

.sidebarblock{border:1px solid #dbdbd6;margin-bottom:1.25em;padding:1.25em;background:#f3f3f2;border-radius:4px}

.sidebarblock>:first-child{margin-top:0}

.sidebarblock>:last-child{margin-bottom:0}

.sidebarblock>.content>.title{color:#7a2518;margin-top:0;text-align:center}

.exampleblock>.content>:last-child>:last-child,.exampleblock>.content .olist>ol>li:last-child>:last-child,.exampleblock>.content .ulist>ul>li:last-child>:last-child,.exampleblock>.content .qlist>ol>li:last-child>:last-child,.sidebarblock>.content>:last-child>:last-child,.sidebarblock>.content .olist>ol>li:last-child>:last-child,.sidebarblock>.content .ulist>ul>li:last-child>:last-child,.sidebarblock>.content .qlist>ol>li:last-child>:last-child{margin-bottom:0}
.exampleblock>.content>:first-child,.sidebarblock>.content>:first-child{margin-top:0}

.exampleblock>.content>:last-child,.exampleblock>.content>:last-child>:last-child,.exampleblock>.content .olist>ol>li:last-child>:last-child,.exampleblock>.content .ulist>ul>li:last-child>:last-child,.exampleblock>.content .qlist>ol>li:last-child>:last-child,.sidebarblock>.content>:last-child,.sidebarblock>.content>:last-child>:last-child,.sidebarblock>.content .olist>ol>li:last-child>:last-child,.sidebarblock>.content .ulist>ul>li:last-child>:last-child,.sidebarblock>.content .qlist>ol>li:last-child>:last-child{margin-bottom:0}

.literalblock pre,.listingblock>.content>pre{border-radius:4px;overflow-x:auto;padding:1em;font-size:.8125em}

Expand Down Expand Up @@ -471,11 +469,9 @@

table.linenotable td.code{padding-left:.75em}

table.linenotable td.linenos{border-right:1px solid;opacity:.35;padding-right:.5em}
table.linenotable td.linenos,pre.pygments .linenos{border-right:1px solid;opacity:.35;padding-right:.5em;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}

pre.pygments .lineno{border-right:1px solid;opacity:.35;display:inline-block;margin-right:.75em}

pre.pygments .lineno::before{content:"";margin-right:-.125em}
pre.pygments span.linenos{display:inline-block;margin-right:.75em}

.quoteblock{margin:0 1em 1.25em 1.5em;display:table}

Expand Down Expand Up @@ -549,7 +545,7 @@

table.frame-none>*>tr>:last-child,table.frame-ends>*>tr>:last-child{border-right-width:0}

table.stripes-all tr,table.stripes-odd tr:nth-of-type(odd),table.stripes-even tr:nth-of-type(even),table.stripes-hover tr:hover{background:#f8f8f7}
table.stripes-all>*>tr,table.stripes-odd>*>tr:nth-of-type(odd),table.stripes-even>*>tr:nth-of-type(even),table.stripes-hover>*>tr:hover{background:#f8f8f7}

th.halign-left,td.halign-left{text-align:left}

Expand Down Expand Up @@ -581,14 +577,16 @@

dl dd:last-child,dl dd:last-child>:last-child{margin-bottom:0}

ol>li p,ul>li p,ul dd,ol dd,.olist .olist,.ulist .ulist,.ulist .olist,.olist .ulist{margin-bottom:.625em}
li p,ul dd,ol dd,.olist .olist,.ulist .ulist,.ulist .olist,.olist .ulist{margin-bottom:.625em}

ul.checklist,ul.none,ol.none,ul.no-bullet,ol.no-bullet,ol.unnumbered,ul.unstyled,ol.unstyled{list-style-type:none}

ul.no-bullet,ol.no-bullet,ol.unnumbered{margin-left:.625em}

ul.unstyled,ol.unstyled{margin-left:0}

li>p:empty:only-child::before{content:"";display:inline-block}

ul.checklist>li>p:first-child{margin-left:-1em}

ul.checklist>li>p:first-child>.fa-square-o:first-child,ul.checklist>li>p:first-child>.fa-check-square-o:first-child{width:1.25em;font-size:.8em;position:relative;bottom:.125em}
Expand Down Expand Up @@ -659,7 +657,7 @@

sup.footnote a,sup.footnoteref a{text-decoration:none}

sup.footnote a:active,sup.footnoteref a:active{text-decoration:underline}
sup.footnote a:active,sup.footnoteref a:active,#footnotes .footnote a:first-of-type:active{text-decoration:underline}

#footnotes{padding-top:.75em;padding-bottom:.75em;margin-bottom:.625em}

Expand All @@ -673,10 +671,6 @@

#content #footnotes{margin-top:-.625em;margin-bottom:0;padding:.75em 0}

.gist .file-data>table{border:0;background:#fff;width:100%;margin-bottom:0}

.gist .file-data>table td.line-data{width:99%}

div.unbreakable{page-break-inside:avoid}

.big{font-size:larger}
Expand Down Expand Up @@ -789,7 +783,7 @@

p strong,td.content strong,div.footnote strong{letter-spacing:-.005em}

p,blockquote,dt,td.content,span.alt,summary{font-size:1.0625rem}
p,blockquote,dt,td.content,td.hdlist1,span.alt,summary{font-size:1.0625rem}

p{margin-bottom:1.25rem}

Expand Down Expand Up @@ -2612,25 +2606,25 @@ <h3 id="example_run_sample_app_locally">Example: Run the Sample App Locally</h3>

<div class="content">

<pre class="CodeRay highlight"><code data-lang="javascript">const http = require(<span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">'</span><span style="color:#D20">http</span><span style="color:#710">'</span></span>);
<pre class="highlight"><code class="language-javascript" data-lang="javascript">const http = require('http');



const server = http.createServer((req, res) =&gt; {

res.writeHead(<span style="color:#00D">200</span>, { <span style="color:#606"><span style="color:#404">'</span><span>Content-Type</span><span style="color:#404">'</span></span>: <span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">'</span><span style="color:#D20">text/plain</span><span style="color:#710">'</span></span> });
res.writeHead(200, { 'Content-Type': 'text/plain' });

res.end(<span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">'</span><span style="color:#D20">Hello, World!</span><span style="color:#D20">\n</span><span style="color:#710">'</span></span>); // <b class="conum">(1)</b>
res.end('Hello, World!\n'); // <b class="conum">(1)</b>

});



const port = <span style="color:#00D">8080</span>; // <b class="conum">(2)</b>
const port = 8080; // <b class="conum">(2)</b>

server.listen(port,() =&gt; {

console.log(<span style="color:#F00;background-color:#FAA">`</span>Listening on port <span style="color:#369;font-weight:bold">$</span>{port}<span style="color:#F00;background-color:#FAA">`</span>);
console.log(`Listening on port ${port}`);

});</code></pre>

Expand Down Expand Up @@ -3564,11 +3558,11 @@ <h4 id="example_fly_io">Example: deploying an app using Fly.io</h4>

<div class="content">

<pre class="CodeRay highlight"><code data-lang="toml">[build]
<pre class="highlight"><code class="language-toml" data-lang="toml">[build]

builder = &quot;paketobuildpacks/builder:base&quot; # <b class="conum">(1)</b>
builder = "paketobuildpacks/builder:base" # <b class="conum">(1)</b>

buildpacks = [&quot;gcr.io/paketo-buildpacks/nodejs&quot;] # <b class="conum">(2)</b>
buildpacks = ["gcr.io/paketo-buildpacks/nodejs"] # <b class="conum">(2)</b>



Expand Down Expand Up @@ -4212,7 +4206,7 @@ <h4 id="example_deploy_app_aws">Example: deploying an app using AWS</h4>

<div class="content">

<pre class="CodeRay highlight"><code data-lang="bash">#!/usr/bin/env bash
<pre class="highlight"><code class="language-bash" data-lang="bash">#!/usr/bin/env bash



Expand All @@ -4230,7 +4224,7 @@ <h4 id="example_deploy_app_aws">Example: deploying an app using AWS</h4>

# <b class="conum">(2)</b>

tee app.js &gt; /dev/null &lt;&lt; &quot;EOF&quot;
tee app.js &gt; /dev/null &lt;&lt; "EOF"

const http = require('http');

Expand Down Expand Up @@ -5015,7 +5009,7 @@ <h2 id="_conclusion">Conclusion</h2>

<div id="footer-text">

Last updated 2024-06-03 16:46:22 -0400
Last updated 2024-06-11 13:58:45 -0400

</div>

Expand Down
Loading

0 comments on commit 16e3641

Please sign in to comment.