update sample page to align with source file
authorDan Allen <dan@opendevise.com>
Fri, 9 Feb 2018 22:51:25 +0000 (15:51 -0700)
committerDan Allen <dan@opendevise.com>
Sat, 10 Feb 2018 02:39:17 +0000 (19:39 -0700)
preview-site-src/index.html

index d3a10cf..a08c964 100644 (file)
@@ -28,6 +28,7 @@ Eu mea inani iriure.</p>
   "scripts": {
     "test": "mocha",
     "lint": "eslint"
+  }
 }</code></pre>
 </div>
 </div>
@@ -36,7 +37,7 @@ Eu mea inani iriure.</p>
 <div class="content">
 <pre class="highlightjs highlight"><code class="language-asciidoc hljs" data-lang="asciidoc">.Optional title
 [example]
-This is an #example paragraph#.</code></pre>
+This is an example paragraph.</code></pre>
 </div>
 </div>
 <div class="exampleblock">
@@ -50,24 +51,26 @@ This is an example paragraph.
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="highlightjs highlight"><code class="language-js hljs" data-lang="js">const gulp = require('gulp')
-const browserify = require('browserify')
-const buffer = require('vinyl-buffer')
-const uglify = require('gulp-uglify')
-const tap = require('gulp-tap') <i class="conum" data-value="1"></i><b>(1)</b>
-</code></pre>
+<pre class="highlightjs highlight"><code class="language-js hljs" data-lang="js">vfs
+  .src('js/vendor/*.js', { cwd: 'src', cwdbase: true, read: false })
+  .pipe(tap((file) =&gt; { <i class="conum" data-value="1"></i><b>(1)</b>
+    file.contents = browserify(file.relative, { basedir: 'src', detectGlobals: false }).bundle()
+  }))
+  .pipe(buffer())
+  .pipe(uglify())
+  .pipe(gulp.dest('build'))</code></pre>
 </div>
 </div>
 <div class="colist arabic">
 <table>
 <tr>
 <td><i class="conum" data-value="1"></i><b>1</b></td>
-<td>Used to wiretap the data in the pipe.</td>
+<td>The tap function is used to wiretap the data in the pipe.</td>
 </tr>
 </table>
 </div>
 <div class="paragraph">
-<p>Cum dicat putant ne.
+<p>Cum dicat <mark>putant</mark> ne.
 Est in <a href="#inline">reque</a> homero principes, meis deleniti mediocrem ad has.
 Altera atomorum his ex, has cu elitr melius propriae.
 Eos suscipit scaevola at.</p>
@@ -87,13 +90,10 @@ src/
 <div class="paragraph">
 <p>Select <span class="menuseq"><b class="menu">File</b>&#160;<i class="fa fa-angle-right caret"></i> <b class="menuitem">Open Project</b></span> to open the project in your IDE.
 Per ea solet civibus inimicus.
-Ferri tacimates constituam sed ex, eu mea munere vituperata constituam.</p>
-</div>
-</div>
+Ferri <kbd>F11</kbd> tacimates constituam sed ex, eu mea munere vituperata <span class="keyseq"><kbd>Ctrl</kbd>+<kbd>T</kbd></span> constituam.</p>
 </div>
 <div class="sect2">
 <h3 id="liber-recusabo"><a class="anchor" href="#liber-recusabo"></a>Liber recusabo</h3>
-<div class="sectionbody">
 <div class="paragraph">
 <p>No sea, at invenire voluptaria mnesarchum has.
 Ex nam suas nemore dignissim, vel apeirian democritum et.
@@ -197,9 +197,7 @@ Eos suscipit scaevola at.</p>
 <i class="fa icon-tip" title="Tip"></i>
 </td>
 <td class="content">
-<div class="paragraph">
-<p>This oughta do it!</p>
-</div>
+This oughta do it!
 </td>
 </tr>
 </table>
@@ -283,9 +281,9 @@ Eos suscipit scaevola at.</p>
 <div class="paragraph">
 <p>If you installed the CLI and the default site generator globally, you can upgrade both of them with the same command.</p>
 </div>
-<div class="listingblock">
+<div class="literalblock">
 <div class="content">
-<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">$ npm i -g @antora/cli @antora/site-generator-default</code></pre>
+<pre>$ npm i -g @antora/cli @antora/site-generator-default</pre>
 </div>
 </div>
 </td>
@@ -296,7 +294,6 @@ Eos suscipit scaevola at.</p>
 <p>Nominavi luptatum eos, an vim hinc philosophia intellegebat.
 Eu mea inani iriure.</p>
 </div>
-<div class="sect1">
 <h2 id="voluptua-singulis" class="discrete">Voluptua singulis</h2>
 <div class="paragraph">
 <p>Cum dicat putant ne.
@@ -306,3 +303,4 @@ Eos suscipit scaevola at.</p>
 </div>
 </div>
 </div>
+</div>
\ No newline at end of file