Skip to content

docs: build the Antora component as a site of its own, check it on every docs change - #115

Merged
tae898 merged 4 commits into
mainfrom
docs/standalone-antora-site
Oct 28, 2026
Merged

tae898 merged 4 commits into
mainfrom
docs/standalone-antora-site

Conversation

@tae898

@tae898 tae898 commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #114

The docs in docs/ are an Antora component, but nothing built them: docs.arcadedb.com does not publish the component yet (ArcadeData/arcadedb-docs#505), and the test workflows ignore docs/** and *.adoc.

Change Why
docs/antora-playbook.yml Builds the component as a site of its own. UI bundle and asciidoc attributes copied from the antora-playbook.yml of ArcadeData/arcadedb-docs, so pages render as on docs.arcadedb.com. attribute-missing: warn and failure level warn (production uses error).
.github/workflows/docs.yml Runs it with Antora 3.2.1 (the version arcadedb-docs uses) on every push and pull request that touches docs/, and uploads the site as the docs-site artifact. For a docs-only pull request, this is the only check.
13 xref:arcadedb::... links to {arcadedb-docs-url}/<page> The component cannot resolve another component's xrefs on its own. The attribute is set once in antora.yml. All 10 target pages and 4 anchors were checked live on docs.arcadedb.com (a bogus page gives 404, so the check is not vacuous). The links keep working when #505 adds the component to the main site.
README, development/ci.adoc, CLAUDE.md Describe the workflow, the local build command and the link rule.

Local build, from the repository root: npx -p @antora/cli@3.2.1 -p @antora/site-generator@3.2.1 antora docs/antora-playbook.yml, then open docs/build/site/index.html.

This PR does not host the site: it belongs at docs.arcadedb.com/arcadedb-python, which ArcadeData/arcadedb-docs#505 adds.

The repo's pre-commit hooks pass on the changed files (pretty-format-yaml, actionlint, the old-package-name check).

🤖 Generated with Claude Code

tae898 and others added 3 commits October 28, 2026 23:58
…ery docs change

docs.arcadedb.com does not publish the component yet (ArcadeData/arcadedb-docs#505), and the test
workflows ignore docs/** and *.adoc, so nothing built the pages and a docs-only PR had no check.

- docs/antora-playbook.yml: standalone site with the UI bundle and asciidoc attributes of the
  arcadedb-docs playbook; attribute-missing warn and failure level warn.
- docs.yml: Antora 3.2.1 (same as arcadedb-docs) on push/PR touching docs/, uploads docs-site.
- The 13 xref:arcadedb:: links become {arcadedb-docs-url}/<page> (attribute in antora.yml); the
  10 target pages and 4 anchors were checked live on docs.arcadedb.com, a bogus page gives 404.
- README, ci.adoc and CLAUDE.md describe the workflow and the link rule.

Closes #114

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Antora resolves a bare .. from the working directory (CI: /home/runner/work/arcadedb-python,
not a git repository); a path that starts with ./ is relative to the playbook file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…edb-python)

Pages is enabled with source "GitHub Actions" (build_type workflow); the github-pages
environment allows main only. arcadedata.com is the org Pages domain (behind Cloudflare;
arcadedata.com/arcadedb-docs/ already serves a project site), so the project site lands at
https://arcadedata.com/arcadedb-python/. The build job uploads the Pages artifact on main only;
the deploy job runs actions/deploy-pages v5.0.1. site.url set for the sitemap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tae898 tae898 changed the title docs: build the Antora component as a site of its own, check it on every docs change docs: build the Antora component as a site of its own, check every docs change, publish it on GitHub Pages Oct 28, 2026
…dedb-python

This reverts commit 7816049. The site belongs at docs.arcadedb.com/arcadedb-python
(ArcadeData/arcadedb-docs#505), not arcadedata.com/arcadedb-python; Pages is disabled again on
this repository and the github-pages environment it created is removed. The Docs workflow keeps
building the component and attaching the preview artifact.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tae898 tae898 changed the title docs: build the Antora component as a site of its own, check every docs change, publish it on GitHub Pages docs: build the Antora component as a site of its own, check it on every docs change Oct 28, 2026
@tae898
tae898 merged commit c38823e into main Oct 28, 2026
29 checks passed
@tae898
tae898 deleted the docs/standalone-antora-site branch October 28, 2026 15:57
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.

docs: the Antora component is never built, and docs-only pull requests get no check

1 participant