Skip to content
Snippets Groups Projects
Commit 098f5b9e authored by Frederik Hennig's avatar Frederik Hennig
Browse files

fix pystencils logo geometry. Add light and dark mode logos for new doc theme....

fix pystencils logo geometry. Add light and dark mode logos for new doc theme. Pin pydata theme dependency.

The pydata theme dependency is pinned to 0.15.4 to work around an issue with the sidebar overlay in 0.16; see [this discussion](https://github.com/executablebooks/sphinx-book-theme/issues/865)
parent bb19ebcb
No related branches found
No related tags found
2 merge requests!433Consolidate codegen and JIT modules.,!430Jupyter Inspection Framework, Book Theme, and Initial Drafts for Codegen Reference Guides
Pipeline #70549 passed
docs/source/_static/img/logo copy.png

9.88 KiB

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="49.310894mm"
height="48.976913mm"
viewBox="0 0 49.310894 48.976913"
version="1.1"
id="svg1"
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
sodipodi:docname="pystencils-logo-light.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#111111"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
showguides="true"
inkscape:lockguides="false"
showgrid="false"
inkscape:zoom="2.8284271"
inkscape:cx="33.410795"
inkscape:cy="140.00714"
inkscape:window-width="1920"
inkscape:window-height="1039"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1">
<inkscape:grid
id="grid4"
units="mm"
originx="4.6554451"
originy="-0.837491"
spacingx="0.99999998"
spacingy="1"
empcolor="#0099e5"
empopacity="0.30196078"
color="#0099e5"
opacity="0.14901961"
empspacing="5"
enabled="true"
visible="false" />
<sodipodi:guide
position="38.829267,-5.2751543"
orientation="1,0"
id="guide2"
inkscape:locked="false" />
<sodipodi:guide
position="10.481264,-5.2751543"
orientation="1,0"
id="guide3"
inkscape:locked="false" />
<sodipodi:guide
position="24.655266,8.8988446"
orientation="0,-1"
id="guide4"
inkscape:locked="false" />
<sodipodi:guide
position="24.655266,-19.449154"
orientation="0,-1"
id="guide5"
inkscape:locked="false" />
</sodipodi:namedview>
<defs
id="defs1">
<inkscape:path-effect
effect="spiro"
id="path-effect5"
is_visible="true"
lpeversion="0" />
<filter
y="-0.17469697"
height="1.3493938"
inkscape:menu-tooltip="Darkens the edge with an inner blur and adds a flexible glow"
inkscape:menu="Shadows and Glows"
inkscape:label="Dark And Glow"
style="color-interpolation-filters:sRGB"
id="filter4608-0"
x="-0.17469697"
width="1.3493938">
<feGaussianBlur
stdDeviation="5"
result="result6"
id="feGaussianBlur4610-2" />
<feComposite
result="result8"
in="SourceGraphic"
operator="atop"
in2="result6"
id="feComposite4612-5" />
<feComposite
result="result9"
operator="over"
in2="SourceAlpha"
in="result8"
id="feComposite4614-7" />
<feColorMatrix
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 "
result="result10"
id="feColorMatrix4616-6" />
<feBlend
in="result10"
mode="normal"
in2="result6"
id="feBlend4618-9" />
</filter>
<filter
y="-0.17469697"
height="1.3493938"
inkscape:menu-tooltip="Darkens the edge with an inner blur and adds a flexible glow"
inkscape:menu="Shadows and Glows"
inkscape:label="Dark And Glow"
style="color-interpolation-filters:sRGB"
id="filter4632-1"
x="-0.17469697"
width="1.3493938">
<feGaussianBlur
stdDeviation="5"
result="result6"
id="feGaussianBlur4634-9" />
<feComposite
result="result8"
in="SourceGraphic"
operator="atop"
in2="result6"
id="feComposite4636-8" />
<feComposite
result="result9"
operator="over"
in2="SourceAlpha"
in="result8"
id="feComposite4638-7" />
<feColorMatrix
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 "
result="result10"
id="feColorMatrix4640-6" />
<feBlend
in="result10"
mode="normal"
in2="result6"
id="feBlend4642-5" />
</filter>
<filter
y="-0.17469697"
height="1.3493938"
inkscape:menu-tooltip="Darkens the edge with an inner blur and adds a flexible glow"
inkscape:menu="Shadows and Glows"
inkscape:label="Dark And Glow"
style="color-interpolation-filters:sRGB"
id="filter4620-1"
x="-0.17469697"
width="1.3493938">
<feGaussianBlur
stdDeviation="5"
result="result6"
id="feGaussianBlur4622-1" />
<feComposite
result="result8"
in="SourceGraphic"
operator="atop"
in2="result6"
id="feComposite4624-4" />
<feComposite
result="result9"
operator="over"
in2="SourceAlpha"
in="result8"
id="feComposite4626-8" />
<feColorMatrix
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 "
result="result10"
id="feColorMatrix4628-5" />
<feBlend
in="result10"
mode="normal"
in2="result6"
id="feBlend4630-7" />
</filter>
<filter
y="-0.17469697"
height="1.3493938"
inkscape:menu-tooltip="Darkens the edge with an inner blur and adds a flexible glow"
inkscape:menu="Shadows and Glows"
inkscape:label="Dark And Glow"
style="color-interpolation-filters:sRGB"
id="filter4596-6"
x="-0.17469697"
width="1.3493938">
<feGaussianBlur
stdDeviation="5"
result="result6"
id="feGaussianBlur4598-6" />
<feComposite
result="result8"
in="SourceGraphic"
operator="atop"
in2="result6"
id="feComposite4600-9" />
<feComposite
result="result9"
operator="over"
in2="SourceAlpha"
in="result8"
id="feComposite4602-1" />
<feColorMatrix
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 "
result="result10"
id="feColorMatrix4604-4" />
<feBlend
in="result10"
mode="normal"
in2="result6"
id="feBlend4606-3" />
</filter>
<inkscape:path-effect
effect="spiro"
id="path-effect4188-5-6"
is_visible="true"
lpeversion="0" />
<inkscape:path-effect
effect="spiro"
id="path-effect4188-7"
is_visible="true"
lpeversion="0" />
<inkscape:path-effect
effect="spiro"
id="path-effect4188-5-6-3"
is_visible="true"
lpeversion="0" />
<inkscape:path-effect
effect="spiro"
id="path-effect4188-7-2"
is_visible="true"
lpeversion="0" />
<filter
y="-0.17469696"
height="1.3493939"
inkscape:menu-tooltip="Darkens the edge with an inner blur and adds a flexible glow"
inkscape:menu="Shadows and Glows"
inkscape:label="Dark And Glow"
style="color-interpolation-filters:sRGB"
id="filter4608-0-5"
x="-0.17469696"
width="1.3493939">
<feGaussianBlur
stdDeviation="5"
result="result6"
id="feGaussianBlur4610-2-5" />
<feComposite
result="result8"
in="SourceGraphic"
operator="atop"
in2="result6"
id="feComposite4612-5-4" />
<feComposite
result="result9"
operator="over"
in2="SourceAlpha"
in="result8"
id="feComposite4614-7-7" />
<feColorMatrix
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 "
result="result10"
id="feColorMatrix4616-6-6" />
<feBlend
in="result10"
mode="normal"
in2="result6"
id="feBlend4618-9-5" />
</filter>
<filter
y="-0.17469696"
height="1.3493939"
inkscape:menu-tooltip="Darkens the edge with an inner blur and adds a flexible glow"
inkscape:menu="Shadows and Glows"
inkscape:label="Dark And Glow"
style="color-interpolation-filters:sRGB"
id="filter4620-1-7"
x="-0.17469696"
width="1.3493939">
<feGaussianBlur
stdDeviation="5"
result="result6"
id="feGaussianBlur4622-1-4" />
<feComposite
result="result8"
in="SourceGraphic"
operator="atop"
in2="result6"
id="feComposite4624-4-5" />
<feComposite
result="result9"
operator="over"
in2="SourceAlpha"
in="result8"
id="feComposite4626-8-2" />
<feColorMatrix
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 "
result="result10"
id="feColorMatrix4628-5-5" />
<feBlend
in="result10"
mode="normal"
in2="result6"
id="feBlend4630-7-4" />
</filter>
<filter
y="-0.17469696"
height="1.3493939"
inkscape:menu-tooltip="Darkens the edge with an inner blur and adds a flexible glow"
inkscape:menu="Shadows and Glows"
inkscape:label="Dark And Glow"
style="color-interpolation-filters:sRGB"
id="filter4596-6-3"
x="-0.17469696"
width="1.3493939">
<feGaussianBlur
stdDeviation="5"
result="result6"
id="feGaussianBlur4598-6-0" />
<feComposite
result="result8"
in="SourceGraphic"
operator="atop"
in2="result6"
id="feComposite4600-9-7" />
<feComposite
result="result9"
operator="over"
in2="SourceAlpha"
in="result8"
id="feComposite4602-1-8" />
<feColorMatrix
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 "
result="result10"
id="feColorMatrix4604-4-6" />
<feBlend
in="result10"
mode="normal"
in2="result6"
id="feBlend4606-3-8" />
</filter>
<filter
y="-0.17469696"
height="1.3493939"
inkscape:menu-tooltip="Darkens the edge with an inner blur and adds a flexible glow"
inkscape:menu="Shadows and Glows"
inkscape:label="Dark And Glow"
style="color-interpolation-filters:sRGB"
id="filter4632-1-4"
x="-0.17469696"
width="1.3493939">
<feGaussianBlur
stdDeviation="5"
result="result6"
id="feGaussianBlur4634-9-9" />
<feComposite
result="result8"
in="SourceGraphic"
operator="atop"
in2="result6"
id="feComposite4636-8-2" />
<feComposite
result="result9"
operator="over"
in2="SourceAlpha"
in="result8"
id="feComposite4638-7-0" />
<feColorMatrix
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 "
result="result10"
id="feColorMatrix4640-6-6" />
<feBlend
in="result10"
mode="normal"
in2="result6"
id="feBlend4642-5-8" />
</filter>
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(4.6554451,-0.83749467)">
<g
id="g25"
transform="translate(1.812973e-4,-8.5216229e-5)">
<g
id="g24">
<rect
style="display:inline;opacity:1;fill:#000000;fill-opacity:0.701961;stroke-width:0.409154"
id="rect1"
width="28.348"
height="1.396094"
x="5.825819"
y="19.277994"
inkscape:label="axis-H" />
<rect
style="opacity:1;fill:#000000;fill-opacity:0.701961;stroke-width:0.409154"
id="rect2"
width="28.348"
height="1.396094"
x="5.8020415"
y="-20.697866"
transform="rotate(90)"
inkscape:label="axis-V" />
<circle
transform="matrix(0.10711925,0,0,0.10711925,-10.838025,-5.3822253)"
r="34.345188"
cy="236.72931"
cx="155.56349"
id="path4136-7-0"
style="fill:#009e73;fill-opacity:1;stroke:none;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;filter:url(#filter4608-0-5)"
inkscape:label="circle-L" />
<circle
transform="matrix(0.10711925,0,0,0.10711925,-11.109448,-4.9954233)"
r="34.345188"
cy="365.43817"
cx="290.41885"
id="path4136-6-0"
style="fill:#0072b2;fill-opacity:1;stroke:none;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;filter:url(#filter4620-1-7)"
inkscape:label="circle-B" />
<circle
transform="matrix(0.10711925,0,0,0.10711925,-11.20464,-5.7690267)"
r="34.345188"
cy="108.02044"
cx="291.42902"
id="path4136-76"
style="fill:#e69f00;fill-opacity:1;stroke:none;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;filter:url(#filter4596-6-3)"
inkscape:label="circle-T" />
<circle
transform="matrix(0.10711925,0,0,0.10711925,-11.056616,-5.2185227)"
r="34.345188"
cy="236.72931"
cx="422.24377"
id="path4136-3-9"
style="fill:#999999;fill-opacity:1;stroke:none;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;filter:url(#filter4632-1-4)"
inkscape:label="circle-R" />
</g>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.11667px;line-height:125%;font-family:'Latin Modern Mono Light';-inkscape-font-specification:'Latin Modern Mono Light, ';letter-spacing:0px;word-spacing:0px;fill:#252525;fill-opacity:1;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="-4.7508764"
y="47.699944"
id="text1392-1"
inkscape:export-xdpi="70.669998"
inkscape:export-ydpi="70.669998"
inkscape:label="text1392-1"><tspan
sodipodi:role="line"
id="tspan1390-1"
x="-4.7508764"
y="47.699944"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:9.525px;font-family:'Latin Modern Mono Light';-inkscape-font-specification:'Latin Modern Mono Light, Bold';fill:#252525;fill-opacity:1;stroke-width:0.264583px">pystencils</tspan></text>
</g>
</g>
</svg>
......@@ -4,7 +4,6 @@ import re
from pystencils import __version__ as pystencils_version
project = "pystencils"
html_logo = "_static/img/logo.png"
html_title = "pystencils Documentation"
copyright = (
......@@ -72,13 +71,19 @@ myst_enable_extensions = [
html_theme = "sphinx_book_theme"
html_static_path = ["_static"]
html_css_files = [
'css/fixtables.css',
"css/fixtables.css",
]
html_theme_options = {
"logo": {
"image_light": "_static/img/pystencils-logo-light.svg",
"image_dark": "_static/img/pystencils-logo-dark.svg",
}
}
# NbSphinx configuration
nbsphinx_execute = 'never'
nbsphinx_codecell_lexer = 'python3'
nbsphinx_execute = "never"
nbsphinx_codecell_lexer = "python3"
# BibTex
bibtex_bibfiles = ['pystencils.bib']
bibtex_bibfiles = ["pystencils.bib"]
......@@ -46,7 +46,8 @@ use_cython = [
]
doc = [
'sphinx',
'sphinx-book-theme',
'pydata-sphinx-theme==0.15.4',
'sphinx-book-theme==1.1.3', # workaround for https://github.com/executablebooks/sphinx-book-theme/issues/865
'sphinxcontrib-bibtex',
'sphinx_autodoc_typehints',
'pandoc',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment