doc: move all js files to _static/js
Move all Javascript files to the _static/js subfolder.
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
diff --git a/doc/_static/ga-tracker.js b/doc/_static/js/ga-tracker.js
similarity index 100%
rename from doc/_static/ga-tracker.js
rename to doc/_static/js/ga-tracker.js
diff --git a/doc/scorer.js b/doc/_static/js/scorer.js
similarity index 100%
rename from doc/scorer.js
rename to doc/_static/js/scorer.js
diff --git a/doc/_static/zephyr-custom.js b/doc/_static/js/zephyr-custom.js
similarity index 100%
rename from doc/_static/zephyr-custom.js
rename to doc/_static/js/zephyr-custom.js
diff --git a/doc/conf.py b/doc/conf.py
index 48a3ad0..fbe306c 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -278,7 +278,7 @@
# The name of a javascript file (relative to the configuration directory) that
# implements a search results scorer. If empty, the default will be used.
-html_search_scorer = 'scorer.js'
+html_search_scorer = '_static/js/scorer.js'
# Output file base name for HTML help builder.
htmlhelp_basename = 'zephyrdoc'
@@ -582,5 +582,5 @@
app.add_css_file("zephyr-custom.css")
app.add_js_file("https://www.googletagmanager.com/gtag/js?id=UA-831873-47")
- app.add_js_file("ga-tracker.js")
- app.add_js_file("zephyr-custom.js")
+ app.add_js_file("js/ga-tracker.js")
+ app.add_js_file("js/zephyr-custom.js")