gerrit/Documentation/config.defs
Saša Živkov 0b6f8feec2 Use default asciidoctor CSS style instead of doc.css
We tried building Gerrit's documentation using the asciidoctor's
standard CSS style and for many people the result looks better
than Gerrit's default doc.css.

The search box is rendered with fixed position now.  With the
asciidoctor default style sheet the "position:absolute" attribute no
longer worked as intended, because there are other elements in the
page with a "position" attribute. So the search box was placed randomly
somewhere next to a section header and screwed up the text layout
completely.

Test Plan:
$ buck build Documentation:html
$ open buck-out/gen/Documentation/html__tmp/Documentation/index.html

Change-Id: Ia276aeb5c79b9fbd9589db444a83c084f07aee40
Also-by: Michael Ochmann <michael.ochmann@sap.com>
2016-04-07 08:39:02 +00:00

23 lines
500 B
Plaintext

DOCUMENTATION_DEPS = {
"install-quick.txt": ["config-login-register.txt"],
"install.txt": ["database-setup.txt"],
}
def documentation_attributes(revision):
return [
'toc',
'newline="\\n"',
'asterisk="&#42;"',
'plus="&#43;"',
'caret="&#94;"',
'startsb="&#91;"',
'endsb="&#93;"',
'tilde="&#126;"',
'last-update-label!',
'source-highlighter=prettify',
'stylesheet=DEFAULT',
'linkcss=true',
'prettifydir=.',
'revnumber="%s"' % revision,
]