Fixed broken API links in batch.adoc

This is a fix for https://github.com/spring-projects/spring-boot/issues/40039

In main branch I found /api/ is there but /org/springframework/batch is missing. Check: https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot-dependencies/build.gradle#L1824

So the broken URL was like: https://docs.spring.io/spring-batch/docs/5.1.1/api/core/configuration/annotation/EnableBatchProcessing.html

This PR fixed the issue in main branch, I tested locally. Thanks

Comment From: scottfrederick

This will need a different fix for 3.2.x, which doesn't have the build metadata for links.

Comment From: nahidshahin

@scottfrederick what if I change the batch.adoc itself? Please check b6d9110285c997ceca39f654dbe9bf55bea6034f Thanks

Comment From: scottfrederick

@nahidshahin I do think having just up to the /api part of the URL in the build metadata, and the org/springframework/batch part in the adoc file, is better. The bigger issue is that the location of these adoc files and the way we set up the base URLs has changed recently as part of the move to Antora-based documentation. We want to fix this issue starting in Spring Boot 3.2 and the forward-merge it to the latest branch, so we'll essentially have to make two different changes. We can handle that as part of our merging process, so nothing more for you to do there. Thanks!

Comment From: wilkinsona

Thanks very much, @nahidshahin.