| |
| |
| |
| |
|
|
| |
| |
| import os |
| import sys |
|
|
| sys.path.insert(0, os.path.abspath("..")) |
| sys.path.insert(0, os.path.abspath("../..")) |
|
|
| project = 'BGE' |
| copyright = '2024, BAAI' |
| author = 'BAAI' |
|
|
| |
| |
|
|
| extensions = [ |
| "sphinx.ext.napoleon", |
| "sphinx.ext.autodoc", |
| "sphinx.ext.githubpages", |
| "sphinx.ext.viewcode", |
| "sphinx.ext.coverage", |
| "sphinx_design", |
| "myst_nb", |
| "sphinxcontrib.googleanalytics", |
| ] |
|
|
| templates_path = ['_templates'] |
| exclude_patterns = [] |
|
|
| |
| |
|
|
| |
| html_theme = "pydata_sphinx_theme" |
| html_logo = "_static/img/bge_logo.jpeg" |
| html_static_path = ['_static'] |
| html_css_files = ["css/custom.css"] |
|
|
| |
| nb_execution_mode = "off" |
|
|
| html_theme_options = { |
| "logo": { |
| "text": "BGE", |
| }, |
| "external_links": [ |
| { |
| "url": "https://huggingface.co/collections/BAAI/bge-66797a74476eb1f085c7446d", |
| "name": "HF Models", |
| }, |
| ], |
| "icon_links":[ |
| { |
| "name": "GitHub", |
| "url": "https://github.com/FlagOpen/FlagEmbedding", |
| "icon": "fa-brands fa-github", |
| }, |
| { |
| "name": "PyPI", |
| "url": "https://pypi.org/project/FlagEmbedding/", |
| "icon": "fa-brands fa-python", |
| }, |
| { |
| "name": "HF Models", |
| "url": "https://huggingface.co/collections/BAAI/bge-66797a74476eb1f085c7446d", |
| "icon": "fa-solid fa-cube", |
| } |
| ], |
| "navigation_depth": 5, |
| "header_links_before_dropdown": 5, |
| } |
|
|
| html_context = { |
| "default_mode": "light" |
| } |
|
|
| googleanalytics_id = 'G-X4B1E1Q35K' |