Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf2667b5

Browse files
authored
Merge pull request#183 from dstansby/logo
Add logo to docs
2 parents6f3eb45 +4c96272 commitf2667b5

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

‎.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
name:Upload docs to GitHub pages
4444
runs-on:ubuntu-latest
4545
needs:build-docs
46-
if:github.event_name == 'push' && github.ref_name == 'main'
46+
if:contains(github.ref, 'tags')
4747
steps:
4848
-uses:actions/checkout@v3
4949
-uses:actions/download-artifact@v3

‎.github/workflows/test_and_deploy.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,21 +73,22 @@ jobs:
7373
needs:[test]
7474
runs-on:ubuntu-latest
7575
if:contains(github.ref, 'tags')
76+
environment:pypi-deploy
7677
steps:
7778
-uses:actions/checkout@v2
7879
-name:Set up Python
7980
uses:actions/setup-python@v2
8081
with:
8182
python-version:"3.x"
82-
-name:Installdependencies
83+
-name:Installbuild
8384
run:|
8485
python -m pip install --upgrade pip
85-
pip install -U setuptools setuptools_scm wheel twine build
86-
-name:Build and publish
87-
env:
88-
TWINE_USERNAME:__token__
89-
TWINE_PASSWORD:${{ secrets.TWINE_API_KEY }}
86+
python -m pip install --upgrade build
87+
88+
-name:Build package
9089
run:|
9190
git tag
9291
python -m build .
93-
twine upload dist/*
92+
93+
-name:Publish package
94+
uses:pypa/gh-action-pypi-publish@release/v1

‎docs/_static/logo.png

51.4 KB
Loading

‎docs/changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Visual improvements
1515
~~~~~~~~~~~~~~~~~~~
1616
- The background of ``napari-matplotlib`` figures and axes is now transparent, and the text and axis colour respects the ``napari`` theme.
1717
- The icons in the Matplotlib toolbar are now the same size as icons in the napari window.
18+
- Custom style sheets can now be set to customise plots. See the user guide
19+
for more information.
1820

1921
Changes
2022
~~~~~~~

‎docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
# a list of builtin themes.
8888
#
8989
html_theme="pydata_sphinx_theme"
90+
html_logo="_static/logo.png"
9091

9192
# Add any paths that contain custom static files (such as style sheets) here,
9293
# relative to this directory. They are copied after the builtin static files,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp