Fix whitespace in many administration docs

Many code blocks are 4spaced, and they render in GitLab
without coloring as a result, even though they are
fenced with a language label. If in a list, other items
will render as being in a code block too, even if not
meant to. This fixes all these issues for many admin
docs (part 2)
This commit is contained in:
Marcel Amirault 2019-07-10 18:23:55 +00:00 committed by Achilleas Pipinellis
parent c62ac54a11
commit 4633604424
15 changed files with 434 additions and 429 deletions

View File

@ -74,6 +74,7 @@ our AsciiDoc snippets, wikis and repos using delimited blocks:
Alice -> Bob : Go Away Alice -> Bob : Go Away
```</pre> ```</pre>
- **AsciiDoc** - **AsciiDoc**
``` ```

View File

@ -81,16 +81,19 @@ executed, and then read the same 1,000 files.
```sh ```sh
mkdir test; cd test mkdir test; cd test
``` ```
1. Run the command: 1. Run the command:
```sh ```sh
time for i in {0..1000}; do echo 'test' > "test${i}.txt"; done time for i in {0..1000}; do echo 'test' > "test${i}.txt"; done
``` ```
1. To benchmark read performance, run the command: 1. To benchmark read performance, run the command:
```sh ```sh
time for i in {0..1000}; do cat "test${i}.txt" > /dev/null; done time for i in {0..1000}; do cat "test${i}.txt" > /dev/null; done
``` ```
1. Remove the test files: 1. Remove the test files:
```sh ```sh

View File

@ -395,6 +395,7 @@ Follow the steps below to configure GitLab Pages in a separate server.
node_exporter['enable'] = false node_exporter['enable'] = false
gitlab_rails['auto_migrate'] = false gitlab_rails['auto_migrate'] = false
``` ```
1. Run `sudo gitlab-ctl reconfigure`. 1. Run `sudo gitlab-ctl reconfigure`.
1. On `app1` apply the following changes to `/etc/gitlab/gitlab.rb`: 1. On `app1` apply the following changes to `/etc/gitlab/gitlab.rb`: