aboutsummaryrefslogtreecommitdiff
path: root/ui/cocoa.m
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2020-02-28 15:36:16 +0000
committerPeter Maydell <peter.maydell@linaro.org>2020-03-06 11:06:55 +0000
commit1879f241e664a38455f2e3884dcc1c0bb994f671 (patch)
tree002de94768273649ffb358f00a382a862aa526a7 /ui/cocoa.m
parentd06118bfbd8c0ab5b665aee9e0561aa58d3e45e1 (diff)
downloadqemu-1879f241e664a38455f2e3884dcc1c0bb994f671.zip
qemu-1879f241e664a38455f2e3884dcc1c0bb994f671.tar.gz
qemu-1879f241e664a38455f2e3884dcc1c0bb994f671.tar.bz2
ui/cocoa.m: Update documentation file and pathname
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 <peter.maydell@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Tested-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 20200228153619.9906-31-peter.maydell@linaro.org
Diffstat (limited to 'ui/cocoa.m')
-rw-r--r--ui/cocoa.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/cocoa.m b/ui/cocoa.m
index 747a708..cb556e4 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 */