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

jiayu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/sedona-spatialbench.git


The following commit(s) were added to refs/heads/main by this push:
     new 55bebd8  changing mkdocs, adding docs-overrides (#8)
55bebd8 is described below

commit 55bebd8f3bc19648b745e7ee07408f29c294b59b
Author: Kelly-Ann Dolor <[email protected]>
AuthorDate: Fri Sep 12 12:09:09 2025 -0700

    changing mkdocs, adding docs-overrides (#8)
    
    * changing mkdocs, adding docs-overrides
    
    * adding header with spatial bench repo
    
    * adding name
---
 docs-overrides/placeholder.txt |  0
 docs/stylesheets/extra.css     | 57 ++++++++++++++++++++++++++++++++++++++++++
 mkdocs.yml                     | 22 ++++++++++------
 3 files changed, 72 insertions(+), 7 deletions(-)

diff --git a/docs-overrides/placeholder.txt b/docs-overrides/placeholder.txt
new file mode 100644
index 0000000..e69de29
diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css
new file mode 100644
index 0000000..b197694
--- /dev/null
+++ b/docs/stylesheets/extra.css
@@ -0,0 +1,57 @@
+/* ==========================================================================
+   Global Color and Font Variables
+   ========================================================================== 
*/
+:root {
+  --color-red: #CA463A;
+  --color-white: #fff;
+  --color-dark: #1C1C1C;
+  --font-inter: "Inter",
+  sans-serif;
+}
+
+/* ==========================================================================
+   Header Styles
+   ========================================================================== 
*/
+
+/* Main header container (the top black bar) */
+.md-header {
+  box-shadow: none;
+  background-color: var(--color-dark);
+}
+
+/* Inner content of the header */
+.md-header .md-header__inner {
+  background-color: var(--color-dark);
+  min-height: 80px;
+}
+
+/* Styles for the logo image */
+.md-header .md-header__inner .header-logo img,
+.md-header .md-header__inner .header-logo svg {
+  height: 42px;
+  width: auto;
+}
+
+/* ==========================================================================
+   Navigation Tabs Styles
+   ========================================================================== 
*/
+
+/* The main navigation bar container (the red bar) */
+.md-tabs {
+  background-color: var(--color-red);
+}
+
+/* This ensures the navigation links are centered */
+.md-tabs .md-tabs__list {
+  justify-content: center;
+}
+
+/* Styles for each link in the navigation bar */
+.md-tabs__link {
+  font-family: var(--font-inter);
+  color: var(--color-white);
+
+  /* You can adjust the padding here to control spacing */
+  /* The first value is top/bottom, the second is left/right. */
+  padding: .5rem .6rem;
+}
diff --git a/mkdocs.yml b/mkdocs.yml
index 343c537..0161f57 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-site_name: SpatialBench
+site_name: Apache Sedona SpatialBench
 site_description: SpatialBench is a high-performance geospatial benchmark for 
generating synthetic spatial data at scale.
 nav:
   - Home: index.md
@@ -23,12 +23,16 @@ nav:
       - Overview: get-started/overview.md
       - Data Model: get-started/data-model.md
       - Performance: get-started/performance.md
+
+repo_url: https://github.com/apache/sedona-spatialbench/
+repo_name: apache/sedona-spatialbench
+
 theme:
   font: false
   name: 'material'
   custom_dir: docs-overrides
   palette:
-    primary: 'deep orange'
+    primary: custom
     accent: 'green'
   icon:
     logo: fontawesome/solid/earth-americas
@@ -41,9 +45,10 @@ theme:
     - search.suggest
     - navigation.footer
     - navigation.instant
+    - navigation.top
+    - navigation.sections
     - navigation.tabs
     - navigation.tabs.sticky
-    - navigation.top
 extra:
   version:
     provider: mike
@@ -57,6 +62,12 @@ extra:
     - icon: fontawesome/brands/discord
       link: 'https://discord.gg/9A3k5dEBsY'
 # (Removed Sedona-specific version variables; no replacement needed)
+extra_css:
+  - stylesheets/extra.css
+
+extra_javascript:
+  - assets/javascripts/main.min.js
+
 copyright: Copyright © 2025 The Apache Software Foundation. Apache Sedona, 
Sedona, Apache, the Apache feather logo, and the Apache Sedona project logo are 
either registered trademarks or trademarks of The Apache Software Foundation in 
the United States and other countries. All other marks mentioned may be 
trademarks or registered trademarks of their respective owners. Please visit <a 
href="https://www.apache.org/";>Apache Software Foundation</a> for more 
details.<img referrerpolicy="no-re [...]
 
 markdown_extensions:
@@ -96,7 +107,4 @@ plugins:
       type: datetime
   - mike:
       canonical_version: 'latest'
-extra_css:
-  - assets/stylesheets/extra.css
-extra_javascript:
-  - assets/javascripts/main.min.js
+

Reply via email to