Skip to content

Commit

Permalink
Deploying to gh-pages from @ 44ec858 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
mlegner committed Jun 18, 2024
1 parent f166096 commit dbff7b2
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 22 deletions.
16 changes: 6 additions & 10 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -1516,9 +1516,8 @@ <h2 id="prerequisites-1"><a class="header" href="#prerequisites-1">Prerequisites
<p>Then, follow these additional setup steps.</p>
<h2 id="clone-the-repository-and-build-the-site-builder-tool"><a class="header" href="#clone-the-repository-and-build-the-site-builder-tool">Clone the repository and build the <code>site-builder</code> tool</a></h2>
<p>First clone and enter the Walrus Sites repo from <a href="https://github.com/MystenLabs/walrus-sites">https://github.com/MystenLabs/walrus-sites</a>.</p>
<pre><code class="language-sh">git clone git@github.com:MystenLabs/walrus-sites.git
<pre><code class="language-sh">git clone https://github.com/MystenLabs/walrus-sites.git
cd walrus-sites
cd site-builder
</code></pre>
<p>Then, build the release version of the site builder:</p>
<pre><code class="language-sh">cargo build --release
Expand Down Expand Up @@ -1551,11 +1550,8 @@ <h2 id="publish-the-site"><a class="header" href="#publish-the-site">Publish the
the <code>./examples/snake</code> site is simple:</p>
<ul>
<li>
<p>Ensure that you are in the <code>site-builder</code> directory;</p>
</li>
<li>
<p>Run the publishing command:</p>
<pre><code class="language-sh">./target/release/site-builder --config assets/builder-example.yaml publish ../examples/snake
<pre><code class="language-sh">./target/release/site-builder --config site-builder/assets/builder-example.yaml publish ./examples/snake
</code></pre>
</li>
</ul>
Expand Down Expand Up @@ -1583,11 +1579,11 @@ <h2 id="publish-the-site"><a class="header" href="#publish-the-site">Publish the
<h2 id="update-the-site"><a class="header" href="#update-the-site">Update the site</a></h2>
<p>Let's say now you want to update the content of the site, for example by changing the title from
"eat all the blobs!" to "Glob all the Blobs!".</p>
<p>First, make this edit on in the <code>../examples/snake/index.html</code> file.</p>
<p>First, make this edit on in the <code>./examples/snake/index.html</code> file.</p>
<p>Then, you can update the existing site by running the <code>update</code> command, and providing the directory
where to find the updated files (still <code>../example/snake</code>), and the object ID of the existing site
where to find the updated files (still <code>./example/snake</code>), and the object ID of the existing site
(<code>0x5ac988...</code>):</p>
<pre><code class="language-sh">./target/release/site-builder --config assets/builder-example.yaml update ../examples/snake 0x5ac9888...
<pre><code class="language-sh">./target/release/site-builder --config site-builder/assets/builder-example.yaml update ./examples/snake 0x5ac9888...
</code></pre>
<p>The output this time should be:</p>
<pre><code class="language-txt">Operations performed:
Expand Down Expand Up @@ -1673,7 +1669,7 @@ <h2 id="map-the-suins-name-to-the-walrus-site"><a class="header" href="#map-the-
<h2 id="minimal-configuration"><a class="header" href="#minimal-configuration">Minimal configuration</a></h2>
<p>The config file is expected to be in <code>./builder.yaml</code>, and it is possible to point elsewhere with
the <code>--config</code> flag. For your first run, it should be sufficient to call the <code>site-builder</code> with
<code>--config assets/builder-example.yaml</code>, which is already configured appropriately.</p>
<code>--config site-builder/assets/builder-example.yaml</code>, which is already configured appropriately.</p>
<p>If, for any reason, you didn't add <code>walrus</code> to <code>$PATH</code>, make sure to configure a pointer to the
binary, see below.</p>
<h2 id="advanced-configuration"><a class="header" href="#advanced-configuration">Advanced configuration</a></h2>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion walrus-sites/tutorial-config.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ <h1 id="configuring-the-site-builder"><a class="header" href="#configuring-the-s
<h2 id="minimal-configuration"><a class="header" href="#minimal-configuration">Minimal configuration</a></h2>
<p>The config file is expected to be in <code>./builder.yaml</code>, and it is possible to point elsewhere with
the <code>--config</code> flag. For your first run, it should be sufficient to call the <code>site-builder</code> with
<code>--config assets/builder-example.yaml</code>, which is already configured appropriately.</p>
<code>--config site-builder/assets/builder-example.yaml</code>, which is already configured appropriately.</p>
<p>If, for any reason, you didn't add <code>walrus</code> to <code>$PATH</code>, make sure to configure a pointer to the
binary, see below.</p>
<h2 id="advanced-configuration"><a class="header" href="#advanced-configuration">Advanced configuration</a></h2>
Expand Down
3 changes: 1 addition & 2 deletions walrus-sites/tutorial-install.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,8 @@ <h2 id="prerequisites"><a class="header" href="#prerequisites">Prerequisites</a>
<p>Then, follow these additional setup steps.</p>
<h2 id="clone-the-repository-and-build-the-site-builder-tool"><a class="header" href="#clone-the-repository-and-build-the-site-builder-tool">Clone the repository and build the <code>site-builder</code> tool</a></h2>
<p>First clone and enter the Walrus Sites repo from <a href="https://github.com/MystenLabs/walrus-sites">https://github.com/MystenLabs/walrus-sites</a>.</p>
<pre><code class="language-sh">git clone git@github.com:MystenLabs/walrus-sites.git
<pre><code class="language-sh">git clone https://github.com/MystenLabs/walrus-sites.git
cd walrus-sites
cd site-builder
</code></pre>
<p>Then, build the release version of the site builder:</p>
<pre><code class="language-sh">cargo build --release
Expand Down
11 changes: 4 additions & 7 deletions walrus-sites/tutorial-publish.html
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,8 @@ <h2 id="publish-the-site"><a class="header" href="#publish-the-site">Publish the
the <code>./examples/snake</code> site is simple:</p>
<ul>
<li>
<p>Ensure that you are in the <code>site-builder</code> directory;</p>
</li>
<li>
<p>Run the publishing command:</p>
<pre><code class="language-sh">./target/release/site-builder --config assets/builder-example.yaml publish ../examples/snake
<pre><code class="language-sh">./target/release/site-builder --config site-builder/assets/builder-example.yaml publish ./examples/snake
</code></pre>
</li>
</ul>
Expand Down Expand Up @@ -219,11 +216,11 @@ <h2 id="publish-the-site"><a class="header" href="#publish-the-site">Publish the
<h2 id="update-the-site"><a class="header" href="#update-the-site">Update the site</a></h2>
<p>Let's say now you want to update the content of the site, for example by changing the title from
"eat all the blobs!" to "Glob all the Blobs!".</p>
<p>First, make this edit on in the <code>../examples/snake/index.html</code> file.</p>
<p>First, make this edit on in the <code>./examples/snake/index.html</code> file.</p>
<p>Then, you can update the existing site by running the <code>update</code> command, and providing the directory
where to find the updated files (still <code>../example/snake</code>), and the object ID of the existing site
where to find the updated files (still <code>./example/snake</code>), and the object ID of the existing site
(<code>0x5ac988...</code>):</p>
<pre><code class="language-sh">./target/release/site-builder --config assets/builder-example.yaml update ../examples/snake 0x5ac9888...
<pre><code class="language-sh">./target/release/site-builder --config site-builder/assets/builder-example.yaml update ./examples/snake 0x5ac9888...
</code></pre>
<p>The output this time should be:</p>
<pre><code class="language-txt">Operations performed:
Expand Down

0 comments on commit dbff7b2

Please sign in to comment.