-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #154 from theislab/development
update docs and python versions
- Loading branch information
Showing
368 changed files
with
8,330 additions
and
12,058 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,5 @@ full_name: Anna Schaar | |
email: [email protected] | ||
project_name: ncem | ||
project_short_description: ncem. Learning cell communication from spatial graphs of cells. | ||
version: 0.1.4 | ||
version: 0.1.5 | ||
license: BSD-3-Clause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
fetch-depth: 2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2.1.4 | ||
uses: actions/setup-python@v4.3.0 | ||
with: | ||
python-version: "3.8" | ||
|
||
|
@@ -31,7 +31,7 @@ jobs: | |
- name: Publish package on PyPI | ||
uses: pypa/[email protected] | ||
with: | ||
# TODO COOKIETEMPLE: Configure your PyPI Token to enable automatic deployment to PyPi on releases | ||
# COOKIETEMPLE: Configure your PyPI Token to enable automatic deployment to PyPi on releases | ||
# https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets | ||
user: __token__ | ||
password: ${{ secrets.PYPI_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,7 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2.1.4 | ||
uses: actions/setup-python@v4.3.0 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
|
@@ -99,7 +99,7 @@ jobs: | |
print("::set-output name=result::{}".format(result)) | ||
- name: Restore pre-commit cache | ||
uses: actions/cache@v2.1.6 | ||
uses: actions/cache@v3.3.1 | ||
if: matrix.session == 'pre-commit' | ||
with: | ||
path: ~/.cache/pre-commit | ||
|
@@ -113,14 +113,14 @@ jobs: | |
- name: Upload coverage data | ||
if: always() && matrix.session == 'tests' | ||
uses: "actions/upload-artifact@v2.2.4" | ||
uses: "actions/upload-artifact@v3.1.2" | ||
with: | ||
name: coverage-data | ||
path: ".coverage.*" | ||
|
||
- name: Upload documentation | ||
if: matrix.session == 'docs-build' | ||
uses: actions/upload-artifact@v2.2.4 | ||
uses: actions/upload-artifact@v3.1.2 | ||
with: | ||
name: docs | ||
path: docs/_build | ||
|
@@ -133,7 +133,7 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v2.1.4 | ||
uses: actions/setup-python@v4.3.0 | ||
with: | ||
python-version: 3.8 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
.small { | ||
font-size: 55%; | ||
} | ||
|
||
div.version { | ||
color: #ffd92c !important; | ||
} | ||
|
||
.wy-nav-side { | ||
background: #242335; | ||
} | ||
|
||
.wy-side-nav-search { | ||
background-color: #242335; | ||
} | ||
|
||
.wy-side-nav-search input[type="text"] { | ||
border-radius: 6px !important; | ||
} | ||
|
||
.wy-nav-content { | ||
max-width: 950px; | ||
} | ||
|
||
.wy-menu-vertical a { | ||
color: #eceef4; | ||
} | ||
|
||
.wy-menu-vertical li.current { | ||
background: #f1f5fb; | ||
} | ||
|
||
.wy-menu-vertical li.toctree-l2.current > a { | ||
background: #34377d2e; | ||
} | ||
|
||
.wy-menu-vertical li.toctree-l2.current li.toctree-l3 > a { | ||
background: #34377d4a; | ||
} | ||
|
||
.wy-menu-vertical li.toctree-l3.current li.toctree-l4 > a { | ||
background: #34377d7d; | ||
} | ||
|
||
.wy-menu-vertical a:hover { | ||
background-color: #6b86b0; | ||
} | ||
|
||
.wy-menu-vertical li.current a:hover { | ||
background: #bdcde6a3; | ||
} | ||
|
||
a { | ||
color: #5b64b1; | ||
} | ||
|
||
.rst-content .viewcode-link { | ||
color: #7013e1d9; | ||
} | ||
|
||
.highlight { | ||
background: #f1f5fb !important; | ||
} | ||
|
||
.rst-content div[class^="highlight"] { | ||
border: 1px solid #e4eaf2; | ||
} | ||
|
||
.wy-menu-vertical p.caption { | ||
color: #ffd92c; | ||
} | ||
|
||
div.output_subarea.output_html.rendered_html.output_result { | ||
overflow: auto; | ||
} | ||
|
||
/* function/class top bar */ | ||
html.writer-html5 | ||
.rst-content | ||
dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) | ||
> dt { | ||
color: #404040; | ||
border-top: solid 4px #7013e1d9; | ||
background: #ffd833a8; | ||
} | ||
|
||
/* class params */ | ||
html.writer-html5 | ||
.rst-content | ||
dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) | ||
dl:not(.field-list) | ||
> dt { | ||
color: #404040; | ||
border-left: solid 4px #7013e1d9; | ||
background: #ffd8338f; | ||
} | ||
|
||
/* the other elements, but more specific - leave them be */ | ||
code.docutils.literal.notranslate > span[class="pre"] { | ||
font-weight: bold; | ||
color: #404040; | ||
} | ||
|
||
/* odd rows in API */ | ||
.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td { | ||
background-color: #f6f6f3; | ||
} | ||
|
||
.rst-content div[class^="highlight"] pre { | ||
padding: 8px; | ||
} | ||
|
||
.rst-content .seealso { | ||
background: #fafae2 !important; | ||
} | ||
|
||
.rst-content .seealso .admonition-title { | ||
background: #7013e1d9 !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* Pandas dataframe css */ | ||
/* Taken from: https://github.com/spatialaudio/nbsphinx/blob/fb3ba670fc1ba5f54d4c487573dbc1b4ecf7e9ff/src/nbsphinx.py#L587-L619 */ | ||
/* modified margin-left */ | ||
|
||
table.dataframe { | ||
border: none !important; | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
border-color: transparent; | ||
color: black; | ||
font-size: 12px; | ||
table-layout: fixed; | ||
margin-left: 0 !important; | ||
} | ||
|
||
table.dataframe thead { | ||
border-bottom: 1px solid black; | ||
vertical-align: bottom; | ||
} | ||
|
||
table.dataframe tr, | ||
table.dataframe th, | ||
table.dataframe td { | ||
text-align: right; | ||
vertical-align: middle; | ||
padding: 0.5em 0.5em; | ||
line-height: normal; | ||
white-space: normal; | ||
max-width: none; | ||
border: none; | ||
} | ||
|
||
table.dataframe th { | ||
font-weight: bold; | ||
} | ||
|
||
table.dataframe tbody tr:nth-child(odd) { | ||
background: #f5f5f5; | ||
} | ||
|
||
table.dataframe tbody tr:hover { | ||
background: rgba(66, 165, 245, 0.2); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
div.nbinput.container div.prompt, | ||
div.nboutput.container div.prompt { | ||
display: none; | ||
} | ||
|
||
div.nbinput.container div.prompt > div.highlight, | ||
div.nboutput.container div.prompt > div.highlight { | ||
display: none; | ||
} | ||
|
||
div.nbinput.container div.input_area div[class*="highlight"] > pre, | ||
div.nboutput.container div.output_area div[class*="highlight"] > pre { | ||
padding: 8px !important; | ||
} | ||
|
||
div.nboutput.container div.output_area > div[class^="highlight"] { | ||
background-color: #fafae2 !important; | ||
} | ||
|
||
.rst-content .output_area img { | ||
max-width: unset; | ||
width: 100% !important; | ||
height: auto !important; | ||
} |
Oops, something went wrong.