diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index f6060ca1dd..8b71a5411c 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -37,6 +37,10 @@ jobs:
displayName: Cache Yarn packages
- script: make install-deps
displayName: Install dependencies
+ - script: make build-npm
+ displayName: Generate npm package
+ - script: make build-extensions
+ displayName: Build bundled extensions
- script: make integration-win
displayName: Run integration tests
- script: make test-extensions
@@ -76,6 +80,10 @@ jobs:
condition: eq(variables.CACHE_RESTORED, 'true')
- script: make install-deps
displayName: Install dependencies
+ - script: make build-npm
+ displayName: Generate npm package
+ - script: make build-extensions
+ displayName: Build bundled extensions
- script: make test
displayName: Run tests
- script: make integration-mac
@@ -127,6 +135,10 @@ jobs:
displayName: Run In-tree Extension tests
- script: make lint
displayName: Lint
+ - script: make build-npm
+ displayName: Generate npm package
+ - script: make build-extensions
+ displayName: Build bundled extensions
- script: make test
displayName: Run tests
- bash: |
diff --git a/.github/labeler-config.yml b/.github/labeler-config.yml
deleted file mode 100644
index 06aab917bc..0000000000
--- a/.github/labeler-config.yml
+++ /dev/null
@@ -1,17 +0,0 @@
----
-area/ui:
- - src/renderer/**/*
-area/test:
- - integration/**/*
- - __mocks__/**/*
-area/extension:
- - extensions/**/*
- - src/extensions/**/*
-area/documentation:
- - README.md
- - docs/**/*
-area/ci:
- - .github/workflows/**/*
- - .azure-pipelines.yml
-dependencies:
- - yarn.lock
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
deleted file mode 100644
index b57d58e567..0000000000
--- a/.github/workflows/labeler.yml
+++ /dev/null
@@ -1,15 +0,0 @@
----
-name: "Pull Request Labeler"
-
-on:
- - pull_request
-
-jobs:
- triage:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/labeler@v2
- if: github.repository == 'lensapp/lens'
- with:
- repo-token: "${{ secrets.GITHUB_TOKEN }}"
- configuration-path: .github/labeler-config.yml
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000000..b9b41ddd58
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,49 @@
+name: Publish docs via GitHub Pages
+on:
+ push:
+ branches:
+ - master
+
+jobs:
+ build:
+ name: Deploy docs
+ runs-on: ubuntu-latest
+ steps:
+ - name: Set up Python 3.7
+ uses: actions/setup-python@v2
+ with:
+ python-version: '3.x'
+
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip
+ pip install git+https://${{ secrets.GH_TOKEN }}@github.com/lensapp/mkdocs-material-insiders.git
+ pip install mkdocs-git-revision-date-localized-plugin mike
+
+
+ - name: Checkout Release from lens
+ uses: actions/checkout@v2
+ with:
+ repository: lensapp/lens
+
+ - name: git config
+ run: |
+ git config --local user.email "action@github.com"
+ git config --local user.name "GitHub Action"
+ git pull
+
+
+ - name: mkdocs deploy latest
+ run: |
+ mike deploy --push latest
+
+
+ - name: mkdocs deploy new release / tag
+ if: contains(github.ref, 'refs/tags/v')
+ run: |
+ mike deploy --push--update-aliases ${{ github.ref }} latest
+ mike set-default --push ${{ github.ref }}
+
+
+
+
diff --git a/README.md b/README.md
index b403492e72..21522cf4cb 100644
--- a/README.md
+++ b/README.md
@@ -45,6 +45,16 @@ Allows for faster separate re-runs of some of the more involved processes:
1. `yarn dev:extension-types` compile declaration types for `@k8slens/extensions`
1. `yarn dev-run` runs app in dev-mode and auto-restart when main process file has changed
+## Development (documentation)
+
+Run a local instance of `mkdocs serve` in a docker container for developing the Lens Documentation.
+
+> Prerequisites: docker, yarn
+
+* `yarn mkdocs-serve-local` - local build and serve of mkdocs with auto update enabled
+
+Go to [localhost:8000](http://127.0.0.1:8000)
+
## Developer's ~~RTFM~~ recommended list:
- [TypeScript](https://www.typescriptlang.org/docs/home.html) (front-end/back-end)
@@ -53,6 +63,8 @@ Allows for faster separate re-runs of some of the more involved processes:
- [ElectronJS](https://www.electronjs.org/docs) (chrome/node)
- [NodeJS](https://nodejs.org/dist/latest-v12.x/docs/api/) (api docs)
+
+
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/lensapp/lens.
\ No newline at end of file
diff --git a/docs/CNAME b/docs/CNAME
new file mode 100644
index 0000000000..12bc650410
--- /dev/null
+++ b/docs/CNAME
@@ -0,0 +1 @@
+docs.k8slens.dev
diff --git a/docs/README.md b/docs/README.md
new file mode 100644
index 0000000000..f8a979fb90
--- /dev/null
+++ b/docs/README.md
@@ -0,0 +1,21 @@
+# Overview
+
+Lens is the most powerful Kubernetes IDE on the market. It is a standalone application, and it is available on macOS, Windows, and Linux. Some of the benefits of using Lens include:
+
+* Confidence that your clusters are properly setup and configured.
+* Increased visibility, real time statistics, log streams, and hands-on troubleshooting capabilities.
+* The ability to work with your clusters quickly and easily, radically improving productivity and the speed of business.
+
+Watch this introductory video to see Lens in action:
+
+[](https://youtu.be/04v2ODsmtIs)
+
+**Note:** Use CTRL+click (on Windows and Linux) or CMD+click (on MacOS) to open the above in a new tab
+
+## Downloading Lens
+
+[Download Lens](https://github.com/lensapp/lens/releases) for macOS, Windows, or Linux.
+
+## Quick Start
+
+Get up and running quickly by learning to [add clusters](clusters/adding-clusters.md).
diff --git a/docs/clusters/adding-clusters.md b/docs/clusters/adding-clusters.md
new file mode 100644
index 0000000000..a89afb2f25
--- /dev/null
+++ b/docs/clusters/adding-clusters.md
@@ -0,0 +1,16 @@
+# Adding clusters
+
+Add clusters by clicking the **Add Cluster** button in the left-side menu.
+
+1. Click the **Add Cluster** button (indicated with a '+' icon).
+2. Enter the path to your kubeconfig file. You'll need to have a kubeconfig file for the cluster you want to add. You can either browse for the path from the file system or or enter it directly.
+
+Selected [cluster contexts](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#context) are added as a separate item in the left-side cluster menu to allow you to operate easily on multiple clusters and/or contexts.
+
+**NOTE**: Any cluster that you added manually will not be merged into your kubeconfig file.
+
+
+
+For more information on kubeconfig see [Kubernetes docs](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/).
+
+To see your currently-enabled config with `kubectl`, enter `kubectl config view --minify --raw` in your terminal.
\ No newline at end of file
diff --git a/docs/clusters/images/add-cluster.png b/docs/clusters/images/add-cluster.png
new file mode 100644
index 0000000000..b53c09f704
Binary files /dev/null and b/docs/clusters/images/add-cluster.png differ
diff --git a/docs/clusters/images/cluster-context-menu.png b/docs/clusters/images/cluster-context-menu.png
new file mode 100644
index 0000000000..d733840df3
Binary files /dev/null and b/docs/clusters/images/cluster-context-menu.png differ
diff --git a/docs/clusters/images/cluster-settings-features.png b/docs/clusters/images/cluster-settings-features.png
new file mode 100644
index 0000000000..3a8066309d
Binary files /dev/null and b/docs/clusters/images/cluster-settings-features.png differ
diff --git a/docs/clusters/images/cluster-settings-general.png b/docs/clusters/images/cluster-settings-general.png
new file mode 100644
index 0000000000..d7de0a1a35
Binary files /dev/null and b/docs/clusters/images/cluster-settings-general.png differ
diff --git a/docs/clusters/images/cluster-settings-removal.png b/docs/clusters/images/cluster-settings-removal.png
new file mode 100644
index 0000000000..badcbcc6e0
Binary files /dev/null and b/docs/clusters/images/cluster-settings-removal.png differ
diff --git a/docs/clusters/images/cluster-settings-status.png b/docs/clusters/images/cluster-settings-status.png
new file mode 100644
index 0000000000..af8e939e35
Binary files /dev/null and b/docs/clusters/images/cluster-settings-status.png differ
diff --git a/docs/clusters/images/cluster-settings.png b/docs/clusters/images/cluster-settings.png
new file mode 100644
index 0000000000..27a4a72ff9
Binary files /dev/null and b/docs/clusters/images/cluster-settings.png differ
diff --git a/docs/clusters/images/remove-cluster.png b/docs/clusters/images/remove-cluster.png
new file mode 100644
index 0000000000..bcaa69c44a
Binary files /dev/null and b/docs/clusters/images/remove-cluster.png differ
diff --git a/docs/clusters/removing-clusters.md b/docs/clusters/removing-clusters.md
new file mode 100644
index 0000000000..ab6205a960
--- /dev/null
+++ b/docs/clusters/removing-clusters.md
@@ -0,0 +1,12 @@
+# Removing clusters
+
+Remove Lens clusters using the context menu that appears when you right-click the cluster in the left-side menu that you want to remove.
+
+To remove a cluster from your cluster list:
+
+1. Right-click the name of the cluster in the left-side menu that you want to remove.
+2. Click **Remove**.
+
+**NOTE**: This will only remove the cluster from your Lens cluster list. It will not affect your actual Kubernetes cluster or its configuration.
+
+
\ No newline at end of file
diff --git a/docs/clusters/settings.md b/docs/clusters/settings.md
new file mode 100644
index 0000000000..351c0babeb
--- /dev/null
+++ b/docs/clusters/settings.md
@@ -0,0 +1,75 @@
+# Settings
+
+It is easy to configure Lens Clusters to your liking through its various settings.
+
+1. Right-click the name of the cluster in the left-side menu that you want to open the settings for.
+2. Click **Settings**.
+
+
+
+## Status
+
+Overview of the cluster status
+
+### Cluster Status
+
+Cluster status information including the detected distribution, kernel version, API endpoint, and online status
+
+
+
+## General
+
+General cluster settings
+
+### Cluster Name
+
+The cluster name is inheritated by default from the kubeconfig file. Change the cluster name to another value by updating it here. Note that doing so does not update your kubeconfig file.
+
+### Workspace
+
+This is the Lens workspace that the cluster is associated with. Change workspaces by selecting a different workspace from the dropdown menu. Create a new workspace by clicking **workspace** in "Define cluster workspace" above the dropdown menu. This option will take you the workspaces editor. Create a new workspace and then navigate back to cluster settings.
+
+### Cluster Icon
+
+Lens randomly generates an icon to associate with each newly-created cluster. Use this setting to choose your own icon.
+
+### HTTP Proxy
+
+Some users will need to define an HTTP proxy for communicating with the Kubernetes API. Use this setting to do so.
+
+### Prometheus
+
+Lens can be configured to query a Prometheus server installed in the cluster. Select a query format by choosing either to auto-detect or from the following configurations:
+
+* Lens
+* Helm Operator
+* Prometheus Operator
+* Stacklight
+
+To learn more about custom Prometheus configurations, please refer to this [guide](https://github.com/lensapp/lens/blob/master/troubleshooting/custom-prometheus.md).
+
+### Working Directory
+
+Use this field to set the terminal working directory. The default is `$HOME`.
+
+
+
+## Features
+
+Additional Lens features that can be installed by the user
+
+### Metrics
+
+Enable timeseries data visualization (Prometheus stack) for your cluster. Install this only if you don't have existing Prometheus stack installed.
+
+### User Mode
+
+User Mode feature enables non-admin users to see namespaces they have access to. This is achieved by configuring RBAC rules so that every authenticated user is granted to list namespaces.
+
+
+
+## Removal
+
+Use this setting to remove the current cluster.
+
+
diff --git a/docs/contributing/README.md b/docs/contributing/README.md
new file mode 100644
index 0000000000..13a6ca8c05
--- /dev/null
+++ b/docs/contributing/README.md
@@ -0,0 +1,17 @@
+# Contributing
+
+There are multiple ways you can contribute to Lens - even if you are not a developer, you can still contribute. We are always looking for assistance with creating or updating documentation, testing the application, reporting and troubleshooting issues.
+
+Here are some ideas how you can contribute!
+
+* [Development](./development.md) – Help making Lens better.
+* [Maintaining the Project](./maintainers.md) – Become community maintainer and help us maintain the project.
+* [Extension Development](../extensions) – Add integrations via Lens Extensions.
+* [Documentation](./documentation.md) – Help improve Lens documentation.
+* [Promotion](./promotion.md) – Show your support, be an ambassador to Lens, write blogs and make videos!
+
+If you are an influencer, blogger or journalist, feel free to [spread the word](./promotion.md)!
+
+## Code of Conduct
+
+This project adheres to the [Contributor Covenant](https://www.contributor-covenant.org/) code of conduct. By participating and contributing to Lens, you are expected to uphold this code. Please report unacceptable behaviour to info@k8slens.dev
diff --git a/docs/contributing/development.md b/docs/contributing/development.md
new file mode 100644
index 0000000000..8e5633cda9
--- /dev/null
+++ b/docs/contributing/development.md
@@ -0,0 +1,3 @@
+# Development
+
+TBD
diff --git a/docs/contributing/documentation.md b/docs/contributing/documentation.md
new file mode 100644
index 0000000000..00b9f9550e
--- /dev/null
+++ b/docs/contributing/documentation.md
@@ -0,0 +1,22 @@
+# Documentation
+
+We are glad to see you are interested in contributing to Lens documentation. If this is the first Open Source project you will contribute to, we strongly suggest reading GitHub's excellent guide: [How to Contribute to Open Source](https://opensource.guide/how-to-contribute).
+
+## Finding Documentation Issues to Work On
+
+You can find a list of open documentation related issues [here](https://github.com/lensapp/lens/issues?q=is%3Aopen+is%3Aissue+label%3Aarea%2Fdocumentation). When you find something you would like to work on:
+
+1. Express your interest to start working on an issue via comments.
+2. One of the maintainers will assign the issue for you.
+3. You can start working on the issue. Once done, simply submit a pull request.
+
+## Requirements for Documentation Pull Requests
+
+When you create a new pull request, we expect some requirements to be met.
+
+* Follow this naming convention for Pull Requests:
+ * When adding new documentation, add `New Documentation:` before the title. E.g. `New Documentation: Getting Started`
+ * When fixing documentation, add `Fix Documentation:` before the title. E.g. `Fix Documentation: Getting Started`
+ * When updating documentation, add `Update Documentation:` before the title. E.g. `Update Documentation: Getting Started`
+* If your Pull Request closes an issue you need to write `Closes #ISSUE_NUMBER` where the ISSUE_NUMBER is the number in the end of the link url that will link your pull request to the issue, when merged will close that issue.
+* For each pull request made, we run tests to check if there are any broken links, the markdown formatting is valid and the linter is passing.
diff --git a/docs/contributing/maintainers.md b/docs/contributing/maintainers.md
new file mode 100644
index 0000000000..a73918b272
--- /dev/null
+++ b/docs/contributing/maintainers.md
@@ -0,0 +1,17 @@
+# Maintainers
+
+We are looking for community maintainers for the Lens project. Maintainers will be added to a special team with write permissions. These permissions consist of opening, closing, tagging and editing issues, and pull requests, as well as create and delete non protected branches.
+
+The responsibilities of a community maintainer are listed below.
+
+## Issues Triage
+
+* **Labeling Issues:** Label issues accordingly.
+* **Finding Duplicates:** Finding and closing duplicate issues.
+* **Doing First Level Contact:** Getting more information on the issues (like version number or asking for clarification) if needed.
+* **Closing Irrelevant Issues:** Closing issues that are determined irrelevant, no longer needed, not relevant to the project and/or doesn't follow the issues guidelines.
+
+## Help with Contributions
+
+* **Help Manage Pull Requests:** Help the author of the pull request with any problems.
+* **Contributing:** Create pull requests to help maintain and drive the project forward.
diff --git a/docs/contributing/promotion.md b/docs/contributing/promotion.md
new file mode 100644
index 0000000000..34d68231bd
--- /dev/null
+++ b/docs/contributing/promotion.md
@@ -0,0 +1,27 @@
+# Promoting
+
+Help promote Lens! If you are not a developer (or even if you are), you can still contribute to the project, a lot, by helping us promote it. As we are a free open source project, the community is our most important asset, so here are some ways that you can help the project continue to grow.
+
+## Follow, Like, Recommend, Favorite, Vote and Star Us
+
+There are many sites where you can vote, recommend, favorite and star us.
+
+* [Twitter](https://twitter.com/k8slens) - Like, comment and retweet our posts, and follow us on Twitter
+* [Medium](https://medium.com/k8slens) - Give claps to our articles and follow us on Medium
+* [GitHub](https://github.com/lensapp/lens) - Become a stargazer on GitHub
+* [StackShare](https://stackshare.io/lens) - Indicate you are using Lens and follow us on StackShare
+* [Reddit](https://www.reddit.com/search/?q=lens%20kubernetes&sort=new) - Upvote and be an ambassador of Lens by participating relevant discussions on Reddit
+* [Hacker News](https://hn.algolia.com/?dateRange=all&page=0&prefix=false&query=lens%20kubernetes&sort=byDate&type=story) - Upvote and be an ambassador of Lens by participating relevant discussions on Hacker News
+
+## Write Blogs or Make Videos About Us
+
+Here are some nice blog posts and videos about our project for you to get some inspiration:
+
+* [Onboard AWS EKS Cluster on Lens(Kubernetes IDE)](https://dev.to/himwad05/onboard-aws-eks-cluster-on-lens-kubernetes-ide-492l)
+* [Using Lens to Manage All Your Kubernetes Cluster](https://medium.com/@magicmagnate/using-lens-to-manage-all-your-kubernetes-cluster-c1ef88fdb476)
+* [Kontena Lens - Beautiful Kubernetes UI](https://www.youtube.com/watch?v=YGgaiGdYfdI)
+* [Gerenciando Kubernetes com Lens e Octant](https://www.youtube.com/watch?v=h9ZqDelJLQQ)
+* [Walkthrough of Kubernetes IDE - Lens](https://www.youtube.com/watch?v=602aHZSdEfY)
+* [LENS - Interfaz Gráfica para Kubernetes en 1 PASO.](https://www.youtube.com/watch?v=DFMKcR4BqwM)
+
+Psst... If you have created some content around Lens, let us know!
diff --git a/docs/custom_theme/img/favicon.ico b/docs/custom_theme/img/favicon.ico
new file mode 100644
index 0000000000..19b2de71d1
Binary files /dev/null and b/docs/custom_theme/img/favicon.ico differ
diff --git a/docs/custom_theme/main.html b/docs/custom_theme/main.html
new file mode 100644
index 0000000000..b6ad2467dd
--- /dev/null
+++ b/docs/custom_theme/main.html
@@ -0,0 +1,12 @@
+{% extends "base.html" %}
+
+{% block analytics %}
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/docs/extensions/README.md b/docs/extensions/README.md
new file mode 100644
index 0000000000..4a118bd4d3
--- /dev/null
+++ b/docs/extensions/README.md
@@ -0,0 +1,48 @@
+# Lens Extension API
+
+The Extensions API in Lens allows users to customize and enhance the Lens experience by creating their own menus or page content that is extended from the existing pages. Many of the core features of Lens are built as extensions and use the same Extension API.
+
+This documentation describes:
+
+* How to build, run, test and publish an extension
+* How to take advantage of Lens's Extension API
+* Where to find [guides](guides/overview.md) and [code samples](https://github.com/lensapp/lens-extension-samples) to help get you started
+
+Code samples are available at [lensapp/lens-extension-samples](https://github.com/lensapp/lens-extension-samples).
+
+## What can extensions do
+
+Here are some examples of what you can achieve with the Extension API:
+
+* Add custom components & views in the UI - Extending the Lens Workbench
+
+If you'd like to have a more comprehensive overview of the Extension API, refer to the [Extension Capabilities Overview](capabilities/overview.md) page. [Extension Guides Overview](guides/overview.md) also includes a list of code samples and guides that illustrate various Extension API usage.
+
+## How to build extensions
+
+Building a good extension can take a lot of effort. Here is what each section of the API doc can help you with:
+
+* **Get Started** teaches fundamental concepts for building extensions with the Hello World sample.
+* **Extension Capabilities** dissects Lens's Extension API into smaller categories and points you to more detailed topics.
+* **Extension Guides** includes guides and code samples that explain specific usages of Lens Extension API.
+* **Testing and Publishing** includes in-depth guides on various extension development topics, such as testing and publishing extensions.
+* **Advanced Topics** explains advanced concepts such as integrating with 3rd party applications/services.
+* **References** contains exhaustive references for the Lens Extension API, Contribution Points, and many other topics.
+
+## What's new
+
+Lens updates on a monthly cadence, and that applies to the Extension API as well. New features and APIs become available every month to increase the power and scope of Lens extensions.
+
+To stay current with the Extension API and Lens features in general, you can review the [release notes](https://github.com/lensapp/lens/releases).
+
+## Looking for help
+
+If you have questions for extension development, try asking on:
+
+* [Lens Dev Slack](http://k8slens.slack.com/): Public chatroom for Lens developers. Some Lens team members chime in on conversations.
+
+To provide feedback on the documentation or issues with the Lens Extension API, create new issues at [lensapp/lens](https://github.com/lensapp/lens/issues) with the labels `area/documentation` and/or `area/extension`.
+
+## Download Lens - The Kubernetes IDE
+
+Go to [Lens](https://k8slens.dev)
diff --git a/docs/extensions/api/README.md b/docs/extensions/api/README.md
new file mode 100644
index 0000000000..e751aa7a19
--- /dev/null
+++ b/docs/extensions/api/README.md
@@ -0,0 +1,3 @@
+# Lens Extension API Reference
+
+TBD
diff --git a/docs/extensions/capabilities/README.md b/docs/extensions/capabilities/README.md
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/docs/extensions/capabilities/color-reference.md b/docs/extensions/capabilities/color-reference.md
new file mode 100644
index 0000000000..d9fe0c70ec
--- /dev/null
+++ b/docs/extensions/capabilities/color-reference.md
@@ -0,0 +1,130 @@
+# Theme color reference
+You can use CSS variables generated from theme `.json` files to style an extension with respect of active theme.
+
+## Base colors
+- `blue`: blue color.
+- `magenta`: magenta color.
+- `golden`: gold/yellow color.
+- `halfGray`: gray with some apacity applied.
+- `primary`: Lens brand (blue) color.
+- `colorSuccess`: successfull operations color.
+- `colorOk`: successfull operations (bright version) color.
+- `colorInfo`: informational, in-progress color.
+- `colorError`: critical error color.
+- `colorSoftError`: error color.
+- `colorWarning`: warning color.
+- `colorVague`: soft gray color for notices, hints etc.
+- `colorTerminated`: terminated, closed, stale color.
+- `boxShadow`: semi-transparent box-shadow color.
+
+## Text colors
+- `textColorPrimary`: foreground text color.
+- `textColorSecondary`: foreground text color for different paragraps, parts of text.
+- `textColorAccent`: foreground text color to highlight its parts.
+
+## Border colors
+- `borderColor`: border color.
+- `borderFaintColor`: fainted (lighter or darker, which depends on the theme) border color.
+
+## Layout colors
+- `mainBackground`: main background color for the app.
+- `contentColor`: background color for panels contains some data.
+- `layoutBackground`: background color for layout parts.
+- `layoutTabsBackground`: background color for general tabs.
+- `layoutTabsActiveColor`: foreground color for general tabs.
+- `layoutTabsLineColor`: background color for lines under general tabs.
+
+## Sidebar colors
+- `sidebarLogoBackground`: background color behind logo in sidebar.
+- `sidebarActiveColor`: foreground color for active menu items in sidebar.
+- `sidebarSubmenuActiveColor`: foreground color for active submenu items in sidebar.
+- `sidebarBackground`: background color for sidebar.
+
+## Button colors
+- `buttonPrimaryBackground`: button background color for primary actions.
+- `buttonDefaultBackground`: default button background color.
+- `buttonAccentBackground`: accent button background color.
+- `buttonDisabledBackground`: disabled button background color.
+
+## Table colors
+- `tableBgcStripe`: background color for odd rows in table.
+- `tableBgcSelected`: background color for selected row in table.
+- `tableHeaderBackground`: background color for table header.
+- `tableHeaderBorderWidth`: border width under table header.
+- `tableHeaderBorderColor`: border color for line under table header.
+- `tableHeaderColor`: foreground color for table header.
+- `tableSelectedRowColor`: foreground color for selected row in table.
+
+## Dock colors
+- `dockHeadBackground`: background color for dock's header.
+- `dockInfoBackground`: background color for dock's info panel.
+- `dockInfoBorderColor`: border color for dock's info panel.
+
+## Helm chart colors
+- `helmLogoBackground`: background color for chart logo.
+- `helmImgBackground`: background color for chart image.
+- `helmStableRepo`: background color for stable repo.
+- `helmIncubatorRepo`: background color for incubator repo.
+- `helmDescriptionHr`: Helm chart description separator line color.
+- `helmDescriptionBlockqouteColor`: Helm chart description blockquote color.
+- `helmDescriptionBlockqouteBorder`: Helm chart description blockquote border color.
+- `helmDescriptionBlockquoteBackground`: Helm chart description blockquote background color.
+- `helmDescriptionHeaders`: Helm chart description headers color.
+- `helmDescriptionH6`: Helm chart description header foreground color.
+- `helmDescriptionTdBorder`: Helm chart description table cell border color.
+- `helmDescriptionTrBackground`: Helm chart description table row background color.
+- `helmDescriptionCodeBackground`: Helm chart description code background color.
+- `helmDescriptionPreBackground`: Helm chart description pre background color.
+- `helmDescriptionPreColor`: Helm chart description pre foreground color.
+
+## Terminal colors
+- `terminalBackground`: Terminal background color.
+- `terminalForeground`: Terminal foreground color.
+- `terminalCursor`: Terminal cursor color.
+- `terminalCursorAccent`: Terminal cursor accent color.
+- `terminalSelection`: Terminal selection background color.
+- `terminalBlack`: Terminal black color.
+- `terminalRed`: Terminal red color.
+- `terminalGreen`: Terminal green color.
+- `terminalYellow`: Terminal yellow color.
+- `terminalBlue`: Terminal blue color.
+- `terminalMagenta`: Terminal magenta color.
+- `terminalCyan`: Terminal cyan color.
+- `terminalWhite`: Terminal white color.
+- `terminalBrightBlack`: Terminal bright black color.
+- `terminalBrightRed`: Terminal bright red color.
+- `terminalBrightGreen`: Terminal bright green color.
+- `terminalBrightYellow`: Terminal bright yellow color.
+- `terminalBrightBlue`: Terminal bright blue color.
+- `terminalBrightMagenta`: Terminal bright magenta color.
+- `terminalBrightCyan`: Terminal bright cyan color.
+- `terminalBrightWhite`: Terminal bright white color.
+
+## Dialog colors
+- `dialogHeaderBackground`: background color for dialog header.
+- `dialogFooterBackground`: background color for dialog footer.
+
+## Detail panel (Drawer) colors
+- `drawerTitleText`: drawer title foreground color.
+- `drawerSubtitleBackground`: drawer subtitle foreground color.
+- `drawerItemNameColor`: foreground color for item name in drawer.
+- `drawerItemValueColor`: foreground color for item value in drawer.
+
+## Misc colors
+- `logsBackground`: background color for pod logs.
+- `clusterMenuBackground`: background color for cluster menu.
+- `clusterMenuBorderColor`: border color for cluster menu.
+- `clusterSettingsBackground`: background color for cluster settings.
+- `addClusterIconColor`: add cluster button background color.
+- `iconActiveColor`: active cluster icon foreground color.
+- `iconActiveBackground`: active cluster icon background color.
+- `filterAreaBackground`: page filter area (where selected namespaces are lister) background color.
+- `chartStripesColor`: bar chart zebra stripes background color.
+- `chartCapacityColor`: background color for capacity values in bar charts.
+- `pieChartDefaultColor`: default background color for pie chart values.
+- `selectOptionHoveredColor`: foregrond color for selected element in dropdown list.
+- `lineProgressBackground`: background color for progress line.
+- `radioActiveBackground`: background color for active radio buttons.
+- `menuActiveBackground`: background color for active menu items.
+
+In most cases you would only need base, text and some of the layout colors.
\ No newline at end of file
diff --git a/docs/extensions/capabilities/common-capabilities.md b/docs/extensions/capabilities/common-capabilities.md
new file mode 100644
index 0000000000..ee8745df08
--- /dev/null
+++ b/docs/extensions/capabilities/common-capabilities.md
@@ -0,0 +1,258 @@
+# Common Capabilities
+
+Common Capabilities are important building blocks for your extensions. Almost all extensions use some of these functionalities. Here is how you can take advantage of them.
+
+## Main Extension
+
+A main extension runs in the background and, apart from app menu items, does not add content to the Lens UI. If you want to see logs from this extension you need to start Lens from the command line.
+
+### Activate
+
+An extension can register a custom callback that is executed when an extension is activated (started).
+
+``` javascript
+import { LensMainExtension } from "@k8slens/extensions"
+
+export default class ExampleMainExtension extends LensMainExtension {
+ async onActivate() {
+ console.log("hello world")
+ }
+}
+```
+
+### Deactivate
+
+An extension can register a custom callback that is executed when an extension is deactivated (stopped).
+
+``` javascript
+import { LensMainExtension } from "@k8slens/extensions"
+
+export default class ExampleMainExtension extends LensMainExtension {
+ async onDeactivate() {
+ console.log("bye bye")
+ }
+}
+```
+
+### App Menus
+
+An extension can register custom App menus that will be displayed on OS native menus.
+
+Example:
+
+``` typescript
+import { LensMainExtension, windowManager } from "@k8slens/extensions"
+
+export default class ExampleMainExtension extends LensMainExtension {
+ appMenus = [
+ {
+ parentId: "help",
+ label: "Example item",
+ click() {
+ windowManager.navigate("https://k8slens.dev");
+ }
+ }
+ ]
+}
+```
+
+## Renderer Extension
+
+A renderer extension runs in a browser context and it's visible directly via Lens main window. If you want to see logs from this extension you need to check them via View -> Toggle Developer Tools -> Console.
+
+### Activate
+
+An extension can register a custom callback that is executed when an extension is activated (started).
+
+``` javascript
+import { LensRendererExtension } from "@k8slens/extensions"
+
+export default class ExampleExtension extends LensRendererExtension {
+ async onActivate() {
+ console.log("hello world")
+ }
+}
+```
+
+### Deactivate
+
+An extension can register a custom callback that is executed when an extension is deactivated (stopped).
+
+``` javascript
+import { LensRendererExtension } from "@k8slens/extensions"
+
+export default class ExampleMainExtension extends LensRendererExtension {
+ async onDeactivate() {
+ console.log("bye bye")
+ }
+}
+```
+
+### Global Pages
+
+An extension can register custom global pages (views) to Lens main window. Global page is a full screen page that hides all the other content from a window.
+
+``` typescript
+import React from "react"
+import { Component, LensRendererExtension } from "@k8slens/extensions"
+import { ExamplePage } from "./src/example-page"
+
+export default class ExampleRendererExtension extends LensRendererExtension {
+ globalPages = [
+ {
+ path: "/example-route",
+ hideInMenu: true,
+ components: {
+ Page: ExamplePage,
+ }
+ }
+ ]
+}
+```
+
+### App Preferences
+
+An extension can register custom app preferences. An extension is responsible for storing a state for custom preferences.
+
+``` typescript
+import React from "react"
+import { LensRendererExtension } from "@k8slens/extensions"
+import { myCustomPreferencesStore } from "./src/my-custom-preferences-store"
+import { MyCustomPreferenceHint, MyCustomPreferenceInput } from "./src/my-custom-preference"
+
+
+export default class ExampleRendererExtension extends LensRendererExtension {
+ appPreferences = [
+ {
+ title: "My Custom Preference",
+ components: {
+ Hint: () => ,
+ Input: () =>
+ }
+ }
+ ]
+}
+```
+
+### Cluster Pages
+
+An extension can register custom cluster pages which are visible in a cluster menu when a cluster is opened.
+
+``` typescript
+import React from "react"
+import { LensRendererExtension } from "@k8slens/extensions";
+import { ExampleIcon, ExamplePage } from "./src/page"
+
+export default class ExampleExtension extends LensRendererExtension {
+ clusterPages = [
+ {
+ path: "/extension-example",
+ title: "Example Extension",
+ components: {
+ Page: () => ,
+ MenuIcon: ExampleIcon,
+ }
+ }
+ ]
+}
+
+```
+
+### Cluster Features
+
+An extension can register installable features for a cluster. A cluster feature is visible in "Cluster Settings" page.
+
+``` typescript
+import React from "react"
+import { LensRendererExtension } from "@k8slens/extensions"
+import { MyCustomFeature } from "./src/my-custom-feature"
+
+export default class ExampleExtension extends LensRendererExtension {
+ clusterFeatures = [
+ {
+ title: "My Custom Feature",
+ components: {
+ Description: () => {
+ return (
+
+ Just an example.
+
+ )
+ }
+ },
+ feature: new MyCustomFeature()
+ }
+ ]
+}
+
+```
+
+### Status Bar Items
+
+An extension can register custom icons/texts to a status bar area.
+
+``` typescript
+import React from "react";
+import { Component, LensRendererExtension, Navigation } from "@k8slens/extensions";
+
+export default class ExampleExtension extends LensRendererExtension {
+ statusBarItems = [
+ {
+ item: (
+
Navigation.navigate("/example-page")}
+ >
+
+
+ )
+ }
+ ]
+}
+
+```
+
+### Kubernetes Object Menu Items
+
+An extension can register custom menu items (actions) for specified Kubernetes kinds/apiVersions.
+
+``` typescript
+import React from "react"
+import { LensRendererExtension } from "@k8slens/extensions";
+import { CustomMenuItem, CustomMenuItemProps } from "./src/custom-menu-item"
+
+export default class ExampleExtension extends LensRendererExtension {
+ kubeObjectMenuItems = [
+ {
+ kind: "Node",
+ apiVersions: ["v1"],
+ components: {
+ MenuItem: (props: CustomMenuItemProps) =>
+ }
+ }
+ ]
+}
+
+```
+
+### Kubernetes Object Details
+
+An extension can register custom details (content) for specified Kubernetes kinds/apiVersions.
+
+``` typescript
+import React from "react"
+import { LensRendererExtension } from "@k8slens/extensions";
+import { CustomKindDetails, CustomKindDetailsProps } from "./src/custom-kind-details"
+
+export default class ExampleExtension extends LensRendererExtension {
+ kubeObjectMenuItems = [
+ {
+ kind: "CustomKind",
+ apiVersions: ["custom.acme.org/v1"],
+ components: {
+ Details: (props: CustomKindDetailsProps) =>
+ }
+ }
+ ]
+}
+```
diff --git a/docs/extensions/capabilities/images/css-vars-in-devtools.png b/docs/extensions/capabilities/images/css-vars-in-devtools.png
new file mode 100644
index 0000000000..a9df97e6bb
Binary files /dev/null and b/docs/extensions/capabilities/images/css-vars-in-devtools.png differ
diff --git a/docs/extensions/capabilities/images/theme-selector.png b/docs/extensions/capabilities/images/theme-selector.png
new file mode 100644
index 0000000000..5c2eba3165
Binary files /dev/null and b/docs/extensions/capabilities/images/theme-selector.png differ
diff --git a/docs/extensions/capabilities/styling.md b/docs/extensions/capabilities/styling.md
new file mode 100644
index 0000000000..c95673540c
--- /dev/null
+++ b/docs/extensions/capabilities/styling.md
@@ -0,0 +1,99 @@
+# Styling an extension
+Lens provides a set of global styles and UI components that can be used by any extension to preserve look and feel of the application.
+
+## Styling approach
+Lens heavily uses SCSS preprocessor with a set of predefined variables and mixins.
+
+For layout tasks Lens is using [flex.box](https://www.npmjs.com/package/flex.box) library which provides helpful class names to specify some of the [flexbox](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox) properties. For example, `div` with class names:
+```
+
+```
+at the end will have following css properties:
+```
+div {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+}
+```
+
+However, feel free to use any styling technique or framework like [Emotion](https://github.com/emotion-js/emotion) or just plain CSS if you prefer.
+
+## Themes
+Lens using 2 built-in themes located in `src/renderer/themes` folder each for light and dark color schemes. Active theme can be changed in the `Preferences` page.
+
+
+When Lens gets loaded it transforms selected theme `json` file into list of [CSS Custom Properties (CSS Variables)](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties) which then gets injected into `:root` element so any of the down-level components can use them.
+
+
+When user changes a theme, the process is repeated, new css variables appear instead of previous ones.
+
+If you want to follow a selected theme to keep the 'native' Lens look and feel, respecting the light/dark appearance of your extension, you can use provided variables and build-in lens components such as buttons, dropdowns, checkboxes etc.
+
+## Injected styles
+Every extention is affected by list of default global styles defined in `src/renderer/components/app.scss`. These are basic browser resets like setting `box-sizing` property for every element, default text and background colors, default font size, basic headings visualisation etc.
+
+Extension may overwrite them if needed.
+
+## Variables to use
+### Basic styling
+There is a list of CSS Variables available for extension to use. Basic variables located inside `:root` selected in `src/renderer/components/app.scss`:
+```
+ --unit: 8px;
+ --padding: var(--unit);
+ --margin: var(--unit);
+ --border-radius: 3px;
+ --font-main: 'Roboto', 'Helvetica', 'Arial', sans-serif;
+ --font-monospace: Lucida Console, Monaco, Consolas, monospace;
+ --font-size-small: calc(1.5 * var(--unit));
+ --font-size: calc(1.75 * var(--unit));
+ --font-size-big: calc(2 * var(--unit));
+ --font-weight-thin: 300;
+ --font-weight-normal: 400;
+ --font-weight-bold: 500;
+```
+
+They're intended to set consistent paddings and font-sizes across components, e.g.
+```
+.status {
+ padding-left: calc(var(--padding) * 2);
+ font-size: var(--font-size-small);
+}
+```
+
+### Themable colors
+After theme file gets parsed it provides list of theme-defined colors. Most of their values are different for light and dark themes. You can use them to preserve consitent view of extension with respect of selected theme.
+```
+ "blue": "#3d90ce",
+ "magenta": "#c93dce",
+ "golden": "#ffc63d",
+ "halfGray": "#87909c80",
+ "primary": "#3d90ce",
+ "textColorPrimary": "#555555",
+ "textColorSecondary": "#51575d",
+ "textColorAccent": "#333333",
+ "borderColor": "#c9cfd3",
+ "borderFaintColor": "#dfdfdf",
+ "mainBackground": "#f1f1f1",
+ "contentColor": "#ffffff",
+ "layoutBackground": "#e8e8e8",
+ "layoutTabsBackground": "#f8f8f8",
+ "layoutTabsActiveColor": "#333333",
+ "layoutTabsLineColor": "#87909c80"
+ ...
+...
+```
+
+They can be used in form of `var(--magenta)`.
+
+A complete list of all themable colors can be found in the [color reference](../color-reference).
+
+Colors values are located inside `src/renderer/themes/lens-dark.json` and `src/renderer/themes/lens-light.json` files.
+
+## Using CSS Variables inside CSS-in-JS components
+If a developer uses an `Emotion` (or similar) framework to work with styles inside an extension, they can use variables in the following form:
+```
+const Container = styled.div(() => ({
+ backgroundColor: 'var(--mainBackground)'
+}));
+```
\ No newline at end of file
diff --git a/docs/extensions/get-started/anatomy.md b/docs/extensions/get-started/anatomy.md
new file mode 100644
index 0000000000..523c6b9781
--- /dev/null
+++ b/docs/extensions/get-started/anatomy.md
@@ -0,0 +1,98 @@
+# Extension Anatomy
+
+You've now learnt how to get basic extension running. In this topic you will learn some fundamental concepts to Lens Extension development; How does it work under the hood?
+
+`Hello World` extension does three things:
+
+- Hooks on `onActivate()` and ouputs message into console.
+- Hooks on `onDectivate()` and ouputs message into console.
+- Registers `ClusterPage` so that page is visible in the sidebars of cluster dashboards.
+
+Let's take a closer look at Hello World sample's source code and see how to achieve these things.
+
+## Extension File Structure
+
+```
+.
+├── .gitignore // Ignore build output and node_modules
+├── Makefile // Config for build tasks that compiles the extension
+├── README.md // Readable description of your extension's functionality
+├── src
+│ └── page.tsx // Extension's additional source code
+├── main.ts // Source code for extension's main entrypoint
+├── package.json // Extension manifest and dependencies
+├── renderer.tsx // Source code for extension's renderer entrypoint
+├── tsconfig.json // TypeScript configuration
+├── webpack.config.js // Webpack configuration
+```
+
+Extension directory contains extension's entry files and few configuration files. Let's focus on `package.json`, `main.ts` and `renderer.tsx` which are essential to understanding the `Hello World` extension.
+
+### Extension Manifest
+
+Each Lens extension must have `package.json`. The `package.json` contains a mix of Node.js fields such as scripts and dependencies and Lens specific fields such as `publisher` and `contributes`. Here are some most important fields:
+
+- `name` and `publisher`: Lens uses `@/` as a unique ID for the extension. For example, the Hello World sample has the ID `@lensapp-samples/helloworld-sample`. Lens uses the ID to uniquely identify your extension
+- `main`: The extension's entry point run in `main` process.
+- `renderer`: The extension's entry point run in `renderer` process.
+- `engines.lens`: This specifies the minimum version of Lens API that the extension depends on.
+
+``` javascript
+{
+ "name": "helloworld-sample",
+ "publisher": "lens-samples",
+ "version": "0.0.1",
+ "description": "Lens helloworld-sample",
+ "license": "MIT",
+ "homepage": "https://github.com/lensapp/lens-extension-samples",
+ "engines": {
+ "lens": "^4.0.0"
+ },
+ "main": "dist/main.js",
+ "renderer": "dist/renderer.js",
+ "scripts": {
+ "build": "webpack --config webpack.config.js",
+ "dev": "npm run build --watch"
+ },
+ "dependencies": {
+ "react-open-doodles": "^1.0.5"
+ },
+ "devDependencies": {
+ "@k8slens/extensions": "^4.0.0-alpha.2",
+ "ts-loader": "^8.0.4",
+ "typescript": "^4.0.3",
+ "@types/react": "^16.9.35",
+ "@types/node": "^12.0.0",
+ "webpack": "^4.44.2",
+ "webpack-cli": "^3.3.11"
+ }
+}
+```
+
+## Extension Entry Files
+Lens extensions can have two separate entry files. One file that is used in `main` process of Lens application and antoher that is used in `renderer` process. `main` entry file should export class that extends `LensMainExtension` and `renderer` entry file should export class that extends `LensRendererExtension`.
+
+Both extensions classes have `onActivate` and `onDeactivate` methods. `onActivate` is executed when your extension activation happens. You may want to initialize something in your extension at this point. `onDeactivate` gives you a chance to clean up before your extension becomes deactivated. For many extensions, explicit cleanup may not be required, and you don't need to override this method. However, if an extension needs to perform an operation when Lens is shutting down or the extension is disabled or uninstalled, this is the method to do so.
+
+`Hello world` extension does not do anything special on `main` process, so let's focus on the `renderer` side. On `renderer` entry point, `Hello world` extension defines one `Cluster Page` object that registers `/extension-example` path that renders `ExamplePage` React component. It registers also `MenuItem` component that displays `ExampleIcon` React component and "Hello World" text in the sidebar of cluster dashboards. These React components are defined in additional `./src/page.tsx` file.
+
+``` typescript
+import { LensRendererExtension } from "@k8slens/extensions";
+import { ExampleIcon, ExamplePage } from "./page"
+import React from "react"
+
+export default class ExampleExtension extends LensRendererExtension {
+ clusterPages = [
+ {
+ path: "/extension-example",
+ title: "Hello World",
+ components: {
+ Page: () => ,
+ MenuIcon: ExampleIcon,
+ }
+ }
+ ]
+}
+```
+
+`Hello World` extension uses only one capability (`Cluster Page`) of Lens extensions. The [Extension Capabilities Overview](/extensions/capabilities/) topic helps you find the right capabilities you can use with your own extension.
\ No newline at end of file
diff --git a/docs/extensions/get-started/overview.md b/docs/extensions/get-started/overview.md
new file mode 100644
index 0000000000..4aba2940ff
--- /dev/null
+++ b/docs/extensions/get-started/overview.md
@@ -0,0 +1,20 @@
+# Extension Development Overview
+
+This is a general overview to how the development of an extension will procede. For building extensions there will be a few things that you should have installed, and some that might help.
+
+### Required:
+- [Node.js](https://www.nodejs.org/en/)
+- [Git](https://www.git-scm.com/)
+- Some sort of text editor, we recommend [VSCode](https://code.visualstudio.com/)
+- We use [Webpack](https://www.webpack.js.org/) for compilation. All extension need to be at least compatable with a webpack system.
+
+### Recommened:
+-
+
+All *Lens* extensions are javascript packages. We recommend that you program in [Typescript](https://www.typescriptlang.org/) because it catches quite a few easily to make errors around passing data around in javascript.
+
+*Lens* is a standard [Electron](https://www.electronjs.org/) application which both main and renderer processes. An extension is made up of two parts, one for each of *Lens*'s core processes. When an extension is loaded each part is loaded and then notified that it has been loaded. From there the extension can start doing is work.
+
+*Lens* uses [React](https://www.reactjs.org/) as it UI framework and even provides some of our own components for reuse by extensions. An extension is resonsible for the lifetime of any resources it spins up. If an extension's main part starts new processes they all must be stopped and cleaned up when the extension is deactivated or unloaded.
+
+See [Your First Extension](your-first-extension.md) to get started.
diff --git a/docs/extensions/get-started/wrapping-up.md b/docs/extensions/get-started/wrapping-up.md
new file mode 100644
index 0000000000..95f36dbe88
--- /dev/null
+++ b/docs/extensions/get-started/wrapping-up.md
@@ -0,0 +1,18 @@
+# Wrapping Up
+
+In the [Your First Extension](your-first-extension.md) topic, you learned how to create and run an extension. In the [Extension Anatomy](anatomy.md) topic, you learned fundamental concepts to Lens extension development. However, this is just a small glimpse of what can be created with Lens Extensions. Below are some suggested routes for furthering your Lens extension development skills.
+
+## Extension Capabilities
+
+In this section, we split the Lens extension points into a few categories, each with short descriptions as to what your extension could achieve. Validate that your extension idea is achievable by reading the [Extension Capabilities](../capabilities/overview.md) section for new extension ideas.
+
+## Guides & Samples
+
+We have a great collection of sample extensions that you can adapt from, and some of them include a detailed guide that explains the source code. You can find all Samples & Guides in the [lens-extension-samples](https://github.com/lensapp/lens-extension-samples) repository.
+
+## Testing and Publishing
+
+This section includes topics that help you develop high-quality Lens extensions. For example, you can learn
+
+* How to add [integration tests](../testing-and-publishing/testing.md) for your extension
+* How to [publish your extension](../testing-and-publishing/publishing.md)
diff --git a/docs/extensions/get-started/your-first-extension.md b/docs/extensions/get-started/your-first-extension.md
new file mode 100644
index 0000000000..e43103c008
--- /dev/null
+++ b/docs/extensions/get-started/your-first-extension.md
@@ -0,0 +1,63 @@
+# Your First Extension
+
+In this topic, we'll teach you the fundamental concepts for building extensions.
+
+## Installing and Building the extension
+
+Simple Lens extension that adds "Hello World" page to a cluster menu.
+
+### Linux
+
+First you will need to clone the [Lens Extension samples](https://github.com/lensapp/lens-extension-samples) repository to your local machine:
+
+```sh
+git clone https://github.com/lensapp/lens-extension-samples.git
+```
+
+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 **helloworld-sample**:
+
+```sh
+mkdir -p ~/.k8slens/extensions
+cd ~/.k8slens/extensions
+ln -s /helloworld-sample helloworld-sample
+```
+
+To build the extension you can use `make` or run the `npm` commands manually:
+
+```sh
+cd /helloworld-sample
+make build
+```
+
+OR
+
+```sh
+cd /helloworld-sample
+npm install
+npm run build
+```
+
+If you want to watch for any source code changes and automatically rebuild the extension you can use:
+
+```sh
+cd /helloworld-sample
+npm run dev
+```
+
+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 [create a new one](../../clusters/adding-clusters.md). You should see then see the "Hello World" page in the Lens sidebar cluster menu.
+
+## Developing the extension
+
+Let's make a change to the message that our helloworld-sample extension displays:
+
+* Navigate to `/helloworld-sample`.
+* Change the message from HelloWorld! to **Hello Lens Extensions** in `page.tsx`.
+* Rebuild the extension or, if you used `npm run dev`, the extension should automatically rebuild.
+* Reload the Lens window and click on the Hello World page.
+* You should see the updated message showing up.
+
+## Next steps
+
+In the next topic, [Extension Anatomy](anatomy.md), we'll take a closer look at the source code of the Hello World sample and explain key concepts.
+
+You can find the source code of this tutorial at: [lensapp/lens-extension-samples](https://github.com/lensapp/lens-extension-samples/tree/master/helloworld-sample). The [Extension Guides](../guides/overview.md) topic contains other samples, each illustrating a different Lens Extension API.
diff --git a/docs/extensions/guides/README.md b/docs/extensions/guides/README.md
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/docs/extensions/guides/renderer-extension.md b/docs/extensions/guides/renderer-extension.md
new file mode 100644
index 0000000000..fc4f9b8bdd
--- /dev/null
+++ b/docs/extensions/guides/renderer-extension.md
@@ -0,0 +1 @@
+# Renderer Extension
diff --git a/docs/extensions/testing-and-publishing/bundling.md b/docs/extensions/testing-and-publishing/bundling.md
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/docs/extensions/testing-and-publishing/publishing.md b/docs/extensions/testing-and-publishing/publishing.md
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/docs/extensions/testing-and-publishing/testing.md b/docs/extensions/testing-and-publishing/testing.md
new file mode 100644
index 0000000000..f96e3ce9e5
--- /dev/null
+++ b/docs/extensions/testing-and-publishing/testing.md
@@ -0,0 +1,32 @@
+# Testing Extensions
+
+## Console.log
+
+`console.log()` might be handy for extension developers to prints out info/errors from extensions. To use `console.log`, note that Lens is based on Electron. Electron has two types of processes: [Main and Renderer](https://www.electronjs.org/docs/tutorial/quick-start#main-and-renderer-processes).
+
+### Renderer process logs
+
+`console.log()` in Renderer process is printed in the Console in Developer Tools (View > Toggle Developer Tools).
+
+### Main process logs
+
+To view the logs from the main process is a bit trickier, since you cannot open developer tools for them. On MacOSX, one way is to run Lens from the terminal.
+
+```bash
+/Applications/Lens.app/Contents/MacOS/Lens
+```
+
+You can alos use [Console.app](https://support.apple.com/en-gb/guide/console/welcome/mac) to view logs from Lens.
+
+On linux, you can get PID of Lens first
+
+```bash
+ps aux | grep Lens | grep -v grep
+```
+
+And get logs by the PID
+
+```bash
+tail -f /proc/[pid]/fd/1 # stdout (console.log)
+tail -f /proc/[pid]/fd/2 # stdout (console.error)
+```
diff --git a/docs/extensions/usage/README.md b/docs/extensions/usage/README.md
new file mode 100644
index 0000000000..7ca1ab7e51
--- /dev/null
+++ b/docs/extensions/usage/README.md
@@ -0,0 +1,3 @@
+# Using Extensions
+
+TBD
diff --git a/docs/faq/README.md b/docs/faq/README.md
new file mode 100644
index 0000000000..a0990367ef
--- /dev/null
+++ b/docs/faq/README.md
@@ -0,0 +1 @@
+TBD
diff --git a/docs/getting-started/README.md b/docs/getting-started/README.md
new file mode 100644
index 0000000000..e4c6c38bec
--- /dev/null
+++ b/docs/getting-started/README.md
@@ -0,0 +1,55 @@
+# Getting Started
+
+Lens is lightweight and simple to install. You'll be up and running in just a few minutes.
+
+
+## System requirements
+
+Review the [System Requirements](/supporting/requirements/) to check if your computer configuration is supported.
+
+
+## macOS
+
+1. [Download Lens](https://github.com/lensapp/lens/releases) for macOS.
+2. Open the browser's download list and locate the downloaded archive.
+3. Select the 'magnifying glass' icon to open the archive in Finder.
+4. Double-click `Lens-{version}.dmg` and drag `Lens.app` to the `Applications` folder, making it available in the macOS Launchpad.
+5. Add Lens to your Dock by right-clicking on the icon to bring up the context menu and choosing **Options**, **Keep in Dock**.
+
+
+## Windows
+
+1. Download the [Lens installer](https://github.com/lensapp/lens/releases) for Windows.
+2. Once it is downloaded, run the installer `Lens-Setup-{version}.exe`. This will only take a minute.
+3. By default, Lens is installed under `C:\users\{username}\AppData\Local\Programs\Lens`.
+
+
+## Linux
+
+See the [Download Lens](https://github.com/lensapp/lens/releases) page for a complete list of available installation options.
+
+
+### Snap
+
+Lens is officially distributed as a Snap package in the [Snap Store](https://snapcraft.io/store):
+
+[](https://snapcraft.io/kontena-lens)
+
+You can install it by running:
+
+```bash
+sudo snap install kontena-lens --classic
+```
+
+## Update cadence
+
+Lens releases a new version each month with new features and important bug fixes. Lens supports auto updating and you will be prompted to install the new release when it becomes available!
+
+To stay current with the Lens features, you can review the [release notes](https://github.com/lensapp/lens/releases).
+
+
+## Next Steps
+
+- [Add clusters](../clusters/adding-clusters.md)
+- [Watch introductory videos](./introductory-videos.md)
+
diff --git a/docs/getting-started/images/color-theme.png b/docs/getting-started/images/color-theme.png
new file mode 100644
index 0000000000..5e4f144560
Binary files /dev/null and b/docs/getting-started/images/color-theme.png differ
diff --git a/docs/getting-started/images/disabled-telemetry-usage-tracking.png b/docs/getting-started/images/disabled-telemetry-usage-tracking.png
new file mode 100644
index 0000000000..809a96056a
Binary files /dev/null and b/docs/getting-started/images/disabled-telemetry-usage-tracking.png differ
diff --git a/docs/getting-started/images/snap-store.png b/docs/getting-started/images/snap-store.png
new file mode 100644
index 0000000000..5e652132c3
Binary files /dev/null and b/docs/getting-started/images/snap-store.png differ
diff --git a/docs/getting-started/introductory-videos.md b/docs/getting-started/introductory-videos.md
new file mode 100644
index 0000000000..fcaee999c0
--- /dev/null
+++ b/docs/getting-started/introductory-videos.md
@@ -0,0 +1,36 @@
+# Introductory Videos
+
+Continue your Lens journey with this set of introductory videos! These videos are meant to quickly familiarize you with Lens' various powerful features.
+
+