1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Deployed 9c073a8 to latest with MkDocs 1.1.2 and mike 0.5.3

This commit is contained in:
GitHub Action 2020-11-03 09:04:19 +00:00
parent e979b6e04b
commit 30b14f5591
23 changed files with 59 additions and 50 deletions

View File

@ -684,7 +684,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

View File

@ -683,7 +683,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

View File

@ -917,7 +917,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

View File

@ -671,7 +671,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

View File

@ -671,7 +671,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

View File

@ -671,7 +671,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

View File

@ -671,7 +671,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

View File

@ -780,7 +780,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

View File

@ -789,28 +789,37 @@
<h1 id="your-first-extension">Your First Extension<a class="headerlink" href="#your-first-extension" title="Permanent link">#</a></h1> <h1 id="your-first-extension">Your First Extension<a class="headerlink" href="#your-first-extension" title="Permanent link">#</a></h1>
<p>In this topic, we'll teach you the fundamental concepts for building extensions. Make sure you have <a href="https://nodejs.org/en/">Node.js</a> and <a href="https://git-scm.com/">Git</a> installed....</p> <p>In this topic, we'll teach you the fundamental concepts for building extensions. Make sure you have <a href="https://nodejs.org/en/">Node.js</a> and <a href="https://git-scm.com/">Git</a> installed....</p>
<h2 id="installing-and-building-the-extension">Installing and Building the extension<a class="headerlink" href="#installing-and-building-the-extension" title="Permanent link">#</a></h2> <h2 id="installing-and-building-the-extension">Installing and Building the extension<a class="headerlink" href="#installing-and-building-the-extension" title="Permanent link">#</a></h2>
<p>Simple Lens extension that adds "hello-world" page to a cluster menu.</p> <p>Simple Lens extension that adds "Hello World" page to a cluster menu.</p>
<h3 id="linux">Linux<a class="headerlink" href="#linux" title="Permanent link">#</a></h3> <h3 id="linux">Linux<a class="headerlink" href="#linux" title="Permanent link">#</a></h3>
<p>First you will need to clone the <a href="https://github.com/lensapp/lens-extension-samples">Lens Extension samples</a> repository to your local machine:</p>
<pre><code class="language-sh">git clone https://github.com/lensapp/lens-extension-samples.git
</code></pre>
<p>Next you need to create a symlink from the directory that Lens will monitor for user installed extensions to the sample extension, in this case <strong>helloworld-sample</strong>:</p>
<pre><code class="language-sh">mkdir -p ~/.k8slens/extensions <pre><code class="language-sh">mkdir -p ~/.k8slens/extensions
git clone https://github.com/lensapp/lens-extension-samples.git cd ~/.k8slens/extensions
cp -pr lens-extension-samples/helloworld-sample ~/.k8slens/extensions ln -s &lt;lens-extension-samples directory&gt;/helloworld-sample helloworld-sample
</code></pre> </code></pre>
<p>To build the extension you can use <code>make</code> or run the <code>npm</code> commands manually:</p> <p>To build the extension you can use <code>make</code> or run the <code>npm</code> commands manually:</p>
<pre><code class="language-sh">cd ~/.k8slens/extensions/helloworld-sample <pre><code class="language-sh">cd &lt;lens-extension-samples directory&gt;/helloworld-sample
make build make build
</code></pre> </code></pre>
<p>OR</p> <p>OR</p>
<pre><code class="language-sh">cd ~/.k8slens/extensions/helloworld-sample <pre><code class="language-sh">cd &lt;lens-extension-samples directory&gt;/helloworld-sample
npm install npm install
npm run build npm run build
</code></pre> </code></pre>
<p>Open Lens application and navigate to a cluster. You should see "Hello World" in the Lens sidebar menu.</p> <p>If you want to watch for any source code changes and automatically rebuild the extension you can use:</p>
<pre><code class="language-sh">cd &lt;lens-extension-samples directory&gt;/helloworld-sample
npm run dev
</code></pre>
<p>Finally, if you already have Lens open you will need to quit and restart Lens for the extension to be loaded. After this initial restart you can reload Lens and it will pick up any new builds of the extension. Within Lens connect to an existing cluster or <a href="../../../clusters/adding-clusters/">create a new one</a>. You should see then see the "Hello World" page in the Lens sidebar cluster menu.</p>
<h2 id="developing-the-extension">Developing the extension<a class="headerlink" href="#developing-the-extension" title="Permanent link">#</a></h2> <h2 id="developing-the-extension">Developing the extension<a class="headerlink" href="#developing-the-extension" title="Permanent link">#</a></h2>
<p>Let's make a change to the message:</p> <p>Let's make a change to the message that our helloworld-sample extension displays:</p>
<ul> <ul>
<li>Change the message from Hello World from HelloWorld! to <strong>Hello Lens Extensions</strong> in <code>page.tsx</code></li> <li>Navigate to <code>&lt;lens-extension-samples directory&gt;/helloworld-sample</code>.</li>
<li>Rebuild the extension</li> <li>Change the message from HelloWorld! to <strong>Hello Lens Extensions</strong> in <code>page.tsx</code>.</li>
<li>Reload the Lens window</li> <li>Rebuild the extension or, if you used <code>npm run dev</code>, the extension should automatically rebuild.</li>
<li>Reload the Lens window and click on the Hello World page.</li>
<li>You should see the updated message showing up.</li> <li>You should see the updated message showing up.</li>
</ul> </ul>
<h2 id="next-steps">Next steps<a class="headerlink" href="#next-steps" title="Permanent link">#</a></h2> <h2 id="next-steps">Next steps<a class="headerlink" href="#next-steps" title="Permanent link">#</a></h2>
@ -824,7 +833,7 @@ npm run build
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

