From b10c266b3a285a55186517947266fa57cd231357 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Tue, 6 Dec 2016 08:41:33 +0900 Subject: [PATCH] Fix remaining legacy section title styles in documentation Section titles were updated in change I811dd7238 to use asciidoctor's new style, i.e. = Section level 1 == Section level 2 === Section level 3 instead of Section level 1 =============== Section level 2 --------------- Section level 3 ~~~~~~~~~~~~~~~ Fix a few more level 3 headers that are using the old style, either because they were missed by I811dd7238 or because they were added later and missed during review. Change-Id: I813bc834272d3cb6c2b759becfda87704a7ac191 --- Documentation/js-api.txt | 9 +++------ Documentation/rest-api-changes.txt | 3 +-- Documentation/rest-api-groups.txt | 3 +-- Documentation/rest-api-projects.txt | 3 +-- 4 files changed, 6 insertions(+), 12 deletions(-) diff --git a/Documentation/js-api.txt b/Documentation/js-api.txt index 8c9950ecf4..f3b84d2705 100644 --- a/Documentation/js-api.txt +++ b/Documentation/js-api.txt @@ -701,8 +701,7 @@ namespace by Gerrit Code Review. All top-level functions can be accessed through this name. [[Gerrit_css]] -Gerrit.css() -~~~~~~~~~~~~ +=== Gerrit.css() Creates a new unique CSS class and injects it into the document. The name of the class is returned and can be used by the plugin. See link:#Gerrit_html[`Gerrit.html()`] for an easy way to use @@ -805,8 +804,7 @@ the current browser window will navigate to the non-Gerrit URL. The user can return to Gerrit with the back button. [[Gerrit_html]] -Gerrit.html() -~~~~~~~~~~~~~ +=== Gerrit.html() Parses an HTML fragment after performing template replacements. If the HTML has a single root element or node that node is returned, otherwise it is wrapped inside a `
` and the div is returned. @@ -900,8 +898,7 @@ screen.onUnload(function() { w.clear() }); ---- [[Gerrit_injectCss]] -Gerrit.injectCss() -~~~~~~~~~~~~~~~~~~ +=== Gerrit.injectCss() Injects CSS rules into the document by appending onto the end of the existing rule list. CSS rules are global to the entire application and must be manually scoped by each plugin. For an automatic scoping diff --git a/Documentation/rest-api-changes.txt b/Documentation/rest-api-changes.txt index 62b0a76d57..acb8a4798e 100644 --- a/Documentation/rest-api-changes.txt +++ b/Documentation/rest-api-changes.txt @@ -4740,8 +4740,7 @@ UUID of a draft comment. The name of the label. [[file-id]] -\{file-id\} -~~~~~~~~~~~~ +=== \{file-id\} The path of the file. [[revision-id]] diff --git a/Documentation/rest-api-groups.txt b/Documentation/rest-api-groups.txt index 51bf17388f..e43c4bc89a 100644 --- a/Documentation/rest-api-groups.txt +++ b/Documentation/rest-api-groups.txt @@ -1355,8 +1355,7 @@ should be included or deleted. |========================== [[members-input]] -MembersInput -~~~~~~~~~~~ +=== MembersInput The `MembersInput` entity contains information about accounts that should be added as members to a group or that should be deleted from the group. diff --git a/Documentation/rest-api-projects.txt b/Documentation/rest-api-projects.txt index 457a287985..65e0266751 100644 --- a/Documentation/rest-api-projects.txt +++ b/Documentation/rest-api-projects.txt @@ -2408,8 +2408,7 @@ of parameter names to values. |====================================================== [[config-parameter-info]] -ConfigParameterInfo -~~~~~~~~~~~~~~~~~~~ +=== ConfigParameterInfo The `ConfigParameterInfo` entity describes a project configuration parameter.