• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision1879f241e664a38455f2e3884dcc1c0bb994f671 (tree)
Time2020-03-06 20:06:55
AuthorPeter Maydell <peter.maydell@lina...>
CommiterPeter Maydell

Log Message

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

Change Summary

Incremental Difference

--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -1174,7 +1174,7 @@ QemuCocoaView *cocoaView;
11741174 - (void) openDocumentation: (NSString *) filename
11751175 {
11761176 /* 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/"};
11781178 NSString *full_file_path;
11791179
11801180 /* iterate thru the possible paths until the file is found */
@@ -1198,7 +1198,7 @@ QemuCocoaView *cocoaView;
11981198 {
11991199 COCOA_DEBUG("QemuCocoaAppController: showQEMUDoc\n");
12001200
1201- [self openDocumentation: @"qemu-doc.html"];
1201+ [self openDocumentation: @"index.html"];
12021202 }
12031203
12041204 /* Stretches video to fit host monitor size */