diff --git a/docs/source/conf.py b/docs/source/conf.py index d93048a..144baf0 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -35,8 +35,11 @@ # html_theme = 'classic' # html_theme = "sphinx_rtd_theme" html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] -html_static_path = ["_static"] - +html_static_path = ["static"] +html_js_files = [ + 'dify.js', + ('https://udify.app/embed.min.js', {'defer': 'true',"id":'fQEsdVSPPy5MKVgo'}), +] html_theme_options = { "top_of_page_button": "edit", "sidebar_hide_name": True, @@ -55,7 +58,6 @@ source_suffix = [".rst", ".md"] - project_path = "../../geochemistrypi" # autodoc_mock_imports = ["geochemistrypi"] sys.path.insert(0, os.path.abspath("../..")) diff --git a/docs/source/static/dify.js b/docs/source/static/dify.js new file mode 100644 index 0000000..5881bd9 --- /dev/null +++ b/docs/source/static/dify.js @@ -0,0 +1,4 @@ + +window.difyChatbotConfig = { + token: 'fQEsdVSPPy5MKVgo' +} \ No newline at end of file