From 9875cb7b788334e8c95b95ee990ec0276fb2ceac Mon Sep 17 00:00:00 2001 From: Renjie Liu Date: Mon, 23 Oct 2023 11:39:14 +0800 Subject: [PATCH] feat: Add catalog in docs --- docs/config.toml | 2 ++ iceberg-theme/static/css/iceberg-theme.css | 2 +- landing-page/config.toml | 2 ++ landing-page/content/common/catalog.md | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/config.toml b/docs/config.toml index be2f37f19..214ea09d8 100644 --- a/docs/config.toml +++ b/docs/config.toml @@ -55,6 +55,8 @@ home = [ "HTML", "RSS", "SearchIndex" ] { name = "Multi-Engine Support", parent = "Project", pre = "relative", url = "../../multi-engine-support", weight = 450 }, { name = "How To Release", parent = "Project", pre = "relative", url = "../../how-to-release", weight = 500 }, { name = "Terms", parent = "Project", pre = "relative", url = "../../terms", weight = 600 }, + { name = "Concepts", weight = 1150 }, + { name = "Catalogs", parent = "Concepts", pre = "relative", url = "../../catalog" }, { name = "ASF", weight = 1200 }, { name = "License", identifier = "_license", parent = "ASF", url = "https://www.apache.org/licenses/" }, { name = "Security", identifier = "_security", parent = "ASF", url = "https://www.apache.org/security/" }, diff --git a/iceberg-theme/static/css/iceberg-theme.css b/iceberg-theme/static/css/iceberg-theme.css index ec58c7fc8..9a31db317 100644 --- a/iceberg-theme/static/css/iceberg-theme.css +++ b/iceberg-theme/static/css/iceberg-theme.css @@ -439,7 +439,7 @@ i.fa.fa-chevron-down { .navbar-pages-group { justify-content: end; margin-left: auto; - max-width: 720px; + max-width: 1080px; position: relative; } diff --git a/landing-page/config.toml b/landing-page/config.toml index fa5117fc5..7907d7e52 100644 --- a/landing-page/config.toml +++ b/landing-page/config.toml @@ -66,6 +66,8 @@ home = [ "HTML", "RSS", "SearchIndex" ] { name = "Multi-Engine Support", url = "/multi-engine-support", parent = "Project", weight = 450 }, { name = "How To Release", parent = "Project", url = "/how-to-release", weight = 500 }, { name = "Terms", url = "/terms", parent = "Project", weight = 600 }, + { name = "Concepts", weight = 1150 }, + { name = "Catalogs", parent = "Concepts", pre = "relative", url = "/catalog" }, { name = "ASF", weight = 1200 }, { name = "License", identifier = "_license", parent = "ASF", url = "https://www.apache.org/licenses/" }, { name = "Security", identifier = "_security", parent = "ASF", url = "https://www.apache.org/security/" }, diff --git a/landing-page/content/common/catalog.md b/landing-page/content/common/catalog.md index c900479e4..e573ede1b 100644 --- a/landing-page/content/common/catalog.md +++ b/landing-page/content/common/catalog.md @@ -1,6 +1,6 @@ --- title: "Iceberg Catalogs" -url: concepts/catalog +url: catalog disableSidebar: true ---