Skip to content

Commit 5094751

Browse files
committedDec 31, 2024·
Add logo
1 parent ae10b87 commit 5094751

File tree

3 files changed

+35
-3
lines changed

3 files changed

+35
-3
lines changed
 

‎docs/assets/logo.png

30.5 KB
Loading

‎docs/source/conf.py

+32
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,39 @@
3434
# -- Options for HTML output -------------------------------------------------
3535
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
3636

37+
html_title = project
3738
html_theme = "sphinxawesome_theme"
3839
html_theme_options = {
3940
"show_scrolltop": True,
41+
"extra_header_link_icons": {
42+
"repository on GitHub": {
43+
"link": "https://github.com/judge0/judge0-python",
44+
"icon": (
45+
'<svg height="26px" style="margin-top:-2px;display:inline" '
46+
'viewBox="0 0 45 44" '
47+
'fill="currentColor" xmlns="http://www.w3.org/2000/svg">'
48+
'<path fill-rule="evenodd" clip-rule="evenodd" '
49+
'd="M22.477.927C10.485.927.76 10.65.76 22.647c0 9.596 6.223 17.736 '
50+
"14.853 20.608 1.087.2 1.483-.47 1.483-1.047 "
51+
"0-.516-.019-1.881-.03-3.693-6.04 "
52+
"1.312-7.315-2.912-7.315-2.912-.988-2.51-2.412-3.178-2.412-3.178-1.972-1.346.149-1.32.149-1.32 " # noqa
53+
"2.18.154 3.327 2.24 3.327 2.24 1.937 3.318 5.084 2.36 6.321 "
54+
"1.803.197-1.403.759-2.36 "
55+
"1.379-2.903-4.823-.548-9.894-2.412-9.894-10.734 "
56+
"0-2.37.847-4.31 2.236-5.828-.224-.55-.969-2.759.214-5.748 0 0 "
57+
"1.822-.584 5.972 2.226 "
58+
"1.732-.482 3.59-.722 5.437-.732 1.845.01 3.703.25 5.437.732 "
59+
"4.147-2.81 5.967-2.226 "
60+
"5.967-2.226 1.185 2.99.44 5.198.217 5.748 1.392 1.517 2.232 3.457 "
61+
"2.232 5.828 0 "
62+
"8.344-5.078 10.18-9.916 10.717.779.67 1.474 1.996 1.474 4.021 0 "
63+
"2.904-.027 5.247-.027 "
64+
"5.96 0 .58.392 1.256 1.493 1.044C37.981 40.375 44.2 32.24 44.2 "
65+
'22.647c0-11.996-9.726-21.72-21.722-21.72" '
66+
'fill="currentColor"/></svg>'
67+
),
68+
},
69+
},
4070
}
4171
html_show_sphinx = False
4272
html_sidebars = {
@@ -46,6 +76,8 @@
4676
"versioning.html",
4777
],
4878
}
79+
html_logo = "../assets/logo.png"
80+
html_favicon = html_logo
4981
pygments_style = "sphinx"
5082

5183
sys.path.insert(0, os.path.abspath("../../src/")) # Adjust as needed

‎docs/source/index.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
===============================
2-
Judge0 Python SDK documentation
3-
===============================
1+
=================
2+
Judge0 Python SDK
3+
=================
44

55
Getting Started
66
===============

0 commit comments

Comments
 (0)
Please sign in to comment.