Skip to content

fix(ci): correct local content source url in Antora playbook#18

Merged
jimisola merged 1 commit intomainfrom
fix/antora-local-source-url
Mar 7, 2026
Merged

fix(ci): correct local content source url in Antora playbook#18
jimisola merged 1 commit intomainfrom
fix/antora-local-source-url

Conversation

@jimisola
Copy link
Member

@jimisola jimisola commented Mar 7, 2026

Summary

  • Fixes Local content source must be a git repository error in the Antora site build
  • Changes url: . to url: ./../ for the local content source in docs/antora-playbook.yml
  • Antora resolves bare .. paths from CWD, but dot-prefixed paths (./../) resolve relative to the playbook file — since the playbook is in docs/, ./../ correctly points to the repo root where .git exists

Test plan

  • Merge and verify the publish workflow succeeds on main

🤖 Generated with Claude Code

Change `url: .` to `url: ./../` for the local content source. Antora
resolves bare `..` paths from CWD rather than the playbook directory,
but dot-prefixed paths (`./../`) resolve relative to the playbook file.
Since the playbook is in `docs/`, `./../` correctly resolves to the
repository root where the `.git` directory exists.

Signed-off-by: jimisola <jimisola@jimisola.com>
@jimisola jimisola self-assigned this Mar 7, 2026
@jimisola jimisola merged commit 0705a20 into main Mar 7, 2026
4 checks passed
@jimisola jimisola deleted the fix/antora-local-source-url branch March 7, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant