Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
.. _readme:

Data.SyncMaster
===============
|Logo|

.. |Logo| image:: docs/_static/logo_wide_red_text.svg
:alt: Data.SyncMaster logo
:target: https://github.com/MobileTeleSystems/data-syncmaster

|Repo Status| |Docker image| |PyPI| |PyPI License| |PyPI Python Version| |Documentation|
|Build Status| |Coverage| |pre-commit.ci|
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.server
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ENV PYTHONPATH=/app \
POETRY_VIRTUALENVS_CREATE=1

# add this when logo will be ready
# COPY ./docs/_static/*.svg ./syncmaster/server/static/
COPY ./docs/_static/*.svg ./syncmaster/server/static/

# Swagger UI
ADD https://cdn.jsdelivr.net/npm/swagger-ui-dist@latest/swagger-ui-bundle.js https://cdn.jsdelivr.net/npm/swagger-ui-dist@latest/swagger-ui.css \
Expand Down
22 changes: 19 additions & 3 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
.logo {
width: 200px !important;
}
@media not print {
@media (prefers-color-scheme: dark) {
body:not([data-theme="light"]) img.sidebar-logo {
content: url(logo_red_text.svg);
}

body:not([data-theme="light"]) img.readme-wide-logo {
content: url(logo_wide_red_text.svg);
}
}

body[data-theme="dark"] img.sidebar-logo {
content: url(logo_red_text.svg);
}

body[data-theme="dark"] img.readme-wide-logo {
content: url(logo_wide_red_text.svg);
}
}
86 changes: 86 additions & 0 deletions docs/_static/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
110 changes: 110 additions & 0 deletions docs/_static/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
80 changes: 80 additions & 0 deletions docs/_static/logo_no_text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading