Closed MasonXon closed 1 year ago
Does it not sending any request?
go.mod
:
module github.com/google/docsy-example
go 1.12
require (
github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2 // indirect
github.com/google/docsy v0.7.1 // indirect
github.com/twbs/bootstrap v5.3.2+incompatible // indirect
)
offline search works well on my machine.
diff from main branch:
diff --git a/hugo.toml b/hugo.toml
index 19ebd53..8ce7be3 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -141,13 +141,13 @@ github_project_repo = "https://github.com/google/docsy"
github_branch= "main"
# 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 = false
# Enable Lunr.js offline search
-offlineSearch = false
+offlineSearch = true
# Enable syntax highlighting and copy buttons on code blocks with Prism
prism_syntax_highlighting = false
What versions of these modules are you using? I found a new environment, and it really didn't work.
I only turn on offlineSearch = true
, and other params keep default
I changed two machines, it's the same phenomenon.
Did you disable gcs_engine_id
in hugo.toml?
I use the docsy-example with docsy 0.7.1 to build my site, but when I enable
offlineSearch = true
, It seems doesn't work , please ensure if bug appear again?