update docs

This commit is contained in:
ZiyiXia 2025-01-03 07:18:43 +00:00
parent a995448fc9
commit 049882837f
5 changed files with 14 additions and 16 deletions

View File

Before

Width:  |  Height:  |  Size: 225 KiB

After

Width:  |  Height:  |  Size: 225 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 MiB

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

@ -1,6 +1,10 @@
BGE
===
.. figure:: ../_static/img/bge_logo.jpeg
:width: 250
:align: center
**BGE** stands for **BAAI General Embeddings**, which is a series of embedding models released by BAAI.
.. toctree::

View File

@ -11,7 +11,7 @@ import sys
sys.path.insert(0, os.path.abspath(".."))
sys.path.insert(0, os.path.abspath("../.."))
project = 'FlagEmbedding'
project = 'BGE'
copyright = '2024, BAAI'
author = 'BAAI'
@ -36,24 +36,17 @@ exclude_patterns = []
# html_theme = 'furo'
html_theme = "pydata_sphinx_theme"
html_logo = "_static/img/bge-logo.jpeg"
html_title = "BGE"
html_logo = "_static/img/bge_logo.jpeg"
html_static_path = ['_static']
html_css_files = ["css/custom.css"]
html_theme_options = {
"light_logo": "_static/img/bge-logo.jpeg",
"dark_logo": "_static/img/bge-logo.jpeg",
# "logo": {
# "text": "BGE",
# "image_dark": "_static/img/bge-logo.jpeg",
# },
"navigation_depth": 5,
}
# MyST-NB conf
nb_execution_mode = "off"
html_theme_options = {
"logo": {
"text": "BGE",
},
"external_links": [
{
"url": "https://huggingface.co/collections/BAAI/bge-66797a74476eb1f085c7446d",
@ -77,6 +70,7 @@ html_theme_options = {
"icon": "fa-solid fa-cube",
}
],
"navigation_depth": 5,
"header_links_before_dropdown": 5,
}

View File

@ -6,12 +6,12 @@
:html_theme.sidebar_secondary.remove: True
BGE
===
Welcome to BGE!
===============
Welcome to BGE documentation!
.. Welcome to BGE documentation!
.. figure:: _static/img/bge_logo.jpg
.. figure:: _static/img/bge_panda.jpg
:width: 400
:align: center