Importing Antora documentation into XWiki

Moving Antora product documentation into XWiki with the xwiki-contrib importer gives teams web editing and permissions in place of a docs-as-code build. This page covers what maps, what does not, and what drives the work.

On this page

Importing Antora documentation into XWiki: what the move involves

Consider a product team whose documentation lives in an Antora site kept in Git, and who want browser editing and per-space permissions in XWiki. The xwiki-contrib Antora importer brings that content across, and the effort depends on how much of the documentation depends on Antora-specific structure: modules, versioned components, include directives, and cross-references between pages. Plain AsciiDoc pages with simple navigation move with little rework. Sites that rely on version selectors, shared partials or page-to-page xrefs need a deliberate plan for each of those features before anyone starts the import.

The importer supports XWiki 17.4.0 and later and is licensed under the LGPL 2.1, so confirm that your target XWiki version falls in that range before you choose a release line. Check the importer's project repository for its current requirements and known limitations, since the exact conversion behavior determines how much cleanup follows. Ask whoever will own the wiki which Antora features appear in your sources, because that inventory drives the scope more than the page count does.

Treat the result as an editable copy, not a continued build pipeline. After import, edits happen in XWiki, and the Git repository and Antora build no longer update the wiki automatically unless you design and operate that sync yourself. Decide early who owns the content after cutover, whether the Git repository is retired or kept as an archive, and how you will handle corrections made in one place but not the other. Those decisions, along with the permissions model for each space, belong in the plan before the first test import runs.

Which Antora features map to XWiki and which need rework

This table compares Antora source structures with their closest XWiki equivalents and flags where content will need manual rework. Use it as a checklist against the importer's output in a test import, not as a guarantee of how each construct converts.

Antora featureClosest XWiki equivalentExpected handling
AsciiDoc pagesXWiki pages in the imported spaceContent is converted, but confirm heading levels, lists and tables in a test import before planning the full migration.
Navigation (nav.adoc files)Page hierarchy and parent-child pagesAntora navigation is not a native XWiki menu. Plan to rebuild the tree, home page and menus by hand.
Modules and componentsSpaces or page trees per componentMap each component to a space. Confirm how the importer names and nests modules before choosing a layout.
Component versionsNo direct equivalentVersion selectors do not carry over cleanly. Decide whether to import one version, separate spaces per version, or XWiki page history, then check the output.
Partials and includesIncluded pages, copied content or macrosInclude directives are a high-risk construct. Expect duplicated or missing text, and verify each included section after import.
Attachments and imagesPage attachmentsConfirm that image paths resolve to the imported attachments and that file names are preserved.
Cross-references (xref)Internal wiki linksCross-references between components often break. Plan a link check across the whole imported set.
Permissions and accessSpaces, groups and page rightsAntora has no page-level access model. Set rights in XWiki after import, since they are not carried over from the source.

Documented import paths for Antora content

The documented route for moving Antora sources into XWiki is a single community importer with a hard version floor and a specific runtime. The cards below cover what the importer requires, where it runs, and what you must verify against your own playbook before committing a migration plan.

The xwiki-contrib Antora importer

The xwiki-contrib Antora Importer is the documented path for bringing Antora-built product documentation into XWiki. It reads Antora content and creates XWiki pages from it, so your component modules, versions and navigation can land as wiki structure. Before you plan around it, confirm which Antora components, page types and navigation files your docs use, because the importer's coverage of each is the first thing to test.

Importer repository

XWiki 17.4.0 or later

The importer requires XWiki 17.4.0 or later, so an instance on an older release cannot use it without an upgrade first. Treat this as a gating decision: if your current wiki runs an earlier line, the upgrade path and its effect on existing content, extensions and customizations come before any Antora work. Check the version requirement against the release you intend to deploy, not only the one you run today.

LGPL 2.1 licensing

The importer is licensed under the LGPL 2.1, the same family of license as XWiki and its official Docker image repository. Ask your legal or open-source review team to confirm that the license terms fit how you will modify, redistribute or embed the importer in your own tooling. Record the license in your software bill of materials alongside the XWiki components it runs with.

Official Docker images as runtime

The official XWiki Docker images come in MySQL, PostgreSQL and MariaDB variants, each running on Tomcat, for amd64 and arm64v8. Choose a variant that matches your database standard, then decide between the stable and LTS lines. The LTS tag suits teams that want fewer upgrades, while the stable tag tracks newer features, so confirm which line supports your importer version before you pin a tag.

XWiki Docker image docs

Verify against your own playbook

Importer behavior depends on your Antora playbook, content source layout and Antora version, not only on the importer release. Run a test import from a copy of your real playbook into a non-production XWiki, then compare page counts, navigation, internal links, includes and attachments against the source site. Document every construct the importer does not convert so the content owners can decide whether to rewrite it by hand.

