[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 07/12] docs/conf.py: Disable option warnings
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PULL 07/12] docs/conf.py: Disable option warnings |
Date: |
Thu, 7 Mar 2019 15:24:45 +0000 |
sphinx-build complains about using :option: to mark up option
flags that it doesn't know about (because they were not defined
using the "option::" directive):
docs/pr-manager.rst:68: WARNING: unknown option: -d
Suppress these warnings. This way we get the semantic markup
of the option flag but no cross-referencing hyperlink.
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 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/docs/conf.py b/docs/conf.py
index d3018bc5395..56a74e0fcb3 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -77,6 +77,9 @@ pygments_style = 'sphinx'
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False
+# Sphinx defaults to warning about use of :option: for options not defined
+# with "option::" in the document being processed. Turn that off.
+suppress_warnings = ["ref.option"]
# -- Options for HTML output ----------------------------------------------
--
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, 2019/03/07
- [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 <=
- [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
- Re: [Qemu-devel] [PULL 00/12] sphinx queue, Peter Maydell, 2019/03/07