Skip to content

Fix guide cross references that name no section - #16477

Merged
jdaugherty merged 1 commit into
apache:8.0.xfrom
matrei:docs/guide-cross-chapter-links-8.0.x
Oct 2, 2026
Merged

jdaugherty merged 1 commit into
apache:8.0.xfrom
matrei:docs/guide-cross-chapter-links-8.0.x

Conversation

@matrei

@matrei matrei commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Summary

The 8.0.x-only part of #16475. #16476 fixes the publisher and the references that are on 7.0.x as well. This PR fixes two kinds of reference that only exist on 8.0.x.

Changes

  • What's New: the links to the GrailsCompileStatic, Functional Testing, Ahead-of-Time Processing, Ahead-of-Time Caching and Customizing the Application Class sections used xref:<directory>/<section>[...]. That renders as href="#testing/functionalTesting", which exists on no page. They now use <<section,...>>.
  • Plugins: <<Ship plugin commands as a companion -cli artifact>> was a natural cross reference. It can't match the section title, because the title contains markup (`-cli`). The section now has the anchor pluginCliArtifact, and the reference uses it.

The What's New links now work in single.html. On the chapter pages they point at other chapters, so they work there once #16476 is merged up. The Plugins link stays within its chapter, so it works everywhere already.

Testing

  • I built the guide with these changes and the 7.0.x publisher change merged in. A scan of every relative link in the chapter pages and in single.html finds none broken.
  • In a trial merge of Link guide cross references to the chapter page that holds their target #16476 into this branch, all 52 grails-docs-core tests pass. That PR's description lists the two expected conflicts and how to resolve them.

The What's New links to the GrailsCompileStatic, Functional Testing,
Ahead-of-Time and Application class sections used xref: paths, which render as
fragments that exist on no page. They now use the section IDs.

The reference to "Ship plugin commands as a companion -cli artifact" was a
natural cross reference, which cannot match a title that contains markup. The
section now has an explicit anchor.
@testlens-app

testlens-app Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

🚨 All tests passed but jobs failed 🚨

Failed Jobs without Test Failures

❌ CI / Validate BOM Properties

🏷️ Commit: 0101bd1
▶️ Tests: 86339 executed
🟡 Checks: 83/85 completed

Rerun Controls

Click the checkbox to trigger a rerun:

🔲 Rerun jobs


Learn more about TestLens at testlens.app/docs.

@codecov

codecov Bot commented Oct 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.9311%. Comparing base (d13aa33) to head (0101bd1).
⚠️ Report is 14 commits behind head on 8.0.x.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##                8.0.x     #16477        +/-   ##
==================================================
+ Coverage     58.9274%   58.9311%   +0.0037%     
- Complexity      24440      24444         +4     
==================================================
  Files            2174       2174                
  Lines          107366     107366                
  Branches        19557      19557                
==================================================
+ Hits            63268      63272         +4     
+ Misses          35235      35232         -3     
+ Partials         8863       8862         -1     

see 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jdaugherty
jdaugherty merged commit 9a2291b into apache:8.0.x Oct 2, 2026
87 of 88 checks passed
@matrei
matrei deleted the docs/guide-cross-chapter-links-8.0.x branch October 4, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants