summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Amirault <mamirault@gitlab.com>2019-07-09 08:13:06 +0900
committerMarcel Amirault <mamirault@gitlab.com>2019-07-09 12:42:46 +0900
commit51feffa86e34399896334db04d1e55416107d31f (patch)
tree8dc2228fed1a3e0b381f05b1e87a373a9d74e826
parent1c314771612ee0013638d0b2d0919ee2c59d20b8 (diff)
downloadgitlab-ce-docs-code-block-style.tar.gz
Add languages to code blocksdocs-code-block-style
-rw-r--r--doc/administration/container_registry.md12
-rw-r--r--doc/administration/job_traces.md2
-rw-r--r--doc/development/emails.md2
-rw-r--r--doc/development/profiling.md4
4 files changed, 10 insertions, 10 deletions
diff --git a/doc/administration/container_registry.md b/doc/administration/container_registry.md
index fefc505e5bb..04f52783d22 100644
--- a/doc/administration/container_registry.md
+++ b/doc/administration/container_registry.md
@@ -217,7 +217,7 @@ look like:
1. Open `/home/git/gitlab/config/gitlab.yml`, find the `registry` entry and
configure it with the following settings:
- ```
+ ```yaml
registry:
enabled: true
host: registry.gitlab.example.com
@@ -259,7 +259,7 @@ Registry application itself.
1. Open `/home/git/gitlab/config/gitlab.yml`, find the `registry` entry and
set `enabled` to `false`:
- ```
+ ```yaml
registry:
enabled: false
```
@@ -291,7 +291,7 @@ the Container Registry by themselves, follow the steps below.
1. Open `/home/git/gitlab/config/gitlab.yml`, find the `default_projects_features`
entry and configure it so that `container_registry` is set to `false`:
- ```
+ ```yaml
## Default project features settings
default_projects_features:
issues: true
@@ -346,7 +346,7 @@ The default location where images are stored in source installations, is
1. Open `/home/git/gitlab/config/gitlab.yml`, find the `registry` entry and
change the `path` setting:
- ```
+ ```yaml
registry:
path: shared/registry
```
@@ -453,7 +453,7 @@ In the examples below we set the Registry's port to `5001`.
1. Open the configuration file of your Registry server and edit the
[`http:addr`][registry-http-config] value:
- ```
+ ```yaml
http
addr: localhost:5001
```
@@ -510,7 +510,7 @@ You can use GitLab as an auth endpoint and use a non-bundled Container Registry.
1. Open `/home/git/gitlab/config/gitlab.yml`, and edit the configuration settings under `registry`:
- ```
+ ```yaml
## Container Registry
registry:
diff --git a/doc/administration/job_traces.md b/doc/administration/job_traces.md
index 126d78be79d..957916893d7 100644
--- a/doc/administration/job_traces.md
+++ b/doc/administration/job_traces.md
@@ -27,7 +27,7 @@ To change the location where the job logs will be stored, follow the steps below
1. Edit `/etc/gitlab/gitlab.rb` and add or amend the following line:
- ```
+ ```ruby
gitlab_ci['builds_directory'] = '/mnt/to/gitlab-ci/builds'
```
diff --git a/doc/development/emails.md b/doc/development/emails.md
index 5a9c657ea10..e6af075a282 100644
--- a/doc/development/emails.md
+++ b/doc/development/emails.md
@@ -26,7 +26,7 @@ See the [Rails guides] for more info.
feature and fill in the details for your specific IMAP server and email
account:
- Configuration for Gmail / Google Apps, assumes mailbox gitlab-incoming@gmail.com
+ Configuration for Gmail / Google Apps, assumes mailbox `gitlab-incoming@gmail.com`:
```yaml
incoming_email:
diff --git a/doc/development/profiling.md b/doc/development/profiling.md
index 1d6a4e5f4bf..e1d1d2e33fa 100644
--- a/doc/development/profiling.md
+++ b/doc/development/profiling.md
@@ -95,7 +95,7 @@ Sherlock is a custom profiling tool built into GitLab. Sherlock is _only_
available when running GitLab in development mode _and_ when setting the
environment variable `ENABLE_SHERLOCK` to a non empty value. For example:
-```
+```sh
ENABLE_SHERLOCK=1 bundle exec rails s
```
@@ -108,7 +108,7 @@ Bullet adds quite a bit of logging noise it's disabled by default. To enable
Bullet, set the environment variable `ENABLE_BULLET` to a non-empty value before
starting GitLab. For example:
-```
+```sh
ENABLE_BULLET=true bundle exec rails s
```