Skip to content

Commit

Permalink
generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mortent committed Jun 24, 2020
1 parent f705c30 commit 6e69c12
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 18 deletions.
12 changes: 7 additions & 5 deletions docs/guides/consumer/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ line comments – e.g. <code># { "$kpt-set": &am
<h2 id="fetch-a-remote-package">Fetch a remote package</h2>
<h3 id="command">Command</h3>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-sh" data-lang="sh"><span style="color:#204a87">export</span> <span style="color:#000">SRC_REPO</span><span style="color:#ce5c00;font-weight:bold">=</span>https://github.com/GoogleContainerTools/kpt.git
kpt pkg get <span style="color:#000">$SRC_REPO</span>/package-examples/helloworld-set@v0.3.0 helloworld
kpt pkg get <span style="color:#000">$SRC_REPO</span>/package-examples/helloworld-set@v0.6.0 helloworld
</code></pre></div><h3 id="output">Output</h3>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-sh" data-lang="sh">fetching package /package-examples/helloworld-set from https://github.com/GoogleContainerTools/kpt to helloworld
</code></pre></div><h2 id="list-the-setters">List the setters</h2>
Expand All @@ -390,10 +390,12 @@ kpt pkg get <span style="color:#000">$SRC_REPO</span>/packag
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-sh" data-lang="sh">kpt cfg list-setters helloworld/
</code></pre></div><p>Print the list of setters included in the package.</p>
<h5 id="output-1">Output</h5>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-sh" data-lang="sh"> NAME VALUE SET BY DESCRIPTION COUNT
http-port <span style="color:#0000cf;font-weight:bold">80</span> package-default helloworld port <span style="color:#0000cf;font-weight:bold">3</span>
image-tag 0.1.0 package-default hello-world image tag <span style="color:#0000cf;font-weight:bold">1</span>
replicas <span style="color:#0000cf;font-weight:bold">5</span> package-default helloworld replicas <span style="color:#0000cf;font-weight:bold">1</span>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-sh" data-lang="sh"> NAME VALUE SET BY DESCRIPTION COUNT
http-port <span style="color:#0000cf;font-weight:bold">80</span> package-default helloworld port <span style="color:#0000cf;font-weight:bold">3</span>
image-tag v0.1.0 package-default helloworld image tag <span style="color:#0000cf;font-weight:bold">1</span>
replicas <span style="color:#0000cf;font-weight:bold">5</span> package-default helloworld replicas <span style="color:#0000cf;font-weight:bold">1</span>
SUBSTITUTION PATTERN REFERENCES
image gcr.io/kpt-dev/helloworld-gke:<span style="color:#4e9a06">${</span><span style="color:#000">image</span><span style="color:#000;font-weight:bold">-tag</span><span style="color:#4e9a06">}</span> <span style="color:#ce5c00;font-weight:bold">[</span>image-tag<span style="color:#ce5c00;font-weight:bold">]</span>
</code></pre></div><p>The package contains 3 setters which may be used to modify the configuration
using <code>kpt set</code>.</p>
<h2 id="set-a-field">Set a field</h2>
Expand Down
14 changes: 8 additions & 6 deletions docs/guides/consumer/set/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ <h2 id="steps">Steps</h2>
<h2 id="fetch-a-remote-package">Fetch a remote package</h2>
<h3 id="command">Command</h3>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-sh" data-lang="sh"><span style="color:#204a87">export</span> <span style="color:#000">SRC_REPO</span><span style="color:#ce5c00;font-weight:bold">=</span>https://github.com/GoogleContainerTools/kpt.git
kpt pkg get <span style="color:#000">$SRC_REPO</span>/package-examples/helloworld-set@v0.3.0 helloworld
kpt pkg get <span style="color:#000">$SRC_REPO</span>/package-examples/helloworld-set@v0.6.0 helloworld
</code></pre></div><h3 id="output">Output</h3>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-sh" data-lang="sh">fetching package /package-examples/helloworld-set from https://github.com/GoogleContainerTools/kpt to helloworld
</code></pre></div><h2 id="list-the-setters">List the setters</h2>
Expand All @@ -921,10 +921,12 @@ <h5 id="command-1">Command</h5>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-sh" data-lang="sh">kpt cfg list-setters helloworld/
</code></pre></div><p>Print the list of setters included in the package.</p>
<h5 id="output-1">Output</h5>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-sh" data-lang="sh"> NAME VALUE SET BY DESCRIPTION COUNT
http-port <span style="color:#0000cf;font-weight:bold">80</span> package-default helloworld port <span style="color:#0000cf;font-weight:bold">3</span>
image-tag 0.1.0 package-default hello-world image tag <span style="color:#0000cf;font-weight:bold">1</span>
replicas <span style="color:#0000cf;font-weight:bold">5</span> package-default helloworld replicas <span style="color:#0000cf;font-weight:bold">1</span>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-sh" data-lang="sh"> NAME VALUE SET BY DESCRIPTION COUNT
http-port <span style="color:#0000cf;font-weight:bold">80</span> package-default helloworld port <span style="color:#0000cf;font-weight:bold">3</span>
image-tag v0.1.0 package-default helloworld image tag <span style="color:#0000cf;font-weight:bold">1</span>
replicas <span style="color:#0000cf;font-weight:bold">5</span> package-default helloworld replicas <span style="color:#0000cf;font-weight:bold">1</span>
SUBSTITUTION PATTERN REFERENCES
image gcr.io/kpt-dev/helloworld-gke:<span style="color:#4e9a06">${</span><span style="color:#000">image</span><span style="color:#000;font-weight:bold">-tag</span><span style="color:#4e9a06">}</span> <span style="color:#ce5c00;font-weight:bold">[</span>image-tag<span style="color:#ce5c00;font-weight:bold">]</span>
</code></pre></div><p>The package contains 3 setters which may be used to modify the configuration
using <code>kpt set</code>.</p>
<h2 id="set-a-field">Set a field</h2>
Expand Down Expand Up @@ -1016,7 +1018,7 @@ <h5 id="output-2">Output</h5>



