diff --git a/docs/ansible/wiki/inventory/add.md b/docs/ansible/wiki/inventory/add.md index bb9d223f7e60c9cebff0efb5dfdc8f7fd10bd6a3..4d48823cecb096bfb061a30b9f1078acbac768dd 100644 --- a/docs/ansible/wiki/inventory/add.md +++ b/docs/ansible/wiki/inventory/add.md @@ -9,7 +9,7 @@ When adding a new inventory, there need to be one or more [GitLab runners](ansib ## Install gitlab-runner as a service -```shell script +```bash dans [INVENTORY] role gitlab-runner --limit=[HOST] ``` @@ -19,7 +19,7 @@ SSH into the host, change to `sudo su` and follow these instructions: ### Register the runner -```shell script +```bash gitlab-runner register ``` diff --git a/docs/docker/l3d/index.md b/docs/docker/l3d/index.md index a40ee36f8496ffdcd6b31a1734cc68613811ef43..41a775c625e1a3c1fe93af177f3bbdb15208c2c6 100644 --- a/docs/docker/l3d/index.md +++ b/docs/docker/l3d/index.md @@ -105,7 +105,7 @@ By default, L3D tries to use the same shell inside the containers that you also If you want to overwrite the shell deliberatly, then define an environment variable on your host, like e.g. -```shell script +```bash export L3DSHELL=/bin/bash ``` diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css new file mode 100644 index 0000000000000000000000000000000000000000..8c86ca7d6edf9764de7a4f510d92349cfff9cf1e --- /dev/null +++ b/docs/stylesheets/extra.css @@ -0,0 +1,3 @@ +:root > * { + --md-code-bg-color: #ddd; +} diff --git a/mkdocs.yml b/mkdocs.yml index af91d8f825a415024fd5a6b68a8847e9be9fcf27..db09f58190566776c97c887a7af4325fcfbc604d 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -9,9 +9,15 @@ theme: - navigation.tabs repo_name: devops-tools/documentation repo_url: https://gitlab.lakedrops.com/devops-tools/documentation +extra_css: + - stylesheets/extra.css markdown_extensions: - toc: permalink: True + - pymdownx.highlight: + linenums: True + - pymdownx.superfences + - pymdownx.inlinehilite plugins: - search: lang: en