This is an automated email from the ASF dual-hosted git repository.

kevinjqliu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/main by this push:
     new fab0d10e2b Docs: switch default docs version from nightly to latest 
(#16398)
fab0d10e2b is described below

commit fab0d10e2bb0724c4c685e78bc9f4875a796aa3d
Author: Maksim Konstantinov <[email protected]>
AuthorDate: Mon May 18 12:44:17 2026 -0700

    Docs: switch default docs version from nightly to latest (#16398)
---
 site/mkdocs-dev.yml | 3 ++-
 site/mkdocs.yml     | 4 ++--
 site/nav.yml        | 3 ++-
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/site/mkdocs-dev.yml b/site/mkdocs-dev.yml
index b4c68aacc3..35526c5ec5 100644
--- a/site/mkdocs-dev.yml
+++ b/site/mkdocs-dev.yml
@@ -29,8 +29,9 @@ nav:
     - Hive: hive-quickstart.md
   - Docs:
     - Java:
-      - Nightly: '!include docs/docs/nightly/mkdocs.yml'
+      # First entry determines the default landing page for the Docs tab.
       - Latest (1.10.1): '!include docs/docs/latest/mkdocs.yml'
+      - Nightly: '!include docs/docs/nightly/mkdocs.yml'
     - Other Implementations:
       - Python: https://py.iceberg.apache.org/
       - Rust: https://rust.iceberg.apache.org/
diff --git a/site/mkdocs.yml b/site/mkdocs.yml
index 424e38a184..10801380fb 100644
--- a/site/mkdocs.yml
+++ b/site/mkdocs.yml
@@ -77,9 +77,9 @@ plugins:
         'docs/nightly/daft.md': 'integrations/daft.md'
         'docs/nightly/risingwave.md': 'integrations/risingwave.md'
   - exclude-search:
-      # Index only docs/nightly/* to avoid duplicate hits across versions.
+      # Index only docs/latest/* to avoid duplicate hits across versions.
       exclude:
-        - 'docs/latest*'  # excludes latest and its children
+        - 'docs/nightly*'  # excludes nightly and its children
         - 'docs/[0-9]*'    # excludes docs/<x.y.z> and their children
 
 markdown_extensions:
diff --git a/site/nav.yml b/site/nav.yml
index dd2b0dce47..952ec9afcb 100644
--- a/site/nav.yml
+++ b/site/nav.yml
@@ -23,8 +23,9 @@ nav:
     - Hive: hive-quickstart.md
   - Docs:
     - Java:
-      - Nightly: '!include docs/docs/nightly/mkdocs.yml'
+      # First entry determines the default landing page for the Docs tab.
       - Latest (1.10.1): '!include docs/docs/latest/mkdocs.yml'
+      - Nightly: '!include docs/docs/nightly/mkdocs.yml'
       - Previous:
         - 1.10.0: '!include docs/docs/1.10.0/mkdocs.yml'
         - 1.9.2: '!include docs/docs/1.9.2/mkdocs.yml'

Reply via email to