From 3808cf0a431358fdf207179c037747f982c295bf Mon Sep 17 00:00:00 2001 From: 12LuA <71656192+12LuA@users.noreply.github.com> Date: Mon, 12 Jan 2026 12:37:12 +0100 Subject: [PATCH 01/10] meta: add .venv to .gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f70051c..0cf458d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ dist/ .vscode/ .coverage coverage* -junit.xml \ No newline at end of file +junit.xml +.venv/ \ No newline at end of file From 5a57e638bf9d2fca745f49edd7603106d76e699b Mon Sep 17 00:00:00 2001 From: 12LuA <71656192+12LuA@users.noreply.github.com> Date: Mon, 12 Jan 2026 13:07:03 +0100 Subject: [PATCH 02/10] chore: add topstats banner --- docs/_static/banner-dark-mode.svg | 1 + docs/_static/banner-light-mode.svg | 15 +++++++++++++++ docs/conf.py | 5 +++++ 3 files changed, 21 insertions(+) create mode 100644 docs/_static/banner-dark-mode.svg create mode 100644 docs/_static/banner-light-mode.svg diff --git a/docs/_static/banner-dark-mode.svg b/docs/_static/banner-dark-mode.svg new file mode 100644 index 0000000..73186ad --- /dev/null +++ b/docs/_static/banner-dark-mode.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/_static/banner-light-mode.svg b/docs/_static/banner-light-mode.svg new file mode 100644 index 0000000..175d019 --- /dev/null +++ b/docs/_static/banner-light-mode.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/docs/conf.py b/docs/conf.py index 06858ed..ec10723 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -36,5 +36,10 @@ ] html_js_files = ['script.js'] html_static_path = ['_static'] +html_theme_options = { + "light_logo": "banner-light-mode.svg", + "dark_logo": "banner-dark-mode.svg", + "sidebar_hide_name": True, +} html_theme = 'furo' html_title = project From b7c22947c55a108996845f417fecee4963156ee9 Mon Sep 17 00:00:00 2001 From: 12LuA <71656192+12LuA@users.noreply.github.com> Date: Mon, 12 Jan 2026 13:22:21 +0100 Subject: [PATCH 03/10] meta: remove "edit" button to top of page --- docs/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/conf.py b/docs/conf.py index ec10723..db8d927 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -40,6 +40,7 @@ "light_logo": "banner-light-mode.svg", "dark_logo": "banner-dark-mode.svg", "sidebar_hide_name": True, + "top_of_page_buttons": None, } html_theme = 'furo' html_title = project From 56f72ef88cfa4e8cc95aa192be0e4983e3f9660d Mon Sep 17 00:00:00 2001 From: 12LuA <71656192+12LuA@users.noreply.github.com> Date: Mon, 12 Jan 2026 13:29:13 +0100 Subject: [PATCH 04/10] meta: restore "edit" button to top of page --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index db8d927..b1c1dfc 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -40,7 +40,7 @@ "light_logo": "banner-light-mode.svg", "dark_logo": "banner-dark-mode.svg", "sidebar_hide_name": True, - "top_of_page_buttons": None, + "top_of_page_buttons": ["edit"], } html_theme = 'furo' html_title = project From eeb494b7a59ff938fea2914ca9f29327f553d1ec Mon Sep 17 00:00:00 2001 From: 12LuA <71656192+12LuA@users.noreply.github.com> Date: Mon, 12 Jan 2026 13:38:18 +0100 Subject: [PATCH 05/10] meta: update copyright year to 2026 in license files --- LICENSE | 2 +- topstats/__init__.py | 4 ++-- topstats/bot.py | 2 +- topstats/client.py | 2 +- topstats/data.py | 2 +- topstats/errors.py | 2 +- topstats/ratelimiter.py | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/LICENSE b/LICENSE index 0559216..14fa8a3 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ The MIT License (MIT) Copyright (c) 2020 Arthurdw -Copyright (c) 2024-2025 null8626 +Copyright (c) 2024-2026 null8626 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/topstats/__init__.py b/topstats/__init__.py index 2e83bcd..2826acb 100644 --- a/topstats/__init__.py +++ b/topstats/__init__.py @@ -2,7 +2,7 @@ The MIT License (MIT) Copyright (c) 2020 Arthurdw -Copyright (c) 2024-2025 null8626 +Copyright (c) 2024-2026 null8626 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -43,7 +43,7 @@ __maintainer__ = __author__ __status__ = 'Production' __license__ = 'MIT' -__copyright__ = 'Copyright (c) 2020 Arthurdw; Copyright (c) 2024-2025 null8626' +__copyright__ = 'Copyright (c) 2020 Arthurdw; Copyright (c) 2024-2026 null8626' __version__ = VERSION __all__ = ( 'Bot', diff --git a/topstats/bot.py b/topstats/bot.py index 3c30b8f..eac6002 100644 --- a/topstats/bot.py +++ b/topstats/bot.py @@ -2,7 +2,7 @@ The MIT License (MIT) Copyright (c) 2020 Arthurdw -Copyright (c) 2024-2025 null8626 +Copyright (c) 2024-2026 null8626 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/topstats/client.py b/topstats/client.py index 54f8f42..bc5b1cb 100644 --- a/topstats/client.py +++ b/topstats/client.py @@ -2,7 +2,7 @@ The MIT License (MIT) Copyright (c) 2020 Arthurdw -Copyright (c) 2024-2025 null8626 +Copyright (c) 2024-2026 null8626 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/topstats/data.py b/topstats/data.py index 1f7c975..6ff694f 100644 --- a/topstats/data.py +++ b/topstats/data.py @@ -2,7 +2,7 @@ The MIT License (MIT) Copyright (c) 2020 Arthurdw -Copyright (c) 2024-2025 null8626 +Copyright (c) 2024-2026 null8626 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/topstats/errors.py b/topstats/errors.py index 6ca17c3..bedf9e0 100644 --- a/topstats/errors.py +++ b/topstats/errors.py @@ -2,7 +2,7 @@ The MIT License (MIT) Copyright (c) 2020 Arthurdw -Copyright (c) 2024-2025 null8626 +Copyright (c) 2024-2026 null8626 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/topstats/ratelimiter.py b/topstats/ratelimiter.py index c6d1898..5c420f0 100644 --- a/topstats/ratelimiter.py +++ b/topstats/ratelimiter.py @@ -2,7 +2,7 @@ The MIT License (MIT) Copyright (c) 2020 Arthurdw -Copyright (c) 2024-2025 null8626 +Copyright (c) 2024-2026 null8626 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From 3d33c867841ccf1f5635ac8e09bbc7eec1d72b1a Mon Sep 17 00:00:00 2001 From: 12LuA <71656192+12LuA@users.noreply.github.com> Date: Mon, 12 Jan 2026 13:43:25 +0100 Subject: [PATCH 06/10] feat: add favicon to documentation --- docs/_static/favicon.ico | Bin 0 -> 15086 bytes docs/conf.py | 1 + 2 files changed, 1 insertion(+) create mode 100644 docs/_static/favicon.ico diff --git a/docs/_static/favicon.ico b/docs/_static/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..cb9bd622e0c7ad63efae64809f49ffc3c30906df GIT binary patch literal 15086 zcmd6u3yfS<8OQI^)gme_-~&O~DiBbCpiu*;ZLuLH3TRMMk!J~l291gdLLhX2c6aW* z+ig?8I-NUrx-HLw3T=33B3+0IQeGB$rEGV0UfXUTv^*PJI{yCW&Yit8JG1YtOnQ3m zJ@=gN`+wj0zVrCbS<7m&rdcPSY?05h?mE`8zGhk0tXbvvnU=MMvYF)i{e4 zmvU|?B%LezRhtBgs&T#SYkf+wz0a`TSfeelK+P(Dn`JY|DAh zWAwp|*<}2C*%gaV=>2`$AtTWn?RU{KG`;v)@V*Lu>q!}&-z4oprh5v>w)vZHiybVC zjpzp0-37FLgf?#&?7s6rZ_>Femx!O3zoqrCt*hM+zpys;!QtpMqTi@ov_w<1B}=d0 z_PK&@FDRtkM)UO~t=K+fmt*>Z*;}iblb6Z-(AA*!&N2N%y2Z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-Qz9ah?OpWbN zZKJ<32Kpkfhhn1j_<*;~JyK`=mRlCJ6um_)&|c5j+O2Qqj*jUUCtDxG==lpvU=OYz z_=Uq7U*n^DPbO)9-mKM_LyJ742g&@hFqkvyl>IZ_bEJsudLA2p+2q!w`&nXEx^KHP zo3!uNInLU(KdPK3=-J%OOWAh|gVryK^>R=6LiAFs#xOSi(t-BR+qmzVOUBPPXGnF< z0~G%^7|;W{%7OQ$7l^;-{kCsqJ^TBWlyHs~&C2+zyQ}5-N9B!v!l3v(w1k znTenK_QS#;J(xAF&SE|1>!KI(XM8yh`FCr*t+mm3cr|JhU~uk(7k6XryXlj^*V?~{ z@da_>KH07Ow-LSZl)t(b%6<@+y56)40Q@3EPAETRIPuWEIb_|Mje2&Hk&OwHbG^qt{ulG=Y6+j z&Bzdr=$bPyEjIJOCTr$_{L$CYG;8L8&GphLlz)RX+p?PHC^f~J=iJoQ-12y4pry3? zx*4T`<{71Z&BQ;NiFGu`NL_PE1MsxqZQ>M~*k_SOic=_7o%I%z7u7PqQUdU;9fl<$(6J~C@o-)%*n)`DmM&iI<| zuFEhc=$Uy!@na)@z4q!ytuqzxgvK>5v);=xpQF>K(AUOnf_n-<`^w%e%3tmE(>*2d zb|B03=;%?-K~6!&Q{nkHwMSnYc{X>K2HU%DMCZqRXX|0$y;*HbtPPaPcQV)I()Ky@ z-5=qxVe1O5gN%)48DFa6NV@M8rKx)g%z?APb-VN-eVKEspgn(c)qYMOLF4~lh{Zmr zzoSAQw_$r%n|(Fy0~>VyrTMmT>)?ylP3ZIn;oicWtUUA|_n)=T`(h)^M025kG3jK|sWC#%UBqZJ#8pYW GTK@yI`wHR! literal 0 HcmV?d00001 diff --git a/docs/conf.py b/docs/conf.py index b1c1dfc..fa58430 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -44,3 +44,4 @@ } html_theme = 'furo' html_title = project +html_favicon = '_static/favicon.ico' From e4cbde79e9484dd97fd3b4cacf7da833ddb6de18 Mon Sep 17 00:00:00 2001 From: 12LuA <71656192+12LuA@users.noreply.github.com> Date: Mon, 12 Jan 2026 13:50:52 +0100 Subject: [PATCH 07/10] feat: add GitHub footer icon to documentatin --- docs/conf.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index fa58430..108e5b7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -41,7 +41,19 @@ "dark_logo": "banner-dark-mode.svg", "sidebar_hide_name": True, "top_of_page_buttons": ["edit"], + "footer_icons": [ + { + "name": "GitHub", + "url": "https://github.com/top-stats/python-sdk", + "html": """ + + + + """, + "class": "", + }, + ], } html_theme = 'furo' html_title = project -html_favicon = '_static/favicon.ico' +html_favicon = '_static/favicon.ico' \ No newline at end of file From 1129e825b9b49d892d1e6c06b9b4309b3ea8e5ce Mon Sep 17 00:00:00 2001 From: 12LuA <71656192+12LuA@users.noreply.github.com> Date: Mon, 12 Jan 2026 13:56:05 +0100 Subject: [PATCH 08/10] fix: correct link to API token retrieval page in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e480b56..b2848e9 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A simple API wrapper for [topstats.gg](https://topstats.gg) written in Python. ## Getting started -Make sure you already have an API token handy. See [this page](https://docs.topstats.gg/authentication/tokens) on how to retrieve it. +Make sure you already have an API token handy. See [this page](https://docs.topstats.gg/docs/authentication/tokens) on how to retrieve it. After that, run the following command in your terminal: From ee412e2b850784af6eae028267f547fc61306bc2 Mon Sep 17 00:00:00 2001 From: 12LuA <71656192+12LuA@users.noreply.github.com> Date: Tue, 10 Feb 2026 17:54:38 +0100 Subject: [PATCH 09/10] style: remove redundant license text from multiple files --- topstats/__init__.py | 24 ------------------------ topstats/bot.py | 27 +++------------------------ topstats/client.py | 24 ------------------------ topstats/data.py | 24 ------------------------ topstats/errors.py | 24 ------------------------ topstats/ratelimiter.py | 24 ------------------------ 6 files changed, 3 insertions(+), 144 deletions(-) diff --git a/topstats/__init__.py b/topstats/__init__.py index 7c98690..a8ea101 100644 --- a/topstats/__init__.py +++ b/topstats/__init__.py @@ -1,27 +1,3 @@ -""" -The MIT License (MIT) - -Copyright (c) 2020 Arthurdw -Copyright (c) 2024-2026 null8626 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -""" # SPDX-License-Identifier: MIT # SPDX-FileCopyrightText: 2020 Arthurdw # SPDX-FileCopyrightText: 2024-2026 null8626 diff --git a/topstats/bot.py b/topstats/bot.py index eac6002..ea8044f 100644 --- a/topstats/bot.py +++ b/topstats/bot.py @@ -1,27 +1,6 @@ -""" -The MIT License (MIT) - -Copyright (c) 2020 Arthurdw -Copyright (c) 2024-2026 null8626 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -""" +# SPDX-License-Identifier: MIT +# SPDX-FileCopyrightText: 2020 Arthurdw +# SPDX-FileCopyrightText: 2024-2026 null8626 from datetime import datetime, timezone diff --git a/topstats/client.py b/topstats/client.py index 3416003..928a91b 100644 --- a/topstats/client.py +++ b/topstats/client.py @@ -1,27 +1,3 @@ -""" -The MIT License (MIT) - -Copyright (c) 2020 Arthurdw -Copyright (c) 2024-2026 null8626 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -""" # SPDX-License-Identifier: MIT # SPDX-FileCopyrightText: 2020 Arthurdw # SPDX-FileCopyrightText: 2024-2026 null8626 diff --git a/topstats/data.py b/topstats/data.py index 4503b3a..8d4ac5b 100644 --- a/topstats/data.py +++ b/topstats/data.py @@ -1,27 +1,3 @@ -""" -The MIT License (MIT) - -Copyright (c) 2020 Arthurdw -Copyright (c) 2024-2026 null8626 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -""" # SPDX-License-Identifier: MIT # SPDX-FileCopyrightText: 2020 Arthurdw # SPDX-FileCopyrightText: 2024-2026 null8626 diff --git a/topstats/errors.py b/topstats/errors.py index bc663fc..d003cfd 100644 --- a/topstats/errors.py +++ b/topstats/errors.py @@ -1,27 +1,3 @@ -""" -The MIT License (MIT) - -Copyright (c) 2020 Arthurdw -Copyright (c) 2024-2026 null8626 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -""" # SPDX-License-Identifier: MIT # SPDX-FileCopyrightText: 2020 Arthurdw # SPDX-FileCopyrightText: 2024-2026 null8626 diff --git a/topstats/ratelimiter.py b/topstats/ratelimiter.py index 41fe979..0454247 100644 --- a/topstats/ratelimiter.py +++ b/topstats/ratelimiter.py @@ -1,27 +1,3 @@ -""" -The MIT License (MIT) - -Copyright (c) 2020 Arthurdw -Copyright (c) 2024-2026 null8626 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -""" # SPDX-License-Identifier: MIT # SPDX-FileCopyrightText: 2020 Arthurdw # SPDX-FileCopyrightText: 2024-2026 null8626 From bb8631dba66f5fe5e4689dce5a194b683d62264b Mon Sep 17 00:00:00 2001 From: 12LuA <71656192+12LuA@users.noreply.github.com> Date: Tue, 10 Feb 2026 18:06:06 +0100 Subject: [PATCH 10/10] style: update formatting in theme options for consistency --- docs/conf.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 108e5b7..7d2a783 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -37,23 +37,23 @@ html_js_files = ['script.js'] html_static_path = ['_static'] html_theme_options = { - "light_logo": "banner-light-mode.svg", - "dark_logo": "banner-dark-mode.svg", - "sidebar_hide_name": True, - "top_of_page_buttons": ["edit"], - "footer_icons": [ - { - "name": "GitHub", - "url": "https://github.com/top-stats/python-sdk", - "html": """ + 'light_logo': 'banner-light-mode.svg', + 'dark_logo': 'banner-dark-mode.svg', + 'sidebar_hide_name': True, + 'top_of_page_buttons': ['edit'], + 'footer_icons': [ + { + 'name': 'GitHub', + 'url': 'https://github.com/top-stats/python-sdk', + 'html': """ """, - "class": "", - }, - ], + 'class': '', + }, + ], } html_theme = 'furo' html_title = project -html_favicon = '_static/favicon.ico' \ No newline at end of file +html_favicon = '_static/favicon.ico'