How the Antora import runs from inventory to decommission

The sequence moves Antora documentation into XWiki in stages, with a pilot, a review of converted pages and links, and a parallel period before the docs build is retired. Each stage ends with a decision or check the client signs off on.

  1. Inventory Antora components and versions

    List every Antora component, each version branch that readers still use, the antora-playbook.yml sources that feed the site, and the navigation and attachments each component depends on. The client's documentation owners confirm which versions are current, which are archived and which must stay reachable after cutover. Done means a written inventory with a keep, convert or retire decision for each component and version.

  2. Stand up a target XWiki on a supported version

    Install XWiki in the client's infrastructure on a version that the xwiki-contrib Antora importer supports, which is XWiki 17.4.0 or later according to the project's documentation. Confirm the version against the importer's current release notes before installing, and choose the database and container setup the organization already operates. Done means a running instance that passes a basic login, page save and permission test, with the client's identity and admin access settings reviewed.

  3. Decide ownership and version rules

    Before any content moves, the client decides who edits pages after cutover, who approves changes and how old product versions are presented in XWiki. These decisions shape the space layout, the rights model and whether each Antora version becomes its own space or a labeled section. Done means a short written model that names owners for each space and the rule for retiring a version.

  4. Run a pilot import on one component

    Import one representative component with its versions into a test space on the target instance. The pilot shows how the importer maps Antora modules, pages, navigation and attachments into XWiki pages. Done means a test import log with the source commit or tag recorded, and a list of any content the importer skipped or flagged.

  5. Review converted pages and links

    Compare converted pages with the rendered Antora site, checking headings, code blocks, admonitions, cross-references, images and navigation. Run a link check across the imported space and record broken internal and external references. Documentation owners approve the pilot and the team agrees which conversion gaps need manual cleanup or a change to the source. Done means a signed review with a defect list and a fix or accept decision for each item.

  6. Import the remaining components

    Apply the approved settings to the remaining components in batches, following the same space and version model from the pilot. Keep the import repeatable so a rerun reproduces the same result from the same source revision. Done means every in-scope component and version exists in XWiki, with the import logs stored alongside the inventory.

  7. Run a parallel period and reconcile changes

    Keep the Antora build and XWiki both live for an agreed period, and tell readers which one is the source of record for each component. Any change made in either system is recorded and carried over, and a re-import is only used where the team has confirmed the source is still authoritative. Done means the team has a reconciliation log, no unresolved differences on the approved components, and a sign-off from the documentation owners.

  8. Cut over and decommission the docs build

    Switch readers and links to XWiki, add redirects or a notice on the old site, and make XWiki the editing location. The client decides how the Antora repository and build pipeline are archived, and what happens to old versions that must stay available. Done means the cutover checklist is complete, the old build is archived or shut down as decided, and a backup of the final XWiki space is verified.

How the Antora source, importer and XWiki connect

The flow starts in the Git repository that holds the Antora playbook and content, where the playbook drives the Antora build output. The xwiki-contrib importer reads that output and creates pages in XWiki spaces, and the space rights then define who can read and edit each area. Parallel-run reviewers compare imported pages with the source and send fixes back to the repository. Confirm the exact input the importer expects in its own documentation before you script the build.

Source, build, import and permissions, with a parallel-run check back to the repository.

What the Antora import costs in effort and where it is charged

The main cost of an Antora import is the effort around the importer, not the tool itself. The content scoping comes first: which Antora components, versions and modules move into XWiki, which are retired, and which pages are duplicates of material that already lives in a wiki. Each decision changes the number of test imports and the amount of review that follows. Scope is typically the largest driver of effort, so ask any provider to price it as a separate, written step before the build starts.

Next come the test imports and checks, and then the rebuild work that the importer does not do for you. Test runs need to be repeated after each change in scope or configuration, and each run needs a person to compare navigation, cross-references, includes and images against the source site. Version handling and navigation must be rebuilt as XWiki spaces and page hierarchies, and setting rights per space is a separate job that needs the owners of each product line. Editor training is a recurring cost in the sense that every new contributor needs it, and it is often underestimated when teams plan to move from a docs-as-code workflow to web editing.

The importer is open source under LGPL 2.1 and supports XWiki 17.4.0 and later, so there is no licence fee for it. The XWiki SAS consulting rate of 1200 EUR per day and training rate of 1500 EUR per day, as published on the XWiki pricing page, apply only if you buy those services from XWiki SAS, and the consulting rate requires a Business or Enterprise support plan. They do not set the price of this importer or of DeployOpen's work. DeployOpen does not publish prices. A quote follows from a written scope, so ask for each cost component listed above as its own line, state which items are one-time and which recur (such as retests after content changes), and confirm which XWiki version and hosting model the quote assumes.

What drives the effort up or down

