Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 2026 22:15:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 295112] Reference link that returns 404 - Not Found
Message-ID:  <bug-295112-9-xZTvgZdVIX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-295112-9@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295112

Vladlen Popolitov <vladlen@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
                 CC|                            |vladlen@FreeBSD.org

--- Comment #2 from Vladlen Popolitov <vladlen@FreeBSD.org> ---
@doceng
extref: macro on all documents stopped working, it generates the link for doc
files instead of online HTML pages.

Error in code:
shared/lib/CrossDocumentReferencesMacro/extension.rb

Expresiion evaluated to true, now it evaluates to false (hugo version change or
something like this):
if doc.attributes['isonline'] == "1"

Workaround:
change setting in documentation/config/_default/hugo.toml for parameter
isOnline in section markup.asciidocExt

[markup.asciidocExt]
    extensions = ["man-macro", "inter-document-references-macro",
"cross-document-references-macro", "sectnumoffset-treeprocessor",
"packages-macro", "git-macro"]
    [markup.asciidocExt.attributes]
      env-beastie = true
      isOnline = true
to
      isOnline = 1

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295112-9-xZTvgZdVIX>