Skip to content

Commit 1ad7f40

Browse files
authored
Enable social media previews (#21)
1 parent 158dd5a commit 1ad7f40

File tree

9 files changed

+67
-26
lines changed

9 files changed

+67
-26
lines changed

docs/assets/logo.svg

Lines changed: 15 additions & 0 deletions
Loading

docs/examples/docker/docker-on-wsl/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
description: Tutorial on how to install and configure Docker and Docker Compose on Ubuntu running inside Windows Subsystem for Linux.
3+
---
4+
15
# Install Docker on Windows Subsystem for Linux
26

37
If you do not already have Windows Subsystem for Linux (WSL) installed, see [Install Linux on Windows with WSL](https://docs.microsoft.com/en-us/windows/wsl/install) for instructions.

docs/examples/jenkins/ansible-kubernetes/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
description: Tutorial on how to configure a Jenkins pipeline that deploys an simple hello-world application to a Kubernetes cluster.
3+
---
4+
15
# Deploy application to Kubernetes with Ansible
26

37
This example contains a pipeline that deploys an simple hello-world application to a Kubernetes cluster.

docs/examples/jenkins/build-status-pipelines/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
description: Tutorial on how to configure a Jenkins pipeline that creates pipelines with five different statuses into a new folder using Job DSL.
3+
---
4+
15
# Build status pipelines and Job DSL
26

37
This example contains pipelines to produce builds with success, unstable, failed, aborted, and not-built statuses as well as Job DSL script to create a folder with projects that have these five different statuses.

docs/examples/jenkins/jenkins-host-docker/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
description: Tutorial on how to run Jenkins inside a container with Docker client that controls host machines Docker engine using a socket.
3+
---
4+
15
# Jenkins with access to hosts Docker engine
26

37
Note that by default each of the example docker compose configurations will create their own volumes for the data. This might not be what you want. In order to use the same volumes for every docker compose configuration, run docker compose with `-p` (or `--project-name`) option. This can also be done by setting `COMPOSE_PROJECT_NAME` environment variable:

docs/examples/jenkins/parallel-robot-pipeline/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
description: Tutorial on how to configure a Jenkins pipeline that executes Robot Framework automation tasks with docker agent in parallel stages as well as combines and stores the produced HTML/XML report files.
3+
---
4+
15
# Parallel Robot Framework pipeline
26

37
This directory provides an example of a Jenkins pipeline that executes Robot Framework automation tasks with docker agent in parallel stages as well as combines and stores the produced HTML/XML report files.

docs/examples/jenkins/sonarqube-jenkins/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
description: Tutorial on how to push code scanning results from Jenkins pipeline to SonarQube and how to display SonarQube data in Jenkins.
3+
---
4+
15
# Jenkins and SonarQube
26

37
This example uses the same Jenkins configuration as the [Jenkins with access to hosts Docker engine](../jenkins-host-docker/) example. If you did any configuration in [jenkins-host-docker](../jenkins-host-docker/) directory, sync the project names with `-p`/`--project-name` option or `COMPOSE_PROJECT_NAME` environment variable to use the same volumes. For example:

mkdocs.yaml

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,39 +12,40 @@ docs_dir: docs/
1212
edit_uri: edit/main/docs/
1313

1414
nav:
15-
- Home: README.md
16-
- Docker:
17-
- ./examples/docker/docker-on-wsl/README.md
18-
- Jenkins:
19-
- ./examples/jenkins/jenkins-host-docker/README.md
20-
- ./examples/jenkins/ansible-kubernetes/README.md
21-
- ./examples/jenkins/build-status-pipelines/README.md
22-
- ./examples/jenkins/parallel-robot-pipeline/README.md
23-
- ./examples/jenkins/sonarqube-jenkins/README.md
15+
- Home: README.md
16+
- Docker:
17+
- ./examples/docker/docker-on-wsl/README.md
18+
- Jenkins:
19+
- ./examples/jenkins/jenkins-host-docker/README.md
20+
- ./examples/jenkins/ansible-kubernetes/README.md
21+
- ./examples/jenkins/build-status-pipelines/README.md
22+
- ./examples/jenkins/parallel-robot-pipeline/README.md
23+
- ./examples/jenkins/sonarqube-jenkins/README.md
2424
not_in_nav: |
2525
assets/README.md
2626
2727
theme:
2828
name: material
2929
custom_dir: overrides
30+
logo: assets/logo.svg
3031
favicon: assets/favicon.png
3132
palette:
32-
- media: "(prefers-color-scheme: light)"
33-
scheme: default
34-
primary: blue grey
35-
accent: deep orange
36-
toggle:
37-
icon: material/weather-sunny
38-
name: Switch to dark mode
39-
- media: "(prefers-color-scheme: dark)"
40-
scheme: slate
41-
primary: blue grey
42-
accent: deep orange
43-
toggle:
44-
icon: material/weather-night
45-
name: Switch to light mode
33+
- media: "(prefers-color-scheme: light)"
34+
scheme: default
35+
primary: blue grey
36+
accent: deep orange
37+
toggle:
38+
icon: material/weather-sunny
39+
name: Switch to dark mode
40+
- media: "(prefers-color-scheme: dark)"
41+
scheme: slate
42+
primary: blue grey
43+
accent: deep orange
44+
toggle:
45+
icon: material/weather-night
46+
name: Switch to light mode
4647
font:
47-
text: Source Sans Pro
48+
text: Source Sans 3
4849
code: Source Code Pro
4950
language: en
5051
features:
@@ -54,12 +55,13 @@ theme:
5455
- navigation.sections
5556

5657
plugins:
57-
- search
5858
- git-committers:
5959
repository: kangasta/cicd-examples
6060
branch: main
6161
- git-revision-date-localized:
6262
enable_creation_date: true
63+
- search
64+
- social
6365

6466
markdown_extensions:
6567
- admonition

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Dependencies for auto-generating and developing docs
22
mkdocs~=1.5
3-
mkdocs-material~=9.5
3+
mkdocs-material[imaging]~=9.5
44
mkdocs-git-revision-date-localized-plugin~=1.2
55
mkdocs-git-committers-plugin-2~=2.4

0 commit comments

Comments
 (0)