From 84065aa0247785f3ed47203dbd28c4779e0562f0 Mon Sep 17 00:00:00 2001 From: Yuxuan 'fishy' Wang Date: Thu, 29 Aug 2013 15:10:24 -0700 Subject: [PATCH] Fix documentation Asciidoctor is more picky than asciidoc, that the section title must have exactly the same length of section characters under them. Change-Id: Id3843f91633a25d6c080cc0a80020ca7fc5b076a --- Documentation/access-control.txt | 2 +- Documentation/cmd-version.txt | 2 +- Documentation/config-labels.txt | 2 +- Documentation/config-login-register.txt | 7 ++++++- Documentation/database-setup.txt | 5 +++++ Documentation/dev-release.txt | 2 +- Documentation/error-has-duplicates.txt | 4 ++-- Documentation/rest-api-accounts.txt | 4 ++-- 8 files changed, 19 insertions(+), 9 deletions(-) diff --git a/Documentation/access-control.txt b/Documentation/access-control.txt index 9c964e0ee3..db806ccac7 100644 --- a/Documentation/access-control.txt +++ b/Documentation/access-control.txt @@ -600,7 +600,7 @@ The force option has no function when granted to a branch in the [[category_push_merge]] Push Merge Commits -~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~ The `Push Merge Commit` access right permits the user to upload merge commits. It's an add-on to the <> access right, and diff --git a/Documentation/cmd-version.txt b/Documentation/cmd-version.txt index d1f94ea3c1..aa08848f36 100644 --- a/Documentation/cmd-version.txt +++ b/Documentation/cmd-version.txt @@ -1,5 +1,5 @@ gerrit version -================ +============== NAME ---- diff --git a/Documentation/config-labels.txt b/Documentation/config-labels.txt index 7df55fe89e..a1cf9eee29 100644 --- a/Documentation/config-labels.txt +++ b/Documentation/config-labels.txt @@ -177,7 +177,7 @@ optional leading `+`. [[label_abbreviation]] `label.Label-Name.abbreviation` -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ An abbreviated name for a label shown as a compact column header, for example on project dashboards. Defaults to all the uppercase characters diff --git a/Documentation/config-login-register.txt b/Documentation/config-login-register.txt index d0e0fc5b29..867f0d4864 100644 --- a/Documentation/config-login-register.txt +++ b/Documentation/config-login-register.txt @@ -135,4 +135,9 @@ Verify that the ssh connection works for you. git clone ssh://user@localhost:29418/REPOSITORY_NAME.git user@host:~$ ----- \ No newline at end of file +---- + + +GERRIT +------ +Part of link:index.html[Gerrit Code Review] diff --git a/Documentation/database-setup.txt b/Documentation/database-setup.txt index b1561cb571..3800473b7e 100644 --- a/Documentation/database-setup.txt +++ b/Documentation/database-setup.txt @@ -108,3 +108,8 @@ Sample database section in $site_path/etc/secure.config: [database] password = secret_pasword ---- + + +GERRIT +------ +Part of link:index.html[Gerrit Code Review] diff --git a/Documentation/dev-release.txt b/Documentation/dev-release.txt index c06d16a01a..f9d0d0e4db 100644 --- a/Documentation/dev-release.txt +++ b/Documentation/dev-release.txt @@ -83,7 +83,7 @@ the `gerrit-security-fixes` project be taken over into the public Create the Actual Release ---------------------------- +------------------------- To create a Gerrit release the following steps have to be done: diff --git a/Documentation/error-has-duplicates.txt b/Documentation/error-has-duplicates.txt index e9e42f4104..b5175c04ae 100644 --- a/Documentation/error-has-duplicates.txt +++ b/Documentation/error-has-duplicates.txt @@ -1,5 +1,5 @@ -... has duplicates -================== +\... has duplicates +=================== With this error message Gerrit rejects to push a commit if its commit message contains a Change-ID for which multiple changes can be found diff --git a/Documentation/rest-api-accounts.txt b/Documentation/rest-api-accounts.txt index 7dbdf943d5..96e19cc535 100644 --- a/Documentation/rest-api-accounts.txt +++ b/Documentation/rest-api-accounts.txt @@ -947,7 +947,7 @@ the link:#capability-info[CapabilityInfo] entity. [[email-id]] \{email-id\} -~~~~~~~~~~~~~~ +~~~~~~~~~~~~ An email address, or `preferred` for the preferred email address of the user. @@ -958,7 +958,7 @@ The user name. [[ssh-key-id]] \{ssh-key-id\} -~~~~~~~~~~~~ +~~~~~~~~~~~~~~ The sequence number of the SSH key.