thheme works

Former-commit-id: 07966336e8
huggingface
Kye 1 year ago
parent 870f5021de
commit 23f3f11c87

@ -7,32 +7,16 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = 'swarms' project = 'swarms'
copyright = '2023, Kye Gomez / Agora' copyright = '2023, Kye Gomez'
author = 'Kye Gomez / Agora' author = 'Kye Gomez'
# -- General configuration --------------------------------------------------- # -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
# extensions = []
# templates_path = ['_templates']
# exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
# html_theme = 'alabaster'
# html_static_path = ['_static']
extensions = [ extensions = [
'sphinx_rtd_theme', 'sphinx_rtd_theme',
'myst_parser',
] ]
templates_path = ['_templates'] templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
@ -43,10 +27,9 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
html_theme = "sphinx_rtd_theme" html_theme = "sphinx_rtd_theme"
html_static_path = ['_static'] html_static_path = ['_static']
html_theme_path = ["_themes", ]
html_theme_options = { html_theme_options = {
'analytics_id': 'G-XXXXXXXXXX', # Provided by Google in your dashboard # 'analytics_id': 'G-XXXXXXXXXX', # Provided by Google in your dashboard
'analytics_anonymize_ip': False, 'analytics_anonymize_ip': False,
'logo_only': False, 'logo_only': False,
'display_version': True, 'display_version': True,

@ -1,5 +1,5 @@
.. swarms documentation master file, created by .. swarms documentation master file, created by
sphinx-quickstart on Mon Jul 24 00:33:43 2023. sphinx-quickstart on Mon Jul 24 08:40:10 2023.
You can adapt this file completely to your liking, but it should at least You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive. contain the root `toctree` directive.

@ -107,4 +107,6 @@ pytesseract
huggingface_hub huggingface_hub
fastapi_cache fastapi_cache
fastapi-limiter fastapi-limiter
sphinx_rtd_theme

@ -32,6 +32,7 @@ setup(
'faiss-cpu', 'faiss-cpu',
'wget==3.2', 'wget==3.2',
'accelerate', 'accelerate',
'sphinx_rtd_theme',
'addict', 'addict',
'albumentations', 'albumentations',
'basicsr', 'basicsr',

Loading…
Cancel
Save