Skip to content

Commit

Permalink
docs: add a custom logo (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau authored Nov 16, 2023
2 parents 0f1377d + 77bae94 commit 7277892
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
.. raw:: html

pyGAUL
======
<p align="center">
<img src="docs/_static/logo.png" width=240 alt="header"></a>
</p>

<h1 align="center">pyGAUL</h1>

.. image:: https://img.shields.io/badge/License-MIT-yellow.svg?logo=opensourceinitiative&logoColor=white
:target: LICENSE
Expand Down
9 changes: 9 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,12 @@ div.highlight-console pre span.go::before {
margin-right: 10px;
margin-left: 5px;
}

/* custom colors for titles */
html[data-theme="light"] {
--pst-color-primary: #4b9cd3;
}

html[data-theme="dark"] {
--pst-color-primary: #4b9cd3;
}
Binary file added docs/_static/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
# -- Options for HTML output ---------------------------------------------------
html_theme = "pydata_sphinx_theme"
html_static_path = ["_static"]
html_logo = "_static/logo.png"
html_theme_options = {
"logo": {
"text": project,
Expand Down

0 comments on commit 7277892

Please sign in to comment.