Skip to content

[docs] Migrate documentation from Hugo to Docusaurus - #4593

Merged
yuxiqian merged 6 commits into
apache:masterfrom
yuxiqian:docusaurus-migration
Oct 26, 2026
Merged

yuxiqian merged 6 commits into
apache:masterfrom
yuxiqian:docusaurus-migration

Conversation

@yuxiqian

@yuxiqian yuxiqian commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

What is the purpose of this pull request?

Like apache/paimon#7922, migrate the master documentation from Hugo to Docusaurus with the following improvements:

  • A better, more modern appearance
  • Enhanced searching & navigating experience
  • Keep familiar UI, color, and navigation look

This only affects master (and the next 3.8 release). Previously released docs will not change at all.

I've deployed it on my forked GitHub pages. Feel free to review and leave any comments on this change.

Highlights

Modern but familiar look

I keep the original Apache Flink docs style (Hugo book), but clearer and more modern.

image

Also, it would be easier to write documentations in Docusaurus in the future.

Faster, more convenient documentation search:

before

previous version, requires 5 seconds to load, no detailed context or "all results" page

after

new version, instant search result, clear and highlighted results

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?
  • Yes — OpenAI Codex

Generated-by: Codex 0.163.0

@yuxiqian yuxiqian changed the title [docs] [docs] Migrate documentation from Hugo to Docusaurus Oct 23, 2026
@github-actions github-actions Bot added docs Improvements or additions to documentation build labels Oct 23, 2026
@yuxiqian
yuxiqian force-pushed the docusaurus-migration branch from fb8fe5b to bce7781 Compare October 23, 2026 08:32
Move Chinese pages to the Docusaurus locale directory and rename Hugo
section indexes without changing file contents.

Generated-by: Codex 0.163.0
Replace Hugo templates and shortcodes with a bilingual static site.
Preserve page URLs and add local search, version interpolation, and
a sidebar layout with a light code theme.

Generated-by: Codex 0.163.0
Build master and its release alias with Node.js, then append Maven
Javadoc. Historical branches keep their original Hugo build scripts.

Generated-by: Codex 0.163.0
Comment thread .github/workflows/build_docs.yml Outdated
Commit the npm lockfile and use npm ci for local and CI documentation builds.

Generated-by: Codex 0.164.0
Use Docusaurus navbar navigation while retaining localized links to historical documentation.

Generated-by: Codex 0.164.0

@leonardBang leonardBang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @yuxiqian for the update, +1

@yuxiqian

Copy link
Copy Markdown
Member Author

Thank you for reviewing this, will merge it after CI passes to avoid conflicts.

@yuxiqian
yuxiqian merged commit b806d26 into apache:master Oct 26, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants