[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 30/33] ui/cocoa.m: Update documentation file and pathname
From: |
Peter Maydell |
Subject: |
[PATCH v3 30/33] ui/cocoa.m: Update documentation file and pathname |
Date: |
Fri, 28 Feb 2020 15:36:16 +0000 |
We want to stop generating the old qemu-doc.html; first we
must update places that refer to it so they instead go to
our top level index.html documentation landing page.
The Cocoa UI has a menu option to bring up the documentation;
make it point to the new top level index.html instead.
Signed-off-by: Peter Maydell <address@hidden>
---
ui/cocoa.m | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/cocoa.m b/ui/cocoa.m
index 747a70839af..cb556e4e668 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -1174,7 +1174,7 @@ QemuCocoaView *cocoaView;
- (void) openDocumentation: (NSString *) filename
{
/* Where to look for local files */
- NSString *path_array[] = {@"../share/doc/qemu/", @"../doc/qemu/", @"../"};
+ NSString *path_array[] = {@"../share/doc/qemu/", @"../doc/qemu/",
@"../docs/"};
NSString *full_file_path;
/* iterate thru the possible paths until the file is found */
@@ -1198,7 +1198,7 @@ QemuCocoaView *cocoaView;
{
COCOA_DEBUG("QemuCocoaAppController: showQEMUDoc\n");
- [self openDocumentation: @"qemu-doc.html"];
+ [self openDocumentation: @"index.html"];
}
/* Stretches video to fit host monitor size */
--
2.20.1
- [PATCH v3 09/33] qemu-doc: Remove the "CPU emulation" part of the "Implementation notes", (continued)
- [PATCH v3 09/33] qemu-doc: Remove the "CPU emulation" part of the "Implementation notes", Peter Maydell, 2020/02/28
- [PATCH v3 16/33] docs/system: Convert security.texi to rST format, Peter Maydell, 2020/02/28
- [PATCH v3 05/33] qemu-doc: split qemu-doc.texi in multiple files, Peter Maydell, 2020/02/28
- [PATCH v3 22/33] doc/scripts/hxtool.py: Strip trailing ':' from DEFHEADING/ARCHHEADING, Peter Maydell, 2020/02/28
- [PATCH v3 21/33] hmp-commands-info.hx: Add rST documentation fragments, Peter Maydell, 2020/02/28
- [PATCH v3 24/33] docs: Roll -prom-env and -g target-specific info into qemu-options.hx, Peter Maydell, 2020/02/28
- [PATCH v3 13/33] docs/system: put qemu-block-drivers body in an included file, Peter Maydell, 2020/02/28
- [PATCH v3 25/33] scripts/hxtool-conv: Archive script used in qemu-options.hx conversion, Peter Maydell, 2020/02/28
- [PATCH v3 20/33] hmp-commands.hx: Add rST documentation fragments, Peter Maydell, 2020/02/28
- [PATCH v3 27/33] qemu-options.hx: Fix up the autogenerated rST, Peter Maydell, 2020/02/28
- [PATCH v3 30/33] ui/cocoa.m: Update documentation file and pathname,
Peter Maydell <=
- [PATCH v3 29/33] docs: Generate qemu.1 manpage with Sphinx, Peter Maydell, 2020/02/28
- [PATCH v3 19/33] docs/system: convert Texinfo documentation to rST, Peter Maydell, 2020/02/28
- [PATCH v3 31/33] docs: Stop building qemu-doc, Peter Maydell, 2020/02/28
- [PATCH v3 23/33] docs: Roll semihosting option information into qemu-options.hx, Peter Maydell, 2020/02/28
- [PATCH v3 28/33] docs: Split out sections for the manpage into .rst.inc files, Peter Maydell, 2020/02/28
- [PATCH v3 26/33] qemu-options.hx: Add rST documentation fragments, Peter Maydell, 2020/02/28
- [PATCH v3 32/33] docs: Remove old texinfo sources, Peter Maydell, 2020/02/28
- [PATCH v3 33/33] *.hx: Remove all the STEXI/ETEXI blocks, Peter Maydell, 2020/02/28
- Re: [PATCH v3 00/33] Convert qemu-doc to rST, Peter Maydell, 2020/02/28