You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by ji...@apache.org on 2022/05/06 14:34:27 UTC
[incubator-hugegraph-doc] 04/26: update menu
This is an automated email from the ASF dual-hosted git repository.
jin pushed a commit to branch website
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git
commit 0534962704c55e9d137a428510ffe02703fd2fe2
Author: imbajin <ji...@apache.org>
AuthorDate: Thu Apr 21 21:34:03 2022 +0800
update menu
---
config.toml | 29 ++++++++++++++++++++++++++---
1 file changed, 26 insertions(+), 3 deletions(-)
diff --git a/config.toml b/config.toml
index d49dfb1..8bc8e55 100644
--- a/config.toml
+++ b/config.toml
@@ -19,6 +19,29 @@ enableGitInfo = true
# Comment out to enable taxonomies in Docsy
# disableKinds = ["taxonomy", "taxonomyTerm"]
+###############################################################################
+# Hugo - Top-level navigation (horizontal)
+###############################################################################
+[menu]
+ [[menu.main]]
+ name = "Documentation"
+ weight = -101
+ pre = "<i class='fas fa-book pr-2'></i>"
+ url = "/docs/"
+ [[menu.main]]
+ name = "Blog"
+ weight = 100
+ hidden = true
+ #pre = "<i class='fas fa-rss pr-2'></i>"
+ #url = "https://blog.kubeflow.org/"
+ [[menu.main]]
+ name = "GitHub"
+ weight = -99
+ pre = "<i class='fab fa-github pr-2'></i>"
+ url = "https://github.com/apache/incubator-hugegraph"
+
+
+
# You can add your own taxonomies
[taxonomies]
tag = "tags"
@@ -137,10 +160,10 @@ github_project_repo = "https://github.com/apache/incubator-hugegraph"
# github_branch= "master"
# Google Custom Search Engine ID. Remove or comment out to disable search.
-gcs_engine_id = "d72aa9b2712488cc3"
+#gcs_engine_id = "d72aa9b2712488cc3"
# Enable Algolia DocSearch
-algolia_docsearch = true
+algolia_docsearch = false
# Enable Lunr.js offline search
offlineSearch = false
@@ -161,7 +184,7 @@ navbar_translucent_over_cover_disable = false
# Enable to show the side bar menu in its compact state.
sidebar_menu_compact = false
# Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled)
-sidebar_search_disable = false
+sidebar_search_disable = true
# Adds a H2 section titled "Feedback" to the bottom of each doc. The responses are sent to Google Analytics as events.
# This feature depends on [services.googleAnalytics] and will be disabled if "services.googleAnalytics.id" is not set.