Skip to content

Commit

Permalink
Merge pull request #47 from 15r10nk/small_changes
Browse files Browse the repository at this point in the history
some minor changes
  • Loading branch information
15r10nk authored Feb 18, 2024
2 parents 9ce2ced + 6ce1f24 commit 428678a
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down Expand Up @@ -73,6 +73,7 @@ jobs:
TOP: ${{github.workspace}}
run: |
rm .coverage.*.windows-latest
rm .coverage.*.macos-latest
pip install coverage
coverage combine
coverage
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
- deployed_docs
workflow_dispatch:

jobs:
build:
Expand All @@ -27,8 +27,3 @@ jobs:
#EXTRA_PACKAGES: build-base
# GITHUB_DOMAIN: github.myenterprise.com
REQUIREMENTS: doc_requirements.txt
- name: tag docs
uses: tvdias/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
tag: deployed_docs
57 changes: 52 additions & 5 deletions docs/theme/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,58 @@
{{ super() }}
Become a
<a href="https://github.com/sponsors/15r10nk" title="Become a sponsor">
<span class="twemoji heart-throb-hover" style="color:red">
{% set icon = "octicons/heart-fill-16" %}
{% include ".icons/" ~ icon ~ ".svg" %}
<span class="twemoji heart" style="color:red">
{% include ".icons/octicons/heart-fill-16.svg" %}
</span>
Sponsor
<strong>
Sponsor
</strong>
</a>
or follow <a href="https://x.com/15r10nk" title="follow on X">@15r10nk</a> on <span style="font-size:1.1em"> &#120143; </span> for updates
or follow <strong> @15r10nk </strong> on
<a href="https://x.com/15r10nk" title="follow on X">
<span class="twemoji circle twitter">
{% include ".icons/fontawesome/brands/x-twitter.svg" %}
</span>
</a> or

<a href="https://fosstodon.org/@15r10nk" title="follow on mastodon">
<span class="twemoji circle mastodon">
{% include ".icons/fontawesome/brands/mastodon.svg" %}
</span>
</a>
<style>
.circle{
box-shadow: inset 0 0 0 .05rem currentcolor;
border-radius: 100%;
display: inline-block;
height: 1.2rem !important;
padding: 0.25rem;
transition: all .25s;
vertical-align: bottom !important;
width: 1.2rem !important;
}
:hover > .circle{
box-shadow: inset 0 0 0 .1rem currentcolor;
filter: blur(0.5px)
}
.twitter {
color: #fff;
}
.mastodon{
color: #897ff8;
}

@keyframes heart {
0%, 40%, 80%, 100% {
transform: scale(1);
}
20%, 60% {
transform: scale(1.15);
}
}
.heart {
animation: heart 1000ms infinite;
}
</style>
for updates
{% endblock %}
14 changes: 13 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ theme:
features:
- toc.follow
palette:
- media: (prefers-color-scheme)

# Palette toggle for light mode
- scheme: default
media: '(prefers-color-scheme: light)'
primary: teal

# Palette toggle for dark mode
- scheme: slate
media: '(prefers-color-scheme: dark)'
primary: teal

watch:
Expand Down Expand Up @@ -63,5 +73,7 @@ plugins:

extra:
social:
- icon: fontawesome/brands/twitter
- icon: fontawesome/brands/x-twitter
link: https://x.com/15r10nk
- icon: fontawesome/brands/mastodon
link: https://fosstodon.org/@15r10nk

0 comments on commit 428678a

Please sign in to comment.