The beautify-logs.py script was slicing Antora's "pretty" logs with the assumption it knew where the maintainer was storing the git repository, so the links in the File column were breaking for some users.
The following changes have been made:
Antora playbooks now output logs in JSON format. This makes string slicing easier/more accurate.
The beautify script now creates the links in the File column by removing the text in "workspace": from "file":, then adds AsciiDoc xref syntax.
Summary
The
beautify-logs.py
script was slicing Antora's "pretty" logs with the assumption it knew where the maintainer was storing the git repository, so the links in the File column were breaking for some users.The following changes have been made:
"workspace":
from"file":
, then adds AsciiDoc xref syntax.For example:
"worktree":"/Users/isaiah-robinson/docs"
/docs/modules/automation-testing/pages/index.adoc
xref:../docs/modules/automation-testing/pages/index.adoc[index.adoc]
Related PRs, issues, or features (optional)
Metadata
PR contributor checklist
[x] My PR follows the Kobiton Docs contributor guidelines, meaning:
nav.adoc
file.en-us
) from my URLs.