Skip to content

Support Antora #434

Open
Open
@Skeeve

Description

@Skeeve

Yesterday, 2021-08-22 I learned about Antora at FrOSCon 2021. It was presented by the developer of the IntelliJ Asciidoctor Plugin.

While I'm not yet using Asciidoctor, I only learned about it a day ago ;), It sounds quite promising and useful, what he presented. Unfortunately there is no recording available yet.

Features

workspace

antora.yml

  • detect antora.yml files in the workspace and ask user if they want to enable Antora support

site-manifest.json

  • allow to configure a path to a site-manifest.json file
  • read and parse the site-manifest.json file to provide autocompletion on pages (xref, include, link...)

Preview

Navigate

Auto-completion

  • add images auto-completion when Antora is enabled #693
    • images within the same module
    • images from other modules
    • images from other components
  • add includes auto-completion in this order
    • attachments within the same module
    • attachments from other modules
    • attachments from other components
  • add xref auto-completion in this order
    • pages within the same module
    • pages from other modules
    • pages from other components

Suggestions/actions

  • transform a resource ID to a fully qualified ID (for instance, from image:seaswell.png[] to image:2.0@cli:commands:seaswell.png[])
  • suggest to simplify a resource ID (for instance, from image:2.0@cli:commands:seaswell.png to image:seaswell.png[] if the image is referenced in the same component/module/version)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions