raminqaf opened a new pull request, #29834:
URL: https://github.com/apache/flink/pull/29834
## What is the purpose of the change
The built-in function pages planned in FLINK-41315 are generated from YAML
by a Hugo content adapter. Content adapters need Hugo 0.126 or later, and the
docs pin 0.124.1.
A `_content.gotmpl` that adds a REGEXP_EXTRACT page builds like this:
| Hugo | Output
|
|---------|----------------------------------------------------------------------------|
| 0.124.1 | Exit 0, no page. `_content.gotmpl` is copied into the site as a
plain file. |
| 0.126.3 | `regexp-extract/index.html` in en and zh, listed in the sidebar.
|
## Brief change log
- Bump Hugo in `docs/setup_hugo.sh` from v0.124.1 to v0.126.3, the latest
0.126 patch.
## Verifying this change
I built the master docs plus the 14 connector docs from `setup_docs.sh` with
both versions:
- Both exit 0. Page bodies are identical apart from random copy-button IDs
and the build timestamp.
- `<head>` differs in Hugo's generator and OpenGraph meta tags.
- 0.126.3 no longer writes an RSS feed at the zh redirect path
`zh/docs/dev/table/sql/queries/index.xml`. The redirect itself is unchanged.
Release branches keep their own pin, because `docs.yml` runs each branch's
own `setup_hugo.sh`. I didn't go to the latest Hugo because it removes
`resources.ToCSS` and `module.mounts.lang`, and that port changes zh redirects
and heading anchors. It belongs in a separate ticket.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): yes, the Hugo docs
build tool only
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: no
- The serializers: no
- The runtime per-record code paths (performance sensitive): no
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
- The S3 file system connector: no
## Documentation
- Does this pull request introduce a new feature? no
- If yes, how is the feature documented? not applicable
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes (please specify the tool below)
Generated-by: Claude Code 2.1.319 (Claude Opus 5.5)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]