0b6f8feec2
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>
23 lines
500 B
Plaintext
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="*"',
|
|
'plus="+"',
|
|
'caret="^"',
|
|
'startsb="["',
|
|
'endsb="]"',
|
|
'tilde="~"',
|
|
'last-update-label!',
|
|
'source-highlighter=prettify',
|
|
'stylesheet=DEFAULT',
|
|
'linkcss=true',
|
|
'prettifydir=.',
|
|
'revnumber="%s"' % revision,
|
|
]
|