Skip to content

Commit 7089ab2

Browse files
chore: updated revealjs, updated hugo (#910)
## What 1. Updated the whole folder of reveal.js, 2. Corrected templates according to new version of Hugo ## Why medium severity | reveal.js | CVE-2020-8127 ## Notes
1 parent 1cd562c commit 7089ab2

File tree

310 files changed

+79183
-22458
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

310 files changed

+79183
-22458
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN apk --update add --no-cache \
88
jq
99
RUN npm upgrade -g npm
1010
COPY --from=mikefarah/yq:4.52.4 /usr/bin/yq /usr/local/bin/yq
11-
ADD --chmod=775 https://dl.k8s.io/release/v1.35.1/bin/${TARGETPLATFORM}/kubectl /usr/local/bin/kubectl
11+
ADD --chmod=775 https://dl.k8s.io/release/v1.35.3/bin/${TARGETPLATFORM}/kubectl /usr/local/bin/kubectl
1212
WORKDIR /cf-cli
1313
COPY package.json yarn.lock check-version.js run-check-version.js /cf-cli/
1414
RUN yarn install --prod --frozen-lockfile && \

docs/config.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ highlightClientSide = false # set true to use highlight.pack.js instead of the d
2121
[blackfriday]
2222
smartDashes = false
2323

24+
[markup]
25+
[markup.goldmark]
26+
[markup.goldmark.renderer]
27+
unsafe = true
28+
2429
[outputs]
2530
home = [ "HTML", "RSS", "JSON"]
2631

docs/content/_index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ weight = 1
88

99
Welcome to Codefresh official CLI documentation!
1010

11-
The Codefresh CLI provides a full and flexible interface to interact with Codefresh.<br>
11+
The Codefresh CLI provides a full and flexible interface to interact with Codefresh.
12+
1213
The CLI can be used to achieve the following:
13-
<ul>
14-
<li>Perform any operation you would be able to do through the UI.</li>
15-
<li>Create complex automation from your local machine.</li>
16-
<li>Run complex pipeline use cases by using the CLI inside your pipeline steps.</li>
17-
</ul>
14+
15+
- Perform any operation you would be able to do through the UI.
16+
- Create complex automation from your local machine.
17+
- Run complex pipeline use cases by using the CLI inside your pipeline steps.
1818

1919
To get started please navigate to the [Getting started](getting-started) page.

docs/content/contexts/spec/_index.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,20 @@ A Context needs `.apiVersion`, `.kind`, and `.metadata` fields.
77
A Context also needs a `.spec` section.
88

99
### Owner
10-
A context can be either attached to a user or to an account.<br>
11-
`.owner` can be either `account` or `user`. <br>
12-
The default is `account`. <br>
10+
A context can be either attached to a user or to an account.
11+
12+
`.owner` can be either `account` or `user`.
13+
14+
The default is `account`.
1315

1416
### Type
15-
`.spec.type` should be one of the following: <br>
16-
<ul>
17-
<li>[config](config) </li>
18-
<li>[secret](secret) </li>
19-
<li>[yaml](yaml) </li>
20-
<li>[secret-yaml](secret-yaml) </li>
21-
<li>[helm-repository](helm-repository) </li>
22-
</ul>
17+
`.spec.type` should be one of the following:
18+
19+
- [config](config)
20+
- [secret](secret)
21+
- [yaml](yaml)
22+
- [secret-yaml](secret-yaml)
23+
- [helm-repository](helm-repository)
2324

2425
### Data
2526
`.spec.data` should be different according to the type of the context

docs/content/getting-started/_index.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,24 @@ weight = 10
99
Install the CLI through one of the possible ways described in the [Installation](/cli/installation) page.
1010

1111
## Authenticate
12-
In order to start working with the cli you will need to update the authentication configuration. <br />
13-
Updating the authentication configuration is done via an API-KEY you generate from Codefresh. <br />
12+
In order to start working with the cli you will need to update the authentication configuration.
1413

15-
If you already have an API-KEY you can just use it.<br />
16-
You can generate a new one from the <a href="https://g.codefresh.io/user/settings" target="_blank">user settings</a> page. <br />
17-
18-
Once you have an API key, create a new authentication context:<br> `codefresh auth create-context --api-key {API_KEY}`
14+
Updating the authentication configuration is done via an API-KEY you generate from Codefresh.
15+
16+
If you already have an API-KEY you can just use it.
17+
18+
You can generate a new one from the [user settings](https://g.codefresh.io/user/settings) page.
19+
20+
Once you have an API key, create a new authentication context:
21+
22+
`codefresh auth create-context --api-key {API_KEY}`
1923

2024
## Getting Help
21-
To get help and usage instructions run `codefresh [COMMAND]--help`.<br />
22-
A help message will appear in the terminal.<br />
25+
To get help and usage instructions run `codefresh [COMMAND]--help`.
26+
27+
A help message will appear in the terminal.
2328

2429
## Showing Current Version
2530
Run `codefresh version` to see the current CLI version.
2631

27-
<br />
2832
#### That's it, you are good to go!

docs/content/installation/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ description = ""
44
weight = 20
55
+++
66

7-
Codefresh CLI is developed and built with node.js. <br />
7+
Codefresh CLI is developed and built with node.js.
88

9-
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.<br>
9+
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.
1010

11-
If you don't have node.js installed you can install the CLI by [Downloading](/cli/installation/download) it directly.<br />
11+
If you don't have node.js installed you can install the CLI by [Downloading](/cli/installation/download) it directly.
1212

1313
It is also possible to run the CLI using a [Docker image](/cli/installation/docker).

docs/content/installation/docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ date = "2017-04-24T18:36:24+02:00"
55
weight = 30
66
+++
77

8-
You can run the CLI using our official docker image which is published to <a href="https://hub.docker.com/r/codefresh/cli/" target="_blank">Dockerhub</a><br>
8+
You can run the CLI using our official docker image which is published to [Dockerhub](https://hub.docker.com/r/codefresh/cli/).
99

1010
Pull the latest version:
1111
`docker pull codefresh/cli`

docs/content/operate on resources/_index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ title = "Operate On Resources"
33
weight = 31
44
+++
55

6-
The CLI supports the ability to work with `spec` files when working with resources.<br>
7-
The supported formats are `yaml` and `json`. <br>
6+
The CLI supports the ability to work with `spec` files when working with resources.
7+
8+
The supported formats are `yaml` and `json`.
9+
810
Check each specific resource `spec` for its documentation
911

1012
{{COMMANDS}}

docs/content/pipelines/Run Pipeline.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
{{OPTIONS}}
1010

1111
### variable-file (var-file)
12-
It is possible to pass build variables using a file. (supported format: json and yaml) <br>
13-
The variables file structure should be an array. <br>
12+
It is possible to pass build variables using a file. (supported format: json and yaml)
13+
14+
The variables file structure should be an array.
15+
1416
The pipeline will be triggered multiple times according to the array length.
1517

1618
#### Variable yaml file with 2 sets of variables

docs/themes/docdock/layouts/partials/flex/body-beforecontent.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<script type="text/javascript" src="{{"js/auto-complete.js" | relURL}}"></script>
5555
<link href="{{"css/auto-complete.css" | relURL}}" rel="stylesheet">
5656
<script type="text/javascript">
57-
{{ if .Site.IsMultiLingual }}
57+
{{ if hugo.IsMultilingual }}
5858
var baseurl = "{{.Site.BaseURL}}{{.Site.LanguagePrefix}}";
5959
{{ else }}
6060
var baseurl = "{{.Site.BaseURL}}";

0 commit comments

Comments
 (0)