<div class="text-muted mt-5 pt-3 border-top">Last modified June 15, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/488fac19b256ce64424bc7b8e6e39efac0997d47">Update setters docs (488fac19)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified June 23, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/f705c3071e6b2ecfd3040cc44ca580578c707e15">docs: Fix missing substitution in example output in set guide (f705c307)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/consumer/substitute/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ <h5 id="output-2">Output</h5>



<div class="text-muted mt-5 pt-3 border-top">Last modified June 15, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/488fac19b256ce64424bc7b8e6e39efac0997d47">Update setters docs (488fac19)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified June 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/d7cc5dcaba3542b6e462899d446b7c584621cf8f">Update docs (d7cc5dca)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/producer/setters/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ <h4 id="setting-lists">Setting Lists</h4>



<div class="text-muted mt-5 pt-3 border-top">Last modified June 15, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/488fac19b256ce64424bc7b8e6e39efac0997d47">Update setters docs (488fac19)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified June 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/d7cc5dcaba3542b6e462899d446b7c584621cf8f">Update docs (d7cc5dca)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/pkg/get/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ <h3 id="synopsis">Synopsis</h3>



<div class="text-muted mt-5 pt-3 border-top">Last modified March 22, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/4397847ac7f8c642d62df6ef5123189ff5bb89e2">Fix indentation in generated Long message (4397847a)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified June 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/d7cc5dcaba3542b6e462899d446b7c584621cf8f">Update docs (d7cc5dca)</a>
</div>
</div>

Expand Down
8 changes: 4 additions & 4 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@

<url>
<loc>https://googlecontainertools.github.io/kpt/guides/producer/setters/</loc>
<lastmod>2020-06-15T20:34:10-07:00</lastmod>
<lastmod>2020-06-18T21:48:53-07:00</lastmod>
</url>

<url>
Expand Down Expand Up @@ -114,7 +114,7 @@

<url>
<loc>https://googlecontainertools.github.io/kpt/guides/consumer/set/</loc>
<lastmod>2020-06-15T20:34:10-07:00</lastmod>
<lastmod>2020-06-23T21:53:30-07:00</lastmod>
</url>

<url>
Expand Down Expand Up @@ -194,7 +194,7 @@

<url>
<loc>https://googlecontainertools.github.io/kpt/guides/consumer/substitute/</loc>
<lastmod>2020-06-15T20:34:10-07:00</lastmod>
<lastmod>2020-06-18T21:48:53-07:00</lastmod>
</url>

<url>
Expand Down Expand Up @@ -309,7 +309,7 @@

<url>
<loc>https://googlecontainertools.github.io/kpt/reference/pkg/get/</loc>
<lastmod>2020-03-22T23:09:14-07:00</lastmod>
<lastmod>2020-06-18T21:48:53-07:00</lastmod>
</url>

<url>
Expand Down

0 comments on commit 6e69c12

Please sign in to comment.