Revision | 1879f241e664a38455f2e3884dcc1c0bb994f671 (tree) |
---|---|
Time | 2020-03-06 20:06:55 |
Author | Peter Maydell <peter.maydell@lina...> |
Commiter | Peter Maydell |
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
@@ -1174,7 +1174,7 @@ QemuCocoaView *cocoaView; | ||
1174 | 1174 | - (void) openDocumentation: (NSString *) filename |
1175 | 1175 | { |
1176 | 1176 | /* Where to look for local files */ |
1177 | - NSString *path_array[] = {@"../share/doc/qemu/", @"../doc/qemu/", @"../"}; | |
1177 | + NSString *path_array[] = {@"../share/doc/qemu/", @"../doc/qemu/", @"../docs/"}; | |
1178 | 1178 | NSString *full_file_path; |
1179 | 1179 | |
1180 | 1180 | /* iterate thru the possible paths until the file is found */ |
@@ -1198,7 +1198,7 @@ QemuCocoaView *cocoaView; | ||
1198 | 1198 | { |
1199 | 1199 | COCOA_DEBUG("QemuCocoaAppController: showQEMUDoc\n"); |
1200 | 1200 | |
1201 | - [self openDocumentation: @"qemu-doc.html"]; | |
1201 | + [self openDocumentation: @"index.html"]; | |
1202 | 1202 | } |
1203 | 1203 | |
1204 | 1204 | /* Stretches video to fit host monitor size */ |