meson: build Xe test documentation
PATCH v2 1/1 meson: build Xe test documentation
From: Mauro Carvalho Chehab <[email protected]>
Add the remaining changes at meson for it to build Xe documentation.
Signed-off-by Mauro Carvalho Chehab <[email protected]>
--- docs/meson.build | 1 + docs/testplan/conf.py | 32 ++++++++++++++++++++++++++++ docs/testplan/testplan.css | 7 +++++++ meson_options.txt | 8 +++++++ scripts/gen_rst_index | 43 ++++++++++++++++++++++++++++++++++++++ scripts/meson.build | 3 +++ 6 files changed, 94 insertions(+) create mode 100644 docs/testplan/conf.py create mode 100644 docs/testplan/testplan.css create mode 100755 scripts/gen_rst_index
docs/meson.build +1 -0
@@ -1 +1,2 @@ subdir('reference') +subdir('testplan')
docs/testplan/conf.py new file +32 -0
@@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- + +import sys +import os + +extensions = [] + +source_suffix = '.rst' +master_doc = 'index' + +project = 'IGT Test Tools' +copyright = 'Intel' +author = 'IGT developers' +language = 'en' + +exclude_patterns = [] +todo_include_todos = False + +html_theme = "nature" + +html_css_files = [] +html_static_path = ['.'] +html_copy_source = False + +html_use_smartypants = False +html_sidebars = { '**': ['searchbox.html', 'localtoc.html']} +htmlhelp_basename = 'IGT' + +html_theme_options = { + "body_max_width": "1520px", + "sidebarwidth": "400px", +}
docs/testplan/testplan.css new file +7 -0
@@ -0,0 +1,7 @@ +@import url(html4css1.css); + +.literal { + background: lightgrey; + color: darkblue; + font-size: 14px; +}
meson_options.txt +8 -0
@@ -20,6 +20,14 @@ option('man', type : 'feature', description : 'Build man pages') +option('testplan', + type : 'feature', + description : 'Build testplan documentation pages in ReST and html') + +option('sphinx', + type : 'feature', + description : 'Build testplan documentation using Sphinx') + option('docs', type : 'feature', description : 'Build documentation')
scripts/gen_rst_index new file +43 -0
43 lines not on this page · raw message
scripts/meson.build +3 -0
@@ -11,3 +11,6 @@ if build_tests install_data(prog, install_dir : bindir, install_mode : 'r-xr-xr-x') endforeach endif + +igt_doc_script = find_program('igt_doc.py') +gen_rst_index = find_program('gen_rst_index')
Signature · 1 line
2.39.2