提交 71995a90 编写于 作者: S Sam Brannen

Introduce custom header for HTML5 ref docs

This commit disables the automatic header generation from Asciidoc's
default template and replaces it with a custom header that omits the
"Version" label before the revision number. The revision number is also
displayed in a simple span tag in order to reduce the amount of
vertical space taken by the header.
上级 f9bcb990
...@@ -155,6 +155,9 @@ asciidoctorj { ...@@ -155,6 +155,9 @@ asciidoctorj {
asciidoctor { asciidoctor {
baseDirFollowsSourceDir() baseDirFollowsSourceDir()
configurations 'asciidoctorExt' configurations 'asciidoctorExt'
attributes([
noheader: '' // custom header in docinfo-header.html
])
sources { sources {
include '*.adoc' include '*.adoc'
} }
......
<div id="header">
<h1>Spring Framework Documentation</h1>
<span><strong>{revnumber}</strong></span>
</div>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册