View File

@ -671,7 +671,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

View File

@ -682,7 +682,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

View File

@ -830,7 +830,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

View File

@ -671,7 +671,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

View File

@ -671,7 +671,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

View File

@ -671,7 +671,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

View File

@ -909,7 +909,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

View File

@ -713,7 +713,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

View File

@ -789,7 +789,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

View File

@ -764,7 +764,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>

File diff suppressed because one or more lines are too long

View File

@ -1,79 +1,79 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url>
<loc>https://docs.k8slens.dev/</loc> <loc>https://docs.k8slens.dev/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url><url> </url><url>
<loc>https://docs.k8slens.dev/getting-started/downloading-lens/</loc> <loc>https://docs.k8slens.dev/getting-started/downloading-lens/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url><url> </url><url>
<loc>https://docs.k8slens.dev/getting-started/preferences/</loc> <loc>https://docs.k8slens.dev/getting-started/preferences/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url><url> </url><url>
<loc>https://docs.k8slens.dev/getting-started/introductory-videos/</loc> <loc>https://docs.k8slens.dev/getting-started/introductory-videos/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url><url> </url><url>
<loc>https://docs.k8slens.dev/clusters/adding-clusters/</loc> <loc>https://docs.k8slens.dev/clusters/adding-clusters/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url><url> </url><url>
<loc>https://docs.k8slens.dev/clusters/removing-clusters/</loc> <loc>https://docs.k8slens.dev/clusters/removing-clusters/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url><url> </url><url>
<loc>https://docs.k8slens.dev/clusters/settings/</loc> <loc>https://docs.k8slens.dev/clusters/settings/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url><url> </url><url>
<loc>https://docs.k8slens.dev/extensions/overview/</loc> <loc>https://docs.k8slens.dev/extensions/overview/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url><url> </url><url>
<loc>https://docs.k8slens.dev/extensions/get-started/your-first-extension/</loc> <loc>https://docs.k8slens.dev/extensions/get-started/your-first-extension/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url><url> </url><url>
<loc>https://docs.k8slens.dev/extensions/get-started/anatomy/</loc> <loc>https://docs.k8slens.dev/extensions/get-started/anatomy/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url><url> </url><url>
<loc>https://docs.k8slens.dev/extensions/get-started/wrapping-up/</loc> <loc>https://docs.k8slens.dev/extensions/get-started/wrapping-up/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url><url> </url><url>
<loc>https://docs.k8slens.dev/extensions/capabilities/overview/</loc> <loc>https://docs.k8slens.dev/extensions/capabilities/overview/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url><url> </url><url>
<loc>https://docs.k8slens.dev/extensions/capabilities/common-capabilities/</loc> <loc>https://docs.k8slens.dev/extensions/capabilities/common-capabilities/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url><url> </url><url>
<loc>https://docs.k8slens.dev/extensions/capabilities/theming/</loc> <loc>https://docs.k8slens.dev/extensions/capabilities/theming/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url><url> </url><url>
<loc>https://docs.k8slens.dev/extensions/guides/overview/</loc> <loc>https://docs.k8slens.dev/extensions/guides/overview/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url><url> </url><url>
<loc>https://docs.k8slens.dev/extensions/guides/renderer-extension/</loc> <loc>https://docs.k8slens.dev/extensions/guides/renderer-extension/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url><url> </url><url>
<loc>https://docs.k8slens.dev/extensions/testing-and-publishing/testing/</loc> <loc>https://docs.k8slens.dev/extensions/testing-and-publishing/testing/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url><url> </url><url>
<loc>https://docs.k8slens.dev/extensions/testing-and-publishing/publishing/</loc> <loc>https://docs.k8slens.dev/extensions/testing-and-publishing/publishing/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url><url> </url><url>
<loc>https://docs.k8slens.dev/extensions/testing-and-publishing/bundling/</loc> <loc>https://docs.k8slens.dev/extensions/testing-and-publishing/bundling/</loc>
<lastmod>2020-10-30</lastmod> <lastmod>2020-11-03</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
</urlset> </urlset>

Binary file not shown.

View File

@ -744,7 +744,7 @@
<div class="md-source-date"> <div class="md-source-date">
<small> <small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 30, 2020</span> Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">November 3, 2020</span>
</small> </small>
</div> </div>