From nobody Thu Nov 13 22:12:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1582904967; cv=none; d=zohomail.com; s=zohoarc; b=fvZ8h3QgLN2Fwqlw5X0260PXer7ibaYDzNPBQx0cSvXCLe4LWNuuI1yuedmYighmMLx4UtG4co/7WYBRHdSZp/YUlRdzOlymUqZhySvJkZqXPNKqhoYYGTzw6hyJddn5ACbK984/eWeKRO1BWK+k8yifodsX0dbHR+IeQJ75Xo4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582904967; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=56kPrnyJ+3Nv01Gc4oaPOxv6Z0aZWG0PExBTYvUHd9E=; b=RblJdv74rgCkh9Y0TSoZ5Nv2yDthPxtY/yaiTfm80gwyI6CQemzGRIMbv61vZAZRV+v8Y2pMdza2nHwX6dJWb2+Z7NMyGySaSmEBGbe3MGT3qa9YFLkoVs995EiyCJlH7vx5aPp6tDhWUTqwA5laONmQMsDaAvYEYfnZiuzXuvw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1582904967098864.7699534002467; Fri, 28 Feb 2020 07:49:27 -0800 (PST) Received: from localhost ([::1]:49050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7htF-0006gV-V7 for importer@patchew.org; Fri, 28 Feb 2020 10:49:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47034) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7hhR-0001jh-9N for qemu-devel@nongnu.org; Fri, 28 Feb 2020 10:37:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7hhQ-0005AO-C0 for qemu-devel@nongnu.org; Fri, 28 Feb 2020 10:37:13 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:37897) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j7hhQ-0005A1-6G for qemu-devel@nongnu.org; Fri, 28 Feb 2020 10:37:12 -0500 Received: by mail-wm1-x332.google.com with SMTP id n64so2335803wme.3 for ; Fri, 28 Feb 2020 07:37:12 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id u23sm2659452wmu.14.2020.02.28.07.37.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Feb 2020 07:37:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=56kPrnyJ+3Nv01Gc4oaPOxv6Z0aZWG0PExBTYvUHd9E=; b=IQvGqIRvflD8dXpKLqYA90i0MO6rAlEd98zWF0EYSExbU+gmF6tT91Ckl1HCwOQd+T hCLV+1lGXdIAByLliGdpBxFnN5yIqVJvYnAIhKkg7WtU02d+yLviMm6yaXEVbcL2WYNw Bf9zkbGMgZ1Jt9x2dD6JECyubhjZYzJMJm+iEBogbv6rxwbMMWK9w2XlI5fDPvtq9uVu xiGfQrJ/TALqt5QntoJLOovDnRz2wl6svPafePKZUdIJyH8A80L6ET2CqZ54Us0qncZ9 6xrldqd29qqu3WFfHnWlAjh5WZChAGStmqD12F6hMwiAivYllEC0XZGhAJgFnkoA5fTg jS/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=56kPrnyJ+3Nv01Gc4oaPOxv6Z0aZWG0PExBTYvUHd9E=; b=DpWV13tg8xh+e3L/QvGFQr2D8UAmr3ynhRlKAqLtTnbF+/1HNf9xt36Orq5qmENGTX SNBsOC6njPz4oY2F8HgZz+AZTSCgcJf8s1euZ5LYyW/OimuDuzHqeRwqAbUkj4av79mc ULi1X4o+ZVaS0ZnN3cTCHcBMrIkC9n2ZMkFPtCo8DRQM5+Sn21ppD22yiwnsDF4dT+fw nWVFUeVEnFs6XWiSfnOkW1U9fOjTcMayZ7ZK8s6sUJ8UlJ5DA912U9QnPKPsgCmISwe0 9QXBdyvmrEAGLCRk/fb1D71qScTuwHc9P/pKAlOFCAaMwgMKuDK3RcAVH3P+OQBFGywj eWlw== X-Gm-Message-State: APjAAAUAMopoOCU6WDb0LfnaoXaTgZKc+ii9br0fgiMvCHDXI6PfelvR Iw5A3Bx4Ciw2450qkEBHfJHjk55tKwRx7g== X-Google-Smtp-Source: APXvYqxff0AmRjQafXZTZ0DebiZ7/Yau5oug6BzibB+orerxw+cqhViYq8ozT9H2g5tJUnTzAsbQDw== X-Received: by 2002:a1c:990b:: with SMTP id b11mr5342121wme.15.1582904230896; Fri, 28 Feb 2020 07:37:10 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PATCH v3 30/33] ui/cocoa.m: Update documentation file and pathname Date: Fri, 28 Feb 2020 15:36:16 +0000 Message-Id: <20200228153619.9906-31-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200228153619.9906-1-peter.maydell@linaro.org> References: <20200228153619.9906-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::332 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Kashyap Chamarthy Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) Content-Type: text/plain; charset="utf-8" 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 --- 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[] =3D {@"../share/doc/qemu/", @"../doc/qemu/", @"= ../"}; + NSString *path_array[] =3D {@"../share/doc/qemu/", @"../doc/qemu/", @"= ../docs/"}; NSString *full_file_path; =20 /* iterate thru the possible paths until the file is found */ @@ -1198,7 +1198,7 @@ QemuCocoaView *cocoaView; { COCOA_DEBUG("QemuCocoaAppController: showQEMUDoc\n"); =20 - [self openDocumentation: @"qemu-doc.html"]; + [self openDocumentation: @"index.html"]; } =20 /* Stretches video to fit host monitor size */ --=20 2.20.1