4f5ad9d313
This eliminates the last Makefile in our code base.
Also change the section style within ReleaseNotes from asciidoc style to
asciidoctor style.
Also I feel that put images/link.png under ReleaseNotes and deal with
all the resource packing is too stupid, so I used the unicode emoji
instead of the picture ("🔗"). If this is too crazy, we can also use "#"
instead :) This also affects documentation rendering.
Other side effects:
1. The css of release notes switched from default asciidoc css into
default asciidoctor css.
2. The section anchors for ReleaseNotes/index.html changed from "2_13"
to "s2_13", because asciidoctorj is unhappy with anchors without
letters.
Change-Id: I4adf2ce090385cc6b699445012f10a009892aaac
20 lines
356 B
Python
20 lines
356 B
Python
include_defs('//Documentation/asciidoc.defs')
|
|
include_defs('//ReleaseNotes/config.defs')
|
|
|
|
DIR = 'ReleaseNotes'
|
|
|
|
SRCS = glob(['*.txt'])
|
|
|
|
|
|
genasciidoc(
|
|
name = 'html',
|
|
out = 'html.zip',
|
|
directory = DIR,
|
|
srcs = SRCS,
|
|
attributes = release_notes_attributes(),
|
|
backend = 'html5',
|
|
searchbox = False,
|
|
resources = False,
|
|
visibility = ['PUBLIC'],
|
|
)
|