From nobody Sat Jun 22 12:00:06 2024 X-Original-To: doc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W5t86693Cz5PYPt for ; Sat, 22 Jun 2024 12:00:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W5t860TZbz4sqT for ; Sat, 22 Jun 2024 12:00:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719057606; a=rsa-sha256; cv=none; b=dypA0U37G3CkpGFE0GGCr5AQVtS71F99cn6eeVa+EYaClr/fAMSLdMoDgkiFCif7THBzUn EJaO75cEy3uc10DhohVPbu2eVBFT+kUdNR/GHwKdrH/M32jMCWBIqDnD91BcE1mAAmtSCZ ysfrSRj7MJgszzjzHNVi7xVt5kNKfVN6HS5Dr72if9PQo8CHD9O2KHtgJkCmZg4533MY8j qnSQqOqowC5/xGqfjORv5fbMdu21MaNIsERE9KIwkkJAfFdeWAcYt1hUGH21LFdYcLfYcE SS9t3I6CfG9qVL3vbJgOky9GEavmSmcOwsF50B7WhptcN/lkYu4Ws78a2Z2Qaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719057606; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7jN8ScF/KixgBe6az/VpW8sQwDGXzxOY+eYc37EiMOI=; b=UBUEtsWR9IpOQHXM5Wfe2ZShHqyf6Hk68Ww9kV7gIriOE+pOSP3Z3tZtJtCnlcfwTV+os+ W51vjbvIbpy1uB31KMKZokqlK46xtWHkE76DpAOZnjQd8bSnv4Ogi2BnFFmhu3WZJSFzra eq11cJxc+bwRvllg+AueJBKb7p3YFawAZ7wTJMvd3eqhsj5K7Uj/9eJtKuJcWQd7uEp+NM 8c2vdEugmt0XRTLPcUxLTCxjm854+Cd92p5GFun9zkIvwYfkyOWZy3YgI/4id5bCCW+JT+ hFUgNplosUN+KjAIaYGL26vwu6FYmAlRmKcTTcFm0UMNSJCmirULphcu9GGbvA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4W5t8571jTzqp8 for ; Sat, 22 Jun 2024 12:00:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 45MC057d093421 for ; Sat, 22 Jun 2024 12:00:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 45MC05cC093416 for doc@FreeBSD.org; Sat, 22 Jun 2024 12:00:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 279896] Download PDF not working in handbook [404] Date: Sat, 22 Jun 2024 12:00:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Website X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: freebsd.illusive064@passinbox.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: doc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279896 --- Comment #3 from freebsd.illusive064@passinbox.com --- so hovering over the link I see two suspicious 'nil' values: https://download.freebsd.org/doc/en/_index/%25!s%28%3cnil%3e%29/%25!s%28%3c= nil%3e%29_en.pdf=20 ./documentation/themes/beastie/i18n/zh-cn.toml:[download-pdf] ``` So, I grep the repo for "Download PDF" and I see (one example) ./documentation/themes/beastie/layouts/books/single.html:
  • {{ i18n "download-pdf" }}
  • ``` So the link is decided by `$pdfUrl` I grep for `$pdfUrl`: ``` grep -r "\$pdfUrl" ./documentation/themes/beastie/layouts/books/single.html: {{ $pdfU= rl :=3D printf "%s%s/%s" $.Site.Params.downloadBaseUrl $.Site.Home.Language $p= ath }} ``` so the issue, as far as I understand, is here. Something with Site Params. I cloned the latest as of the time of writing, hope someone who knows the FreeBSD docs can take this further. Sorry, first time delving into it. --=20 You are receiving this mail because: You are the assignee for the bug.=