aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2019-06-17 15:35:31 +0100
committerPeter Maydell <peter.maydell@linaro.org>2019-06-17 15:35:31 +0100
commit0783a732f9ee2de28dc722d6cd87f04b2f264a48 (patch)
treede70bdc2504322537d555ce04f1b6841f0c8b4b4 /docs
parent9b4cc0c2d4775f5cd9d3ec97ceadc78d17590cce (diff)
downloadqemu-0783a732f9ee2de28dc722d6cd87f04b2f264a48.zip
qemu-0783a732f9ee2de28dc722d6cd87f04b2f264a48.tar.gz
qemu-0783a732f9ee2de28dc722d6cd87f04b2f264a48.tar.bz2
docs: Build and install specs manual
Now we have some rST format docs in the docs/specs/ manual, we should actually build and install it. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Acked-by: Aleksandar Markovic <amarkovic@wavecomp.com> Message-id: 20190610152444.20859-3-peter.maydell@linaro.org
Diffstat (limited to 'docs')
-rw-r--r--docs/specs/conf.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/specs/conf.py b/docs/specs/conf.py
new file mode 100644
index 0000000..4d56f3a
--- /dev/null
+++ b/docs/specs/conf.py
@@ -0,0 +1,16 @@
+# -*- coding: utf-8 -*-
+#
+# QEMU documentation build configuration file for the 'specs' manual.
+#
+# This includes the top level conf file and then makes any necessary tweaks.
+import sys
+import os
+
+qemu_docdir = os.path.abspath("..")
+parent_config = os.path.join(qemu_docdir, "conf.py")
+exec(compile(open(parent_config, "rb").read(), parent_config, 'exec'))
+
+# This slightly misuses the 'description', but is the best way to get
+# the manual title to appear in the sidebar.
+html_theme_options['description'] = \
+ u'System Emulation Guest Hardware Specifications'