Bypass the rendering differences in AsciiDoctor.

AsciiDoctor have different understanding of [verse] with asciidoc, causing some
rendering differences. To get similar result with asciidoc, we use something
else instead of [verse] now.

Screenshots:
before:
http://imgur.com/JKMdBiv
after:
http://imgur.com/yFVvVac

Change-Id: I14e84f0e998e1e87b633681e8028ad657bde07e4
This commit is contained in:
Yuxuan 'fishy' Wang
2013-11-15 11:47:46 -08:00
parent 4e8a96f708
commit d85b687536
54 changed files with 370 additions and 185 deletions

View File

@@ -19,8 +19,9 @@ namespace.
[[list-plugins]]
List Plugins
~~~~~~~~~~~~
[verse]
--
'GET /plugins/'
--
Lists the plugins installed on the Gerrit server. Only the enabled
plugins are returned unless the `all` option is specified.
@@ -59,8 +60,9 @@ by plugin ID.
[[install-plugin]]
Install Plugin
~~~~~~~~~~~~~~
[verse]
--
'PUT /plugins/link:#plugin-id[\{plugin-id\}]'
--
Installs a new plugin on the Gerrit server. If a plugin with the
specified name already exists it is overwritten. Note: if the plugin
@@ -110,8 +112,9 @@ If an existing plugin was overwritten the response is "`200 OK`".
[[get-plugin-status]]
Get Plugin Status
~~~~~~~~~~~~~~~~~
[verse]
--
'GET /plugins/link:#plugin-id[\{plugin-id\}]/gerrit~status'
--
Retrieves the status of a plugin on the Gerrit server.
@@ -140,8 +143,9 @@ describes the plugin.
[[enable-plugin]]
Enable Plugin
~~~~~~~~~~~~~
[verse]
--
'POST /plugins/link:#plugin-id[\{plugin-id\}]/gerrit~enable'
--
Enables a plugin on the Gerrit server.
@@ -170,13 +174,15 @@ describes the plugin.
[[disable-plugin]]
Disable Plugin
~~~~~~~~~~~~~~
[verse]
--
'POST /plugins/link:#plugin-id[\{plugin-id\}]/gerrit~disable'
--
OR
[verse]
--
'DELETE /plugins/link:#plugin-id[\{plugin-id\}]'
--
Disables a plugin on the Gerrit server.
@@ -206,8 +212,9 @@ describes the plugin.
[[reload-plugin]]
Reload Plugin
~~~~~~~~~~~~~
[verse]
--
'POST /plugins/link:#plugin-id[\{plugin-id\}]/gerrit~reload'
--
Reloads a plugin on the Gerrit server.