Skip to content

chore: prevent asciidoctor warnings when building documentation #1629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

oemebamo
Copy link
Contributor

@oemebamo oemebamo commented Jun 5, 2025

When building the docs for this repository, asciidoctor gives a couple of warnings. This PR fixes those warnings.

Most of them are forgotten escaping for {variables} and then a couple of places where blocks weren't ended properly.

Before:

@timefoldai/docs:dev: [17:11:01.614] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.615] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.615] WARN (asciidoctor): skipping reference to missing attribute: solver_name_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.615] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.616] WARN (asciidoctor): skipping reference to missing attribute: solver_name_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.616] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.616] WARN (asciidoctor): skipping reference to missing attribute: solver_name_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.616] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.617] WARN (asciidoctor): skipping reference to missing attribute: solver_name_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.617] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.618] WARN (asciidoctor): skipping reference to missing attribute: solver_name_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.618] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.618] WARN (asciidoctor): skipping reference to missing attribute: solver_name_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.618] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.618] WARN (asciidoctor): skipping reference to missing attribute: solver_name_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.618] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.618] WARN (asciidoctor): skipping reference to missing attribute: solver_name_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.619] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.619] WARN (asciidoctor): skipping reference to missing attribute: solver_name_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.619] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.619] WARN (asciidoctor): skipping reference to missing attribute: solver_name_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.619] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.619] WARN (asciidoctor): skipping reference to missing attribute: solver_name_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.619] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.619] WARN (asciidoctor): skipping reference to missing attribute: solver_name_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.620] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.620] WARN (asciidoctor): skipping reference to missing attribute: solver_name_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.620] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.620] WARN (asciidoctor): skipping reference to missing attribute: solver_name_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.620] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.620] WARN (asciidoctor): skipping reference to missing attribute: solver_name_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.620] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.620] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:01.621] WARN (asciidoctor): skipping reference to missing attribute: property_prefix
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/integration/config-properties.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:02.091] WARN (asciidoctor): skipping reference to missing attribute: timefoldsolverversion
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/quickstart/hello-world/hello-world-quickstart.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:02.091] WARN (asciidoctor): skipping reference to missing attribute: logbackversion
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/quickstart/hello-world/hello-world-quickstart.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:02.208] WARN (asciidoctor): skipping reference to missing attribute: wiringannotationfq
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/quickstart/shared/constrainttests.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:02.208] WARN (asciidoctor): skipping reference to missing attribute: testannotationfq
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/quickstart/shared/constrainttests.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:02.208] WARN (asciidoctor): skipping reference to missing attribute: testannotation
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/quickstart/shared/constrainttests.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:02.208] WARN (asciidoctor): skipping reference to missing attribute: wiringannotation
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/quickstart/shared/constrainttests.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:02.209] WARN (asciidoctor): skipping reference to missing attribute: testannotationfq
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/quickstart/shared/constrainttests.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:02.209] WARN (asciidoctor): skipping reference to missing attribute: wiringannotationfq
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/quickstart/shared/constrainttests.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:02.209] WARN (asciidoctor): skipping reference to missing attribute: testannotation
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/quickstart/shared/constrainttests.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:02.209] WARN (asciidoctor): skipping reference to missing attribute: wiringannotation
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/quickstart/shared/constrainttests.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:02.210] WARN (asciidoctor): unterminated listing block
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/quickstart/shared/java-logback-config.adoc:4
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:02.215] WARN (asciidoctor): skipping reference to missing attribute: quickstarts-clone-url
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/quickstart/shared/solutionsourcecode.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:02.215] WARN (asciidoctor): skipping reference to missing attribute: quickstarts-archive-url
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/quickstart/shared/solutionsourcecode.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)
@timefoldai/docs:dev: [17:11:02.215] WARN (asciidoctor): skipping reference to missing attribute: framework-quickstart-url
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/quickstart/shared/solutionsourcecode.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)

After:

🪄

@oemebamo oemebamo had a problem deploying to documentation (preview) June 5, 2025 15:12 — with GitHub Actions Failure
Copy link

sonarqubecloud bot commented Jun 5, 2025

@triceo
Copy link
Collaborator

triceo commented Jun 10, 2025

Hello @oemebamo! Thanks for the contribution, but I'm afraid it doesn't work.

I had a suspicion already, but was only able to confirm when the docs CI started working. See how the docs are supposed to look:

image

And how they actually look in your PR:

image

The escaping makes the placeholder not be recognized.

Copy link
Collaborator

@triceo triceo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above.

@oemebamo
Copy link
Contributor Author

Aha, thanks. So some of them are actual placeholders.

Any idea where this warning would then come from?

@timefoldai/docs:dev: [17:11:02.215] WARN (asciidoctor): skipping reference to missing attribute: quickstarts-clone-url
@timefoldai/docs:dev:     file: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver/docs/src/modules/ROOT/pages/quickstart/shared/solutionsourcecode.adoc
@timefoldai/docs:dev:     source: /Users/jurriaanpersyn/Documents/GitHub/timefold-solver (branch: main <worktree> | start path: docs/src)

I'm assuming this adoc is included in documents where the placeholder is undefined?

@triceo
Copy link
Collaborator

triceo commented Jun 10, 2025

My current theory is that the placeholders are correct placeholders, but their values are missing for some reason.

IMO they're supposed to come from this file:
https://github.com/TimefoldAI/timefold-solver/blob/43673e88730b153568726b54d0319a2f08a2cc68/docs/src/antora.yml

This is auto-generated and only present on released tags.
However, it doesn't explain the missing placeholders for URLs etc. I have no idea where those are supposed to come from.

@pieterdeschepper pieterdeschepper requested a review from Copilot June 11, 2025 09:08
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes Asciidoctor build warnings by escaping attribute references and properly terminating listing blocks in the documentation.

  • Escape {...} attribute references across several quickstart and integration docs
  • Add missing ---- terminator for an unterminated listing block
  • Update Gradle snippets and import examples to prevent missing-attribute warnings

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
docs/src/modules/ROOT/pages/quickstart/shared/solutionsourcecode.adoc Escaped {quickstarts-clone-url} and {quickstarts-archive-url} references
docs/src/modules/ROOT/pages/quickstart/shared/java-logback-config.adoc Added missing ---- to close a listing block
docs/src/modules/ROOT/pages/quickstart/shared/constrainttests.adoc Escaped {wiringannotationfq}, {testannotationfq}, and inline annotations
docs/src/modules/ROOT/pages/quickstart/hello-world/hello-world-quickstart.adoc Escaped ${timefoldSolverVersion} and ${logbackVersion} in Gradle snippets
docs/src/modules/ROOT/pages/integration/config-properties.adoc Escaped {property_prefix} and {solver_name_prefix} everywhere

Copy link
Collaborator

@triceo triceo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oemebamo I think the placeholders need to stay. But even without them, this PR has changes which I'd like to merge (see comments) - would you mind extracting them, so that I can merge these and these only?

@@ -903,13 +903,11 @@ Java::
+
--
include::../shared/java-logback-config.adoc[]
----
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to keep this change.

--
Kotlin::
+
--
include::../shared/java-logback-config.adoc[]
----
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this one as well.

</configuration>
----
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And also this one.

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.

2 participants