Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Antora
Antora
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 172
    • Issues 172
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 35
    • Merge Requests 35
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Antora
  • AntoraAntora
  • Issues
  • #421

Closed
Open
Opened May 01, 2019 by Dan Allen@mojavelinuxOwner

Preserve linked text of an unresolved page xref

Upon encountering an unresolved page xref, Antora is dropping the linked text (aka content). This data loss limits the ability for a postprocessor to repair the link, such as to convert it to a link to an external site.

The linked text should be preserved in the content of the anchor, offset from the page ID by a pipe. In other words:

<a href="#">folder:page.adoc|Linked Text</a>

Keep in mind, even this is a temporary solution until Antora supports a proper callback for handling an unresolved page xref.

Edited May 01, 2019 by Dan Allen
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
v2.1.x
Milestone
v2.1.x
Assign milestone
Time tracking
None
Due date
None
Reference: antora/antora#421