mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
meson: docs: build news.html from NEWS.rst
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
@@ -254,6 +254,12 @@ docs_html_in_gen += {
|
||||
'file': hvsupport_html_in,
|
||||
}
|
||||
|
||||
news_html_in = docs_rst2html_gen.process(meson.source_root() / 'NEWS.rst')
|
||||
docs_html_in_gen += {
|
||||
'name': 'news',
|
||||
'file': news_html_in,
|
||||
}
|
||||
|
||||
foreach data : docs_html_in_gen
|
||||
html_file = '@0@.html'.format(data['name'])
|
||||
rst_in_file = '@0@.rst'.format(data['name'])
|
||||
|
||||
Reference in New Issue
Block a user