diff --git a/DOCS/Makefile b/Makefile similarity index 100% rename from DOCS/Makefile rename to Makefile diff --git a/DOCS/conf.py b/conf.py similarity index 71% rename from DOCS/conf.py rename to conf.py index 7bfb038e..e5d740af 100644 --- a/DOCS/conf.py +++ b/conf.py @@ -7,32 +7,16 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information project = 'swarms' -copyright = '2023, Kye Gomez / Agora' -author = 'Kye Gomez / Agora' +copyright = '2023, Kye Gomez' +author = 'Kye Gomez' # -- 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 = [ 'sphinx_rtd_theme', + 'myst_parser', ] - templates_path = ['_templates'] exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] @@ -43,10 +27,9 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] html_theme = "sphinx_rtd_theme" html_static_path = ['_static'] -html_theme_path = ["_themes", ] 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, 'logo_only': False, 'display_version': True, diff --git a/DOCS/index.rst b/index.rst similarity index 88% rename from DOCS/index.rst rename to index.rst index 72dcfbaf..87243a35 100644 --- a/DOCS/index.rst +++ b/index.rst @@ -1,5 +1,5 @@ .. 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 contain the root `toctree` directive. diff --git a/DOCS/make.bat b/make.bat similarity index 100% rename from DOCS/make.bat rename to make.bat diff --git a/requirements.txt b/requirements.txt index cbac674b..ab46b6d2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -107,4 +107,6 @@ pytesseract huggingface_hub fastapi_cache -fastapi-limiter \ No newline at end of file +fastapi-limiter + +sphinx_rtd_theme \ No newline at end of file diff --git a/setup.py b/setup.py index b9f15257..5d0b009f 100644 --- a/setup.py +++ b/setup.py @@ -32,6 +32,7 @@ setup( 'faiss-cpu', 'wget==3.2', 'accelerate', + 'sphinx_rtd_theme', 'addict', 'albumentations', 'basicsr',