This table lists the factors that change how much work an Antora-to-XWiki import takes, how each one moves the effort, and what you can reduce before the engagement starts. Read it as a checklist: the rows with the largest scope effect are the ones to measure first. The main takeaway is that most of the effort sits in the documentation set itself, so clean-up done before the import is cheaper than fixes made after it.

DriverWhy it changes effortHow to keep it down
Components and versionsEach component and each published version is a separate source tree to map, so effort grows with the count of antora.yml entries and version branches.Import only the versions readers still use and archive the rest as static exports.
AsciiDoc features needing reworkIncludes, conditionals, custom attributes, admonitions and macros that have no direct XWiki equivalent need manual rewriting.Inventory the AsciiDoc features in use and remove unused ones before the test import.
Images and attachmentsEach image or file must be moved, linked correctly and checked, and large binaries slow test runs and review.Clean unused images, compress them and agree a storage location before the import starts.
Cross-reference densityInternal xref links across modules and components must resolve to XWiki pages, so heavily linked sets need link validation after import.Reduce broken or obsolete cross-references in the source and list the link patterns you rely on.
Number of editors and permission modelEach space, group and edit right must be mapped to XWiki rights, and more editors means more review of who can change what.Define the target spaces, groups and rights in writing before the build starts.
Parallel run lengthTeams keep the Antora source and XWiki side by side, so every source change during the run must be reconciled or re-imported.Agree a fixed cutover date and a single source of truth for edits during the overlap.

What usually goes wrong with Antora to XWiki imports

Most failed Antora imports are not importer failures. They come from links that no longer resolve, two copies of the same page drifting apart, and permissions that were either too open or applied too late. Each card below names one failure and the check that prevents it before cutover.

Broken cross-references and navigation

Antora resolves xref: targets and component navigation files against its own site model. After import, those targets must map to XWiki page references, and the navigation tree must be rebuilt as wiki structure. Illustrative case: a page linking to a module that was renamed during import will render as a dead link that nobody notices until a customer reports it. Before cutover, crawl the imported space for broken links, compare the navigation tree against the source nav.adoc files, and test a sample of deep pages from each component.

Version drift during the parallel run

While the Antora site and the XWiki copy both stay live, a fix merged to one side may never reach the other. The result is two documentation sets that disagree about the same product version. Decide which system is the source of truth for each product version, set a dated freeze on the retired side, and run a diff of page content for the versions in scope before each sync. Record the sync date in the wiki so readers can see how current a page is.

Editors changing content in two places

Once the wiki has web editing, writers will edit pages there, while docs-as-code contributors keep committing to the repository. Those edits do not flow back automatically, so a later re-import can overwrite wiki work or silently drop it. Name one owner per product version, state in the contributing guide which system accepts edits, and block direct edits on the retired side. If both paths must stay open for a period, plan a reconciliation step and do not treat re-import as a merge.

Permissions set too broadly or too late

Antora sites are usually public or behind a single gate, so teams often import everything with open read and edit rights and plan to tighten later. Imported pages can then be read or edited by people who should only see one product line, and the cleanup becomes harder as more pages gain links and history. Map the existing access groups to XWiki groups and rights before the import runs, set the default to restricted for internal components, and test access with a non-admin account from each group.

Unsupported XWiki version blocking the importer

The xwiki-contrib Antora importer supports XWiki 17.4.0 and later. A target instance older than that, or one on a version the importer has not been tested against, will block the import or produce partial results. Check the running XWiki version before scoping the project, and confirm with the extension page whether the version you plan to run is supported. If the instance must stay on an older line, plan the version upgrade as a separate step before the importer work starts.

Antora importer repository

Questions teams ask before importing Antora docs into XWiki

How much does it cost to import Antora docs into XWiki?

No price is published for this import, so the cost depends on the scope you agree in writing. The main cost components are the people who inventory your Antora sites, run the importer, reconcile navigation and links, and set up the XWiki spaces and permissions that replace your docs-as-code access model. Costs recur only if you keep the import running for new releases. Ask any provider for a quote that lists each component separately, including the number of Antora components, versions and pages in scope. The importer itself is free: the xwiki-contrib Antora Importer is licensed LGPL 2.1, so the license cost is zero. XWiki SAS lists consulting at 1200 EUR per day, which requires a Business or Enterprise support plan (xwiki.com pricing), so ask whether that rate applies to your engagement.

How long does an Antora to XWiki import take?

Duration depends on how many Antora components, versions and pages you have, how much content needs manual cleanup, and how many people must review the result. A small single-product site with one version is far simpler than a multi-version portal with cross-references between components. Plan time for a trial import on a copy of your content, a review of converted pages, fixes to broken cross-references and navigation, and a permission model built in XWiki. The importer supports XWiki 17.4.0 and later, so the target instance version is a first decision that affects the schedule. Ask for a timeline tied to a named list of components and a defined acceptance check.

