Skip to content

Commit

Permalink
Migrate svg to webp
Browse files Browse the repository at this point in the history
  • Loading branch information
jlgarridol committed Apr 24, 2024
1 parent 5976608 commit e5f9921
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Semi-Supervised Learning Library (sslearn)
===

<!-- Insert logo in the middle -->
<img width="100%" src="https://raw.githubusercontent.com/jlgarridol/sslearn/main/docs/sslearn.svg"/>
<img width="100%" src="https://raw.githubusercontent.com/jlgarridol/sslearn/main/docs/sslearn.webp"/>

![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability-percentage/jlgarridol/sslearn) ![Code Climate coverage](https://img.shields.io/codeclimate/coverage/jlgarridol/sslearn) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/jlgarridol/sslearn/python-package.yml) ![PyPI - Version](https://img.shields.io/pypi/v/sslearn)

Expand Down
8 changes: 4 additions & 4 deletions docs/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@

if __name__ == "__main__":

favicon = (here / "docs" / "sslearn_mini.svg").read_bytes()
favicon = (here / "docs" / "sslearn_mini.webp").read_bytes()
favicon = base64.b64encode(favicon).decode("utf8")
logo = (here / "docs" / "sslearn.svg").read_bytes()
logo = (here / "docs" / "sslearn.webp").read_bytes()
logo = base64.b64encode(logo).decode("utf8")

# Render main docs
pdoc.render.configure(

favicon=f"data:image/svg+xml;base64,{favicon}",
logo=f"data:image/svg+xml;base64,{logo}",
favicon="data:image/webp;base64," + favicon,
logo="data:image/webp;base64," + logo,
logo_link="/sslearn",
footer_text=f"pdoc {pdoc.__version__}",
search=True,
Expand Down
2 changes: 1 addition & 1 deletion docs/search.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/sslearn.html

Large diffs are not rendered by default.

Binary file added docs/sslearn.webp
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/sslearn/base.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/sslearn/datasets.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/sslearn/model_selection.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/sslearn/restricted.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/sslearn/subview.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/sslearn/utils.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/sslearn/wrapper.html

Large diffs are not rendered by default.

Binary file added docs/sslearn_mini.webp
Binary file not shown.

0 comments on commit e5f9921

Please sign in to comment.