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:
Pavel Hrdina
2020-08-03 09:27:06 +02:00
parent e4616c5834
commit c0d2d071df
2 changed files with 6 additions and 15 deletions
+6
View File
@@ -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'])