Use the new section title style in Asciidoctor.

We previous use the section title style like:

Section level 1
===============

Section level 2
---------------

Which have a problem in Asciidoctor that the number of "="s or "-"s must match
the number of characters in the header exactly, as a result it's easy to make
mistakes while changing the titles. Asciidoctor provides a better style like:

= Section level 1

== Section level 2

So we switched to this style.

Also fixed a bug in replace_macros.py, which will not cause any problem in the
old style.

Change-Id: I811dd7238735d98f662767c17086152cd69aea02
This commit is contained in:
Yuxuan 'fishy' Wang
2013-12-20 12:55:51 -08:00
parent 9dc9639d30
commit 61698b14e0
131 changed files with 1330 additions and 2659 deletions

View File

@@ -1,8 +1,6 @@
Gerrit Code Review - J2EE Installation
======================================
= Gerrit Code Review - J2EE Installation
Description
-----------
== Description
Gerrit binary distributions include a standalone Jetty servlet
container, but are packaged as a standard WAR file to permit easy
@@ -14,8 +12,7 @@ including popular open source containers such as Jetty or Tomcat, or
any commercial server which supports the J2EE servlet specification.
Installation
------------
== Installation
* Complete the link:install.html#createdb[database setup] and
link:install.html#init[site initialization] tasks described
@@ -50,8 +47,7 @@ directory so it's available to Gerrit Code Review.
Configure Automatic Site Initialization on Startup]
Jetty 7.x
---------
== Jetty 7.x
These directions will configure Gerrit as the default web
application, allowing URLs like `http://example.com/4543` to jump
directly to change 4543.