Skip to content

Escape variable references in the docs that Asciidoctor reads as attributes #9069 - #9087

Merged
bamaer merged 1 commit into
apache:mainfrom
AnKiT-GaRG2:docs/escape-variable-references-9069
Oct 23, 2026
Merged

bamaer merged 1 commit into
apache:mainfrom
AnKiT-GaRG2:docs/escape-variable-references-9069

Conversation

@AnKiT-GaRG2

Copy link
Copy Markdown
Contributor

Please add a meaningful description for your change here

A variable such as ${PROJECT_HOME} in inline code is read by Asciidoctor as the attribute {PROJECT_HOME}, which produced 35 "skipping reference to missing attribute" warnings in 27 pages. This writes them as +${PROJECT_HOME}+, the form that 299 other places in the docs already use, and removes the stray "(TODO)" at the end of the IHopMetadataObjectFactory paragraph in metadata-plugins.adoc.

How I checked it: I ran Asciidoctor 2.0.26 with attribute-missing=warn over all 787 pages before and after. Before there were 35 such warnings in the pages listed in the issue. After there are none, apart from page-component-version, which is an Antora attribute that Antora supplies at build time and which is not part of this issue. I also rendered a few of the changed pages and checked that the variables still show up literally, for example <code>${PROJECT_HOME}</code>. I did not run the Antora site build or mvn clean install apache-rat:check, since only .adoc files changed.

Addresses #9069


  • Run mvn clean install apache-rat:check to make sure basic checks pass. A more thorough check will be performed on your pull request automatically. (not run, documentation-only change)

  • If you have a group of commits related to the same change, please squash your commits into one and force push your branch using git rebase -i.

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable.

  • I hereby declare this contribution to be licensed under the Apache License Version 2.0, January 2004

…ibutes apache#9069

A variable such as ${PROJECT_HOME} in inline code is read by Asciidoctor
as the attribute {PROJECT_HOME}, which gives 35 "skipping reference to
missing attribute" warnings in 27 pages when building the docs. Write
them as `+${PROJECT_HOME}+`, like the other pages already do.

Also remove the stray "(TODO)" at the end of the IHopMetadataObjectFactory
paragraph in the metadata plugins page of the developer manual.
@bamaer
bamaer merged commit f37520f into apache:main Oct 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants