
To avoid possible GPL licensing issues, switch documentation rendering from asciidoc to to the MIT licensed asciidoctor. Asciidoctor can't render our docs if it uses xhtml11 backend, so use the html5 backend instead. The current stable version of asciidoctor (0.1.3) has no default CSS. Configure documentation to reference a modified copy of Gerrit's own pegdown.css, which is used by plugin documentation rendering to get a close approximation to the original asciidoc look. Change-Id: If1ee984c77533d603768e5fac8a91eee211f0d5b
20 lines
433 B
Plaintext
20 lines
433 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="~"',
|
|
'source-highlighter=prettify',
|
|
'stylesheet=doc.css',
|
|
'revnumber="%s"' % revision,
|
|
]
|