What does our team need to provide for the import?

Your team needs to supply the Antora source repositories, the playbook files that define which components are published, the list of product versions that must survive, and the owners who will approve the converted content. You also need an XWiki test instance on a version the importer supports, with administrator access and a decision on how users are authenticated. Named reviewers from each documentation area are the most important input, because they check whether the converted pages still read correctly. Expect to provide a copy of the current published site so that links and page structure can be compared after import.

Can our own team run the Antora import without a partner?

Yes, if you have engineers who can run a Java-based wiki, read Antora playbooks and handle a test import. The xwiki-contrib repository is public and LGPL 2.1 licensed, so your team can install it, run it against a copy and evaluate the output. The work that usually takes the longest is not the command itself but reconciling navigation, resolving cross-references between components and setting permissions that match your previous repository access. Your team should decide early whether it can dedicate people to those tasks for the full duration. If not, a fixed-scope engagement with written deliverables may be the better fit.

What happens to our docs-as-code workflow after the move?

The import creates a one-time copy of your documentation in XWiki, so your Git repositories and Antora build do not change automatically. Authors then edit pages in the wiki, which means writing in the XWiki editor, reviewing changes in XWiki history, and using XWiki permissions rather than pull requests. Decide whether the Git repositories stay as an archive, become read-only, or remain the source for a parallel build. Running both sources in parallel creates drift, so define which one is authoritative for each product version before cutover. Teams that still need pull request review should confirm that XWiki's editing and approval flow meets that need.

Do we have to use XWiki SAS or DeployOpen for this work?

No. The importer is open source and the XWiki Docker images are LGPL 2.1, so your team or any qualified contractor can perform the import. XWiki SAS offers on-premises professional support, installation and configuration help, and training, which some organizations buy for the wiki platform itself. DeployOpen plans, implements, customizes, integrates and supports self-hosted open-source platforms inside your own infrastructure, and can run the import as a fixed-scope engagement with written deliverables. Compare providers on the written scope, the XWiki versions they support, how they handle permissions and links, and who stays accountable after cutover.

What breaks most often when Antora content moves into XWiki?

The most common failures are broken cross-references between components, navigation that no longer matches the Antora playbook, and attachments or images whose paths changed during conversion. Versioned content also needs care, because a single wiki may not map one-to-one to Antora component versions. Check the converted output against a list of pages that carry heavy cross-linking, code blocks, admonitions and includes. Plan a link validation pass after import and a sign-off by named reviewers before the old site is retired. Confirm exactly which Antora features the importer converts in your version of the tool, since the supported feature set should be verified against the project documentation rather than assumed.

How do we control access to the imported documentation?

Access in XWiki is set through spaces, groups and rights, which replaces repository-level access in Git hosting. Map your current audiences, such as public product documentation, customer-only content and internal engineering notes, to separate spaces before the import runs. Decide whether imported pages inherit permissions from a parent space or are set page by page, because the second option is harder to audit. If you use an external identity provider, confirm how XWiki authenticates users and how group membership flows into rights. Record the final permission model so that auditors and reviewers can trace who can read and edit each documentation area.

How DeployOpen works on this

DeployOpen plans and delivers Antora to XWiki imports as fixed-scope work inside your own infrastructure. The engagement starts with a written scope that names the documentation sources, the XWiki target and the checks that define a finished import, then moves through a test import, a controlled cutover and a handover your editors can run.

How we scope

  • Inventory the Antora component versions, modules, partials and attachments that will move into XWiki.
  • Confirm the target XWiki version against the importer's supported release, 17.4.0 or later.
  • Agree which pages, spaces and permission groups are in scope, and which stay in the docs-as-code pipeline.
  • Write the acceptance criteria for links, navigation, images and page permissions before any import runs.

How we build

  • Install and configure the XWiki instance and the Antora importer in your environment, following the agreed plan.
  • Run test imports against a copy of the source docs and record each conversion gap in a fix list.
  • Adjust the import mapping, rebuild the navigation tree and check cross-references between modules and versions.
  • Test page permissions, editing rights and search results with the groups that will use the wiki day to day.

How we hand over

  • Deliver a runbook covering the import procedure, known conversion limits and how to re-run an import safely.
  • Document which content is now edited in XWiki and which remains the source of truth in Git.
  • Walk your editors and administrators through page editing, versioning, permissions and the manual cleanup list.
  • Provide the test results, the final link check and the configuration record for your own review.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the handover is complete.
  • Support can cover XWiki version upgrades, extension updates and checks that imported pages still render correctly.
  • Confirm with DeployOpen during scoping how change requests, response expectations and retainer terms are written down.
  • Ask for a quote built from the written scope, since DeployOpen does not publish a price list.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.