diff --git a/Dockerfile b/Dockerfile
index c98543e9b..1050434ce 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,7 +8,7 @@ RUN apk --update add --no-cache \
jq
RUN npm upgrade -g npm
COPY --from=mikefarah/yq:4.52.4 /usr/bin/yq /usr/local/bin/yq
-ADD --chmod=775 https://dl.k8s.io/release/v1.35.1/bin/${TARGETPLATFORM}/kubectl /usr/local/bin/kubectl
+ADD --chmod=775 https://dl.k8s.io/release/v1.35.3/bin/${TARGETPLATFORM}/kubectl /usr/local/bin/kubectl
WORKDIR /cf-cli
COPY package.json yarn.lock check-version.js run-check-version.js /cf-cli/
RUN yarn install --prod --frozen-lockfile && \
diff --git a/docs/config.toml b/docs/config.toml
index 0b2224653..3b1114641 100644
--- a/docs/config.toml
+++ b/docs/config.toml
@@ -21,6 +21,11 @@ highlightClientSide = false # set true to use highlight.pack.js instead of the d
[blackfriday]
smartDashes = false
+[markup]
+ [markup.goldmark]
+ [markup.goldmark.renderer]
+ unsafe = true
+
[outputs]
home = [ "HTML", "RSS", "JSON"]
diff --git a/docs/content/_index.md b/docs/content/_index.md
index f4c080ee5..062936410 100644
--- a/docs/content/_index.md
+++ b/docs/content/_index.md
@@ -8,12 +8,12 @@ weight = 1
Welcome to Codefresh official CLI documentation!
-The Codefresh CLI provides a full and flexible interface to interact with Codefresh.
+The Codefresh CLI provides a full and flexible interface to interact with Codefresh.
+
The CLI can be used to achieve the following:
-
-
Perform any operation you would be able to do through the UI.
-
Create complex automation from your local machine.
-
Run complex pipeline use cases by using the CLI inside your pipeline steps.
-
+
+- Perform any operation you would be able to do through the UI.
+- Create complex automation from your local machine.
+- Run complex pipeline use cases by using the CLI inside your pipeline steps.
To get started please navigate to the [Getting started](getting-started) page.
diff --git a/docs/content/contexts/spec/_index.md b/docs/content/contexts/spec/_index.md
index 9930a32ac..4d69e2384 100644
--- a/docs/content/contexts/spec/_index.md
+++ b/docs/content/contexts/spec/_index.md
@@ -7,19 +7,20 @@ A Context needs `.apiVersion`, `.kind`, and `.metadata` fields.
A Context also needs a `.spec` section.
### Owner
-A context can be either attached to a user or to an account.
-`.owner` can be either `account` or `user`.
-The default is `account`.
+A context can be either attached to a user or to an account.
+
+`.owner` can be either `account` or `user`.
+
+The default is `account`.
### Type
-`.spec.type` should be one of the following:
-
-
[config](config)
-
[secret](secret)
-
[yaml](yaml)
-
[secret-yaml](secret-yaml)
-
[helm-repository](helm-repository)
-
+`.spec.type` should be one of the following:
+
+- [config](config)
+- [secret](secret)
+- [yaml](yaml)
+- [secret-yaml](secret-yaml)
+- [helm-repository](helm-repository)
### Data
`.spec.data` should be different according to the type of the context
diff --git a/docs/content/getting-started/_index.md b/docs/content/getting-started/_index.md
index 20702eb6f..705fdc8c7 100644
--- a/docs/content/getting-started/_index.md
+++ b/docs/content/getting-started/_index.md
@@ -9,20 +9,24 @@ weight = 10
Install the CLI through one of the possible ways described in the [Installation](/cli/installation) page.
## Authenticate
-In order to start working with the cli you will need to update the authentication configuration.
-Updating the authentication configuration is done via an API-KEY you generate from Codefresh.
+In order to start working with the cli you will need to update the authentication configuration.
-If you already have an API-KEY you can just use it.
-You can generate a new one from the user settings page.
-
-Once you have an API key, create a new authentication context: `codefresh auth create-context --api-key {API_KEY}`
+Updating the authentication configuration is done via an API-KEY you generate from Codefresh.
+
+If you already have an API-KEY you can just use it.
+
+You can generate a new one from the [user settings](https://g.codefresh.io/user/settings) page.
+
+Once you have an API key, create a new authentication context:
+
+`codefresh auth create-context --api-key {API_KEY}`
## Getting Help
-To get help and usage instructions run `codefresh [COMMAND]--help`.
-A help message will appear in the terminal.
+To get help and usage instructions run `codefresh [COMMAND]--help`.
+
+A help message will appear in the terminal.
## Showing Current Version
Run `codefresh version` to see the current CLI version.
-
#### That's it, you are good to go!
diff --git a/docs/content/installation/_index.md b/docs/content/installation/_index.md
index 116431f74..8f4bebfe9 100644
--- a/docs/content/installation/_index.md
+++ b/docs/content/installation/_index.md
@@ -4,10 +4,10 @@ description = ""
weight = 20
+++
-Codefresh CLI is developed and built with node.js.
+Codefresh CLI is developed and built with node.js.
-In case you have node.js installed on your machine you can use [NPM](/cli/installation/npm) or [YARN](/cli/installation/yarn) to install it.
+In case you have node.js installed on your machine you can use [NPM](/cli/installation/npm) or [YARN](/cli/installation/yarn) to install it.
-If you don't have node.js installed you can install the CLI by [Downloading](/cli/installation/download) it directly.
+If you don't have node.js installed you can install the CLI by [Downloading](/cli/installation/download) it directly.
It is also possible to run the CLI using a [Docker image](/cli/installation/docker).
diff --git a/docs/content/installation/docker.md b/docs/content/installation/docker.md
index 616389470..5f66082b4 100644
--- a/docs/content/installation/docker.md
+++ b/docs/content/installation/docker.md
@@ -5,7 +5,7 @@ date = "2017-04-24T18:36:24+02:00"
weight = 30
+++
-You can run the CLI using our official docker image which is published to Dockerhub
+You can run the CLI using our official docker image which is published to [Dockerhub](https://hub.docker.com/r/codefresh/cli/).
Pull the latest version:
`docker pull codefresh/cli`
diff --git a/docs/content/operate on resources/_index.md b/docs/content/operate on resources/_index.md
index 99cf5f2fd..c25296f1b 100644
--- a/docs/content/operate on resources/_index.md
+++ b/docs/content/operate on resources/_index.md
@@ -3,8 +3,10 @@ title = "Operate On Resources"
weight = 31
+++
-The CLI supports the ability to work with `spec` files when working with resources.
-The supported formats are `yaml` and `json`.
+The CLI supports the ability to work with `spec` files when working with resources.
+
+The supported formats are `yaml` and `json`.
+
Check each specific resource `spec` for its documentation
{{COMMANDS}}
diff --git a/docs/content/pipelines/Run Pipeline.md b/docs/content/pipelines/Run Pipeline.md
index eec6cdc8a..5246b57e7 100644
--- a/docs/content/pipelines/Run Pipeline.md
+++ b/docs/content/pipelines/Run Pipeline.md
@@ -9,8 +9,10 @@
{{OPTIONS}}
### variable-file (var-file)
-It is possible to pass build variables using a file. (supported format: json and yaml)
-The variables file structure should be an array.
+It is possible to pass build variables using a file. (supported format: json and yaml)
+
+The variables file structure should be an array.
+
The pipeline will be triggered multiple times according to the array length.
#### Variable yaml file with 2 sets of variables
diff --git a/docs/themes/docdock/layouts/partials/flex/body-beforecontent.html b/docs/themes/docdock/layouts/partials/flex/body-beforecontent.html
index 78e48d7be..563bb7f3f 100755
--- a/docs/themes/docdock/layouts/partials/flex/body-beforecontent.html
+++ b/docs/themes/docdock/layouts/partials/flex/body-beforecontent.html
@@ -54,7 +54,7 @@
-
+
+
+
+
+
diff --git a/docs/themes/docdock/static/revealjs/.codespellrc b/docs/themes/docdock/static/revealjs/.codespellrc
new file mode 100644
index 000000000..fcffc5332
--- /dev/null
+++ b/docs/themes/docdock/static/revealjs/.codespellrc
@@ -0,0 +1,8 @@
+[codespell]
+# Ref: https://github.com/codespell-project/codespell#using-a-config-file
+skip = .git*,node_modules,package-lock.json,*.css,.codespellrc,react
+check-hidden = true
+# Ignore super long lines -- must be minimized etc, acronyms
+# and some near hit variables
+ignore-regex = ^.{120,}|\b(currentY|FOM)\b
+# ignore-words-list =
diff --git a/docs/themes/docdock/static/revealjs/.gitignore b/docs/themes/docdock/static/revealjs/.gitignore
old mode 100755
new mode 100644
index e7b4f216a..e69de29bb
--- a/docs/themes/docdock/static/revealjs/.gitignore
+++ b/docs/themes/docdock/static/revealjs/.gitignore
@@ -1,13 +0,0 @@
-.idea/
-*.iml
-*.iws
-*.eml
-out/
-.DS_Store
-.svn
-log/*.log
-tmp/**
-node_modules/
-.sass-cache
-css/reveal.min.css
-js/reveal.min.js
\ No newline at end of file
diff --git a/docs/themes/docdock/static/revealjs/.prettierignore b/docs/themes/docdock/static/revealjs/.prettierignore
new file mode 100644
index 000000000..06d0866e3
--- /dev/null
+++ b/docs/themes/docdock/static/revealjs/.prettierignore
@@ -0,0 +1,7 @@
+js/**/*.js
+plugin/**/*.js
+**/*.md
+test/**/*.html
+examples/**/*.md
+dist/**/*
+*.html
\ No newline at end of file
diff --git a/docs/themes/docdock/static/revealjs/.prettierrc b/docs/themes/docdock/static/revealjs/.prettierrc
new file mode 100644
index 000000000..f4f82ddb7
--- /dev/null
+++ b/docs/themes/docdock/static/revealjs/.prettierrc
@@ -0,0 +1,8 @@
+{
+ "useTabs": true,
+ "tabWidth": 2,
+ "trailingComma": "es5",
+ "printWidth": 100,
+ "singleQuote": true,
+ "bracketSameLine": false
+}
diff --git a/docs/themes/docdock/static/revealjs/.travis.yml b/docs/themes/docdock/static/revealjs/.travis.yml
deleted file mode 100755
index 264c6ecc2..000000000
--- a/docs/themes/docdock/static/revealjs/.travis.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-language: node_js
-node_js:
- - 4.1.1
-before_script:
- - npm install -g grunt-cli
\ No newline at end of file
diff --git a/docs/themes/docdock/static/revealjs/CONTRIBUTING.md b/docs/themes/docdock/static/revealjs/CONTRIBUTING.md
deleted file mode 100755
index c2091e88f..000000000
--- a/docs/themes/docdock/static/revealjs/CONTRIBUTING.md
+++ /dev/null
@@ -1,23 +0,0 @@
-## Contributing
-
-Please keep the [issue tracker](http://github.com/hakimel/reveal.js/issues) limited to **bug reports**, **feature requests** and **pull requests**.
-
-
-### Personal Support
-If you have personal support or setup questions the best place to ask those are [StackOverflow](http://stackoverflow.com/questions/tagged/reveal.js).
-
-
-### Bug Reports
-When reporting a bug make sure to include information about which browser and operating system you are on as well as the necessary steps to reproduce the issue. If possible please include a link to a sample presentation where the bug can be tested.
-
-
-### Pull Requests
-- Should follow the coding style of the file you work in, most importantly:
- - Tabs to indent
- - Single-quoted strings
-- Should be made towards the **dev branch**
-- Should be submitted from a feature/topic branch (not your master)
-
-
-### Plugins
-Please do not submit plugins as pull requests. They should be maintained in their own separate repository. More information here: https://github.com/hakimel/reveal.js/wiki/Plugin-Guidelines
diff --git a/docs/themes/docdock/static/revealjs/Gruntfile.js b/docs/themes/docdock/static/revealjs/Gruntfile.js
deleted file mode 100755
index b6ef63be3..000000000
--- a/docs/themes/docdock/static/revealjs/Gruntfile.js
+++ /dev/null
@@ -1,192 +0,0 @@
-/* global module:false */
-module.exports = function(grunt) {
- var port = grunt.option('port') || 8000;
- var root = grunt.option('root') || '.';
-
- if (!Array.isArray(root)) root = [root];
-
- // Project configuration
- grunt.initConfig({
- pkg: grunt.file.readJSON('package.json'),
- meta: {
- banner:
- '/*!\n' +
- ' * reveal.js <%= pkg.version %> (<%= grunt.template.today("yyyy-mm-dd, HH:MM") %>)\n' +
- ' * http://revealjs.com\n' +
- ' * MIT licensed\n' +
- ' *\n' +
- ' * Copyright (C) 2017 Hakim El Hattab, http://hakim.se\n' +
- ' */'
- },
-
- qunit: {
- files: [ 'test/*.html' ]
- },
-
- uglify: {
- options: {
- banner: '<%= meta.banner %>\n',
- screwIE8: false
- },
- build: {
- src: 'js/reveal.js',
- dest: 'js/reveal.min.js'
- }
- },
-
- sass: {
- core: {
- src: 'css/reveal.scss',
- dest: 'css/reveal.css'
- },
- themes: {
- expand: true,
- cwd: 'css/theme/source',
- src: ['*.sass', '*.scss'],
- dest: 'css/theme',
- ext: '.css'
- }
- },
-
- autoprefixer: {
- core: {
- src: 'css/reveal.css'
- }
- },
-
- cssmin: {
- options: {
- compatibility: 'ie9'
- },
- compress: {
- src: 'css/reveal.css',
- dest: 'css/reveal.min.css'
- }
- },
-
- jshint: {
- options: {
- curly: false,
- eqeqeq: true,
- immed: true,
- esnext: true,
- latedef: 'nofunc',
- newcap: true,
- noarg: true,
- sub: true,
- undef: true,
- eqnull: true,
- browser: true,
- expr: true,
- globals: {
- head: false,
- module: false,
- console: false,
- unescape: false,
- define: false,
- exports: false
- }
- },
- files: [ 'Gruntfile.js', 'js/reveal.js' ]
- },
-
- connect: {
- server: {
- options: {
- port: port,
- base: root,
- livereload: true,
- open: true,
- useAvailablePort: true
- }
- }
- },
-
- zip: {
- bundle: {
- src: [
- 'index.html',
- 'css/**',
- 'js/**',
- 'lib/**',
- 'images/**',
- 'plugin/**',
- '**.md'
- ],
- dest: 'reveal-js-presentation.zip'
- }
- },
-
- watch: {
- js: {
- files: [ 'Gruntfile.js', 'js/reveal.js' ],
- tasks: 'js'
- },
- theme: {
- files: [
- 'css/theme/source/*.sass',
- 'css/theme/source/*.scss',
- 'css/theme/template/*.sass',
- 'css/theme/template/*.scss'
- ],
- tasks: 'css-themes'
- },
- css: {
- files: [ 'css/reveal.scss' ],
- tasks: 'css-core'
- },
- html: {
- files: root.map(path => path + '/*.html')
- },
- markdown: {
- files: root.map(path => path + '/*.md')
- },
- options: {
- livereload: true
- }
- },
-
- retire: {
- js: [ 'js/reveal.js', 'lib/js/*.js', 'plugin/**/*.js' ],
- node: [ '.' ]
- }
-
- });
-
- // Dependencies
- grunt.loadNpmTasks( 'grunt-contrib-connect' );
- grunt.loadNpmTasks( 'grunt-contrib-cssmin' );
- grunt.loadNpmTasks( 'grunt-contrib-jshint' );
- grunt.loadNpmTasks( 'grunt-contrib-qunit' );
- grunt.loadNpmTasks( 'grunt-contrib-uglify' );
- grunt.loadNpmTasks( 'grunt-contrib-watch' );
- grunt.loadNpmTasks( 'grunt-autoprefixer' );
- grunt.loadNpmTasks( 'grunt-retire' );
- grunt.loadNpmTasks( 'grunt-sass' );
- grunt.loadNpmTasks( 'grunt-zip' );
-
- // Default task
- grunt.registerTask( 'default', [ 'css', 'js' ] );
-
- // JS task
- grunt.registerTask( 'js', [ 'jshint', 'uglify', 'qunit' ] );
-
- // Theme CSS
- grunt.registerTask( 'css-themes', [ 'sass:themes' ] );
-
- // Core framework CSS
- grunt.registerTask( 'css-core', [ 'sass:core', 'autoprefixer', 'cssmin' ] );
-
- // All CSS
- grunt.registerTask( 'css', [ 'sass', 'autoprefixer', 'cssmin' ] );
-
- // Package presentation to archive
- grunt.registerTask( 'package', [ 'default', 'zip' ] );
-
- // Serve presentation locally
- grunt.registerTask( 'serve', [ 'connect', 'watch' ] );
-
- // Run tests
- grunt.registerTask( 'test', [ 'jshint', 'qunit' ] );
-
-};
diff --git a/docs/themes/docdock/static/revealjs/LICENSE b/docs/themes/docdock/static/revealjs/LICENSE
deleted file mode 100755
index c3e6e5fd6..000000000
--- a/docs/themes/docdock/static/revealjs/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (C) 2017 Hakim El Hattab, http://hakim.se, and reveal.js contributors
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
\ No newline at end of file
diff --git a/docs/themes/docdock/static/revealjs/README.md b/docs/themes/docdock/static/revealjs/README.md
deleted file mode 100755
index 9d714728f..000000000
--- a/docs/themes/docdock/static/revealjs/README.md
+++ /dev/null
@@ -1,1238 +0,0 @@
-# reveal.js [](https://travis-ci.org/hakimel/reveal.js)
-
-A framework for easily creating beautiful presentations using HTML. [Check out the live demo](http://revealjs.com/).
-
-reveal.js comes with a broad range of features including [nested slides](https://github.com/hakimel/reveal.js#markup), [Markdown contents](https://github.com/hakimel/reveal.js#markdown), [PDF export](https://github.com/hakimel/reveal.js#pdf-export), [speaker notes](https://github.com/hakimel/reveal.js#speaker-notes) and a [JavaScript API](https://github.com/hakimel/reveal.js#api). There's also a fully featured visual editor and platform for sharing reveal.js presentations at [slides.com](https://slides.com?ref=github).
-
-## Table of contents
-- [Online Editor](#online-editor)
-- [Instructions](#instructions)
- - [Markup](#markup)
- - [Markdown](#markdown)
- - [Element Attributes](#element-attributes)
- - [Slide Attributes](#slide-attributes)
-- [Configuration](#configuration)
-- [Presentation Size](#presentation-size)
-- [Dependencies](#dependencies)
-- [Ready Event](#ready-event)
-- [Auto-sliding](#auto-sliding)
-- [Keyboard Bindings](#keyboard-bindings)
-- [Touch Navigation](#touch-navigation)
-- [Lazy Loading](#lazy-loading)
-- [API](#api)
- - [Slide Changed Event](#slide-changed-event)
- - [Presentation State](#presentation-state)
- - [Slide States](#slide-states)
- - [Slide Backgrounds](#slide-backgrounds)
- - [Parallax Background](#parallax-background)
- - [Slide Transitions](#slide-transitions)
- - [Internal links](#internal-links)
- - [Fragments](#fragments)
- - [Fragment events](#fragment-events)
- - [Code syntax highlighting](#code-syntax-highlighting)
- - [Slide number](#slide-number)
- - [Overview mode](#overview-mode)
- - [Fullscreen mode](#fullscreen-mode)
- - [Embedded media](#embedded-media)
- - [Stretching elements](#stretching-elements)
- - [postMessage API](#postmessage-api)
-- [PDF Export](#pdf-export)
-- [Theming](#theming)
-- [Speaker Notes](#speaker-notes)
- - [Share and Print Speaker Notes](#share-and-print-speaker-notes)
- - [Server Side Speaker Notes](#server-side-speaker-notes)
-- [Multiplexing](#multiplexing)
- - [Master presentation](#master-presentation)
- - [Client presentation](#client-presentation)
- - [Socket.io server](#socketio-server)
-- [MathJax](#mathjax)
-- [Installation](#installation)
- - [Basic setup](#basic-setup)
- - [Full setup](#full-setup)
- - [Folder Structure](#folder-structure)
-- [License](#license)
-
-#### More reading
-- [Changelog](https://github.com/hakimel/reveal.js/releases): Up-to-date version history.
-- [Examples](https://github.com/hakimel/reveal.js/wiki/Example-Presentations): Presentations created with reveal.js, add your own!
-- [Browser Support](https://github.com/hakimel/reveal.js/wiki/Browser-Support): Explanation of browser support and fallbacks.
-- [Plugins](https://github.com/hakimel/reveal.js/wiki/Plugins,-Tools-and-Hardware): A list of plugins that can be used to extend reveal.js.
-
-## Online Editor
-
-Presentations are written using HTML or Markdown but there's also an online editor for those of you who prefer a graphical interface. Give it a try at [https://slides.com](https://slides.com?ref=github).
-
-
-## Instructions
-
-### Markup
-
-Here's a barebones example of a fully working reveal.js presentation:
-```html
-
-
-
-
-
-
-
-
- Slide 1
- Slide 2
-
-
-
-
-
-
-```
-
-The presentation markup hierarchy needs to be `.reveal > .slides > section` where the `section` represents one slide and can be repeated indefinitely. If you place multiple `section` elements inside of another `section` they will be shown as vertical slides. The first of the vertical slides is the "root" of the others (at the top), and will be included in the horizontal sequence. For example:
-
-```html
-
-```
-
-### Markdown
-
-It's possible to write your slides using Markdown. To enable Markdown, add the `data-markdown` attribute to your `` elements and wrap the contents in a `