Style doc

This commit is contained in:
ibu 2021-12-02 18:10:27 +00:00
parent 85b194931e
commit 028be1631d
2 changed files with 15 additions and 0 deletions

View file

@ -69,3 +69,9 @@ source_suffix = {
'.rst': 'restructuredtext',
'.md': 'markdown',
}
html_logo = 'logo.svg'
html_theme_options = {
'style_nav_header_background': '#bd4',
}

9
doc/source/logo.svg Normal file
View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="80" height="80" viewBox="0 0 1000 800" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<line x1="500" y1="50" x2="360" y2="500" stroke="black" stroke-width="50" />
<line x1="500" y1="50" x2="640" y2="500" stroke="black" stroke-width="50" />
<line x1="400" y1="330" x2="600" y2="330" stroke="black" stroke-width="50" />
<circle cx="500" cy="300" r="250" stroke="grey" fill="none" stroke-width="50" />
<line x1="50" y1="750" x2="330" y2="470" stroke="grey" stroke-width="80" />
</svg>

After

Width:  |  Height:  |  Size: 690 B