diff --git a/docs/requirements.txt b/docs/requirements.txt index 73f3e54d..874e5366 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,7 +1,6 @@ pyston_lite-autoload sphinx sphinx_rtd_theme==1.0.0 -sphinx-rtd-dark-mode sphinx_copybutton sphinx-autobuild tgcrypto diff --git a/docs/source/_includes/usable-by/bots.rst b/docs/source/_includes/usable-by/bots.rst deleted file mode 100644 index a54a754d..00000000 --- a/docs/source/_includes/usable-by/bots.rst +++ /dev/null @@ -1,5 +0,0 @@ -.. raw:: html - - Usable by - Users - Bots diff --git a/docs/source/_includes/usable-by/users-bots.rst b/docs/source/_includes/usable-by/users-bots.rst deleted file mode 100644 index 50b87907..00000000 --- a/docs/source/_includes/usable-by/users-bots.rst +++ /dev/null @@ -1,5 +0,0 @@ -.. raw:: html - - Usable by - Users - Bots diff --git a/docs/source/_includes/usable-by/users.rst b/docs/source/_includes/usable-by/users.rst deleted file mode 100644 index 5b09bd54..00000000 --- a/docs/source/_includes/usable-by/users.rst +++ /dev/null @@ -1,5 +0,0 @@ -.. raw:: html - - Usable by - Users - Bots diff --git a/docs/source/_static/css/my.css b/docs/source/_static/css/my.css deleted file mode 100644 index f82f885e..00000000 --- a/docs/source/_static/css/my.css +++ /dev/null @@ -1,3 +0,0 @@ -.pre{ - color: #bfbfbf; -} \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index 3dcd9cdb..0f2b0086 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -39,8 +39,7 @@ extensions = [ "sphinx.ext.napoleon", "sphinx.ext.autosummary", "sphinx.ext.intersphinx", - "sphinx_copybutton", - "sphinx_rtd_dark_mode" + "sphinx_copybutton" ] intersphinx_mapping = { @@ -65,7 +64,7 @@ suppress_warnings = ["image.not_readable"] html_title = "PyroFork Documentation" html_theme = "sphinx_rtd_theme" -html_static_path = ["../resources/static","_static"] +html_static_path = ["../resources/static"] html_show_sourcelink = True html_show_copyright = False html_theme_options = { @@ -91,9 +90,3 @@ latex_elements = { \setmonofont{Ubuntu Mono} """ } - -html_css_files = [ - "css/my.css", - "https://docs.pyrogram.org/_static/css/custom.css", - "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css", -] \ No newline at end of file