Skip to content

Commit

Permalink
changed sphinx thumbnail css
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Jones authored and Matthew Jones committed Jul 30, 2021
1 parent 5d3219c commit bd2db32
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
17 changes: 15 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,19 @@ python=python
pip=pip
tests=./test
version:=$(shell $(python) version.py)
sdist_name:=PlotMAPQ-$(version).tar.gz
sdist_name:=cassiopeia-$(version).tar.gz

develop:
$(pip) install -e .

clean_develop:
- $(pip) uninstall -y cassiopeia
- rm -rf *.egg-info

clean_sdist:
- rm -rf dist

clean: clean_develop clean_pypi

install:
- $(python) setup.py build
Expand All @@ -17,11 +29,12 @@ check_build_reqs:
test: check_build_reqs
$(python) -m pytest -vv $(tests)


pypi: clean clean_sdist
set -x \
&& $(python) setup.py sdist bdist_wheel \
&& twine check dist/* \
&& twine upload --repository-url https://test.pypi.org/legacy/ dist/*

clean_pypi:
- rm -rf build/
- rm -rf build/
4 changes: 2 additions & 2 deletions docs/_static/css/sphinx_gallery.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.sphx-glr-thumbcontainer {
/* .sphx-glr-thumbcontainer {
background: none !important;
border: 1px solid #003262!important;
text-align: center !important;
min-height: 220px !important;
}
/* .sphx-glr-thumbcontainer a.internal:hover {
.sphx-glr-thumbcontainer a.internal:hover {
color: #003262!important;
}
p.sphx-glr-timing {
Expand Down
4 changes: 4 additions & 0 deletions version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version = '2.0.0'

if __name__ == '__main__':
print(version)

0 comments on commit bd2db32

Please sign in to comment.