You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sedona.apache.org by "jiayuasu (via GitHub)" <gi...@apache.org> on 2026/05/20 18:27:36 UTC

[PR] [DOCS] Add Chinese version of the SpatialBench website [sedona-spatialbench]

jiayuasu opened a new pull request, #100:
URL: https://github.com/apache/sedona-spatialbench/pull/100

   ## Summary
   
   - Add `mkdocs-static-i18n` plugin configuration with English (default) and Chinese (`zh`) locales, mirroring the setup used by the main Apache Sedona docs site (the `文A` language switcher).
   - Provide `.zh.md` translations for every page currently in the site navigation: `index`, `quickstart`, `overview-methodology`, `queries`, `datasets-generators`, `spatialbench-distributions`, `single-node-benchmarks`, `contributors-guide`, `release-notes`.
   - Translate navigation labels via `nav_translations`.
   - Add `mkdocs-static-i18n` to `docs/requirements.txt`.
   
   Closes #97
   
   ## Test plan
   
   - [x] `mkdocs build` completes cleanly; both `site/` (English) and `site/zh/` (Chinese) are generated.
   - [x] Language switcher renders with English / 中文 entries on every page; `<link rel="alternate" hreflang="...">` tags are emitted for both locales.
   - [x] Chinese nav labels (首页, 快速开始, 方法论, 查询, etc.) render correctly.
   - [x] Cross-page link from `datasets-generators.zh.md` into the `quickstart.zh.md` S3 section resolves to a valid anchor.
   
   ## Notes
   
   `mkdocs-static-i18n` emits a warning that its contextual language-switcher link is incompatible with `theme.features = navigation.instant`. The main Apache Sedona site has the same setup, so this PR preserves it for consistency. The switcher takes the user to the other language's site root rather than the equivalent page.
   
   A longer-term migration (e.g. to Zensical or Quarto, as discussed in the issue) is out of scope here — this PR delivers the Chinese content on the existing mkdocs-material stack.


-- 
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: issues-unsubscribe@sedona.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DOCS] Add Chinese version of the SpatialBench website [sedona-spatialbench]

Posted by "jiayuasu (via GitHub)" <gi...@apache.org>.
jiayuasu merged PR #100:
URL: https://github.com/apache/sedona-spatialbench/pull/100


-- 
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: issues-unsubscribe@sedona.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org