[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 04/12] docs/conf.py: Disable unused _static directory
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PULL 04/12] docs/conf.py: Disable unused _static directory |
Date: |
Thu, 7 Mar 2019 15:24:42 +0000 |
We don't yet have any custom static files, so disable this
config file setting to avoid a warning from sphinx about
not being able to find the directory.
Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Acked-by: Aleksandar Markovic <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Message-id: address@hidden
Message-id: address@hidden
---
docs/conf.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/docs/conf.py b/docs/conf.py
index 53a17506615..e1d08a34a65 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -93,7 +93,11 @@ html_theme = 'alabaster'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ['_static']
+# QEMU doesn't yet have any static files, so comment this out so we don't
+# get a warning about a missing directory.
+# If we do ever add this then it would probably be better to call the
+# subdirectory sphinx_static, as the Linux kernel does.
+# html_static_path = ['_static']
# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
--
2.20.1
- [Qemu-devel] [PULL 00/12] sphinx queue, Peter Maydell, 2019/03/07
- [Qemu-devel] [PULL 01/12] docs/cpu-hotplug.rst: Fix rST markup issues, Peter Maydell, 2019/03/07
- [Qemu-devel] [PULL 02/12] docs: Convert memory.txt to rst format, Peter Maydell, 2019/03/07
- [Qemu-devel] [PULL 04/12] docs/conf.py: Disable unused _static directory,
Peter Maydell <=
- [Qemu-devel] [PULL 05/12] docs/conf.py: Configure the 'alabaster' theme, Peter Maydell, 2019/03/07
- [Qemu-devel] [PULL 07/12] docs/conf.py: Disable option warnings, Peter Maydell, 2019/03/07
- [Qemu-devel] [PULL 06/12] docs/conf.py: Don't include rST sources in HTML build, Peter Maydell, 2019/03/07
- [Qemu-devel] [PULL 03/12] docs: Commit initial files from sphinx-quickstart, Peter Maydell, 2019/03/07
- [Qemu-devel] [PULL 10/12] Makefile: Abstract out "identify the pkgversion" code, Peter Maydell, 2019/03/07
- [Qemu-devel] [PULL 09/12] Makefile, configure: Support building rST documentation, Peter Maydell, 2019/03/07
- [Qemu-devel] [PULL 11/12] docs/conf.py: Don't hard-code QEMU version, Peter Maydell, 2019/03/07
- [Qemu-devel] [PULL 08/12] docs: Provide separate conf.py for each manual we want, Peter Maydell, 2019/03/07
- [Qemu-devel] [PULL 12/12] MAINTAINERS: Add entry for Sphinx documentation infrastructure, Peter Maydell, 2019/03/07
- Re: [Qemu-devel] [PULL 00/12] sphinx queue, no-reply, 2019/03/07