Skip to content

Commit

Permalink
docs: add evox logo
Browse files Browse the repository at this point in the history
docs: add sphinx-favicon as a dependency
  • Loading branch information
BillHuang2001 committed Aug 3, 2023
1 parent b386dec commit 9fb800b
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h1 align="center">
<img src=./logo.png alt="Logo" height="24em"/>
<img src=./docs/source/_static/evox_logo.png alt="Logo" height="24em"/>
<strong>EvoX</strong>
<br>
A Distributed GPU-accelerated Library towards Scalable Evolutionary Computation
Expand Down
4 changes: 2 additions & 2 deletions docs/source/_static/evox.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ original css file: https://raw.githubusercontent.com/numpy/numpy/main/doc/source
*/

.navbar-brand img {
height: 75px;
height: 100%;
}

.navbar-brand {
height: 75px;
height: 100%;
}

body {
Expand Down
File renamed without changes
1 change: 1 addition & 0 deletions docs/source/_static/evox_logo_with_title.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/favicon-16x16.ico
Binary file not shown.
Binary file added docs/source/_static/favicon-32x32.ico
Binary file not shown.
12 changes: 11 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"sphinx.ext.napoleon",
"sphinx_copybutton",
"sphinx_design",
"sphinx_favicon",
]

# Add any paths that contain templates here, relative to this directory.
Expand All @@ -63,10 +64,19 @@
# a list of builtin themes.
#
html_theme = "pydata_sphinx_theme"

html_logo = "_static/evox_logo_with_title.svg"
html_theme_options = {
"github_url": "https://github.com/EMI-Group/evox",
"logo": {
"alt_text": "EvoX logo image",
"text": "",
},
}
favicons = [
"favicon-16x16.ico",
"favicon-32x32.ico",
]


# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down
3 changes: 2 additions & 1 deletion requirements/docs-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ sphinx
numpydoc
myst-parser
sphinx_copybutton
sphinx_design
sphinx_design
sphinx-favicon

0 comments on commit 9fb800b

Please sign in to comment.