From f52d232186ec487fdf489c516d413a25637d4295 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Mon, 16 Nov 2020 19:25:49 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Change=20Sphinx=20theme=20to=20f?= =?UTF-8?q?uro?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- requirements.txt | 3 +-- source/assets/py.png | Bin 0 -> 695 bytes source/conf.py | 20 +++++++++----------- 3 files changed, 10 insertions(+), 13 deletions(-) create mode 100644 source/assets/py.png diff --git a/requirements.txt b/requirements.txt index 6cdad44d2..077adb580 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,6 @@ +furo==2023.9.10 sphinx==7.2.6 sphinx-autobuild==2021.3.14 sphinx-inline-tabs==2023.4.21 -python-docs-theme==2023.9 sphinx-copybutton==0.5.2 -pypa-docs-theme @ git+https://github.com/pypa/pypa-docs-theme.git sphinx-toolbox==3.5.0 diff --git a/source/assets/py.png b/source/assets/py.png new file mode 100644 index 0000000000000000000000000000000000000000..93e4a02c3d321c545898a2ebb8873c26dd8a9e5b GIT binary patch literal 695 zcmV;o0!aOdP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2iOD~ z5jY_RGbdgE00K8jL_t(I%Vm>KNL4`;hrfH@vv+$Uln|xSCTLTOHmzE;5FTwpDtJ)a zz)exE-2_34AR^i+ZCXeh7m*-F5k*FrmbSHs%rX_!{PXUec{69`w(#D(>Vd<+%=bIz zH_V)XUD5sE?K5ebbKaSDu}#Dnq^Y!3`tis9>wSO*T+WBP3wS3NNBU~*PAtw^yjZ+< zQ5yK0z%d{y@_Pz6YdL>s7$6Y^hI$}5GUX?Ns>+iCUiRP z7h|*&%kQa?wQA%pYzqpaf*4?WM!x_ygY0K@07rplx^QhGhnE)r4wbx0x11<&3V?63 z=F8ch)p6iQ88E;iumPmSZif%JIwIgKh$T3)*ab8ImGLVf;IoYtVAb11Z&@wm>96=S z)!B&hojbAPoik&f)Lp;=N!HK;X~5oyfJ49$pbcorTyADv dm$H!t;2#0MumAjv0Ga>*002ovPDHLkV1gIiH5UK? literal 0 HcmV?d00001 diff --git a/source/conf.py b/source/conf.py index c4d7a5ccc..a55343737 100644 --- a/source/conf.py +++ b/source/conf.py @@ -133,7 +133,7 @@ # show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +#pygments_style = 'sphinx' # A list of ignored prefixes for module index sorting. # modindex_common_prefix = [] @@ -150,16 +150,14 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'pypa_theme' +html_theme = 'furo' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. html_theme_options = { - 'collapsiblesidebar': True, - 'externalrefs': True, - 'navigation_depth': 2, - 'issues_url': github_repo_issues_url, + "sidebar_hide_name": True, + # 'issues_url': github_repo_issues_url, # FIXME: support this in furo? } # Add any paths that contain custom themes here, relative to this directory. @@ -177,7 +175,7 @@ # The name of an image file (relative to this directory) to place at the top # of the sidebar. # -# html_logo = None +html_logo = 'assets/py.png' # The name of an image file (relative to this directory) to use as a favicon of # the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 @@ -211,10 +209,10 @@ # # Custom sidebar templates, filenames relative to this file. -html_sidebars = { - '**': ['globaltoc.html', 'relations.html'], - 'index': ['globaltoc.html'] -} +# html_sidebars = { +# '**': ['globaltoc.html', 'relations.html'], +# 'index': ['globaltoc.html'] +# } # Additional templates that should be rendered to pages, maps page names to # template names.