Skip to content

Commit 2b66621

Browse files
committed
Initial release v0.0.1a0
1 parent cff2168 commit 2b66621

File tree

3 files changed

+22
-7
lines changed

3 files changed

+22
-7
lines changed

.github/workflows/readthedocs.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,18 @@ jobs:
1515
uses: actions/checkout@v4
1616

1717
- name: Trigger Read the Docs build
18-
uses: readthedocs/actions@v1
19-
with:
20-
token: ${{ secrets.READTHEDOCS_TOKEN }}
21-
project: cellucid
18+
env:
19+
RTD_TOKEN: ${{ secrets.READTHEDOCS_TOKEN }}
20+
RTD_PROJECT: cellucid
21+
REF_TYPE: ${{ github.ref_type }}
22+
REF_NAME: ${{ github.ref_name }}
23+
run: |
24+
set -euo pipefail
25+
version="latest"
26+
if [ "$REF_TYPE" = "tag" ]; then
27+
version="$REF_NAME"
28+
fi
29+
echo "Triggering Read the Docs build for version ${version}"
30+
curl --fail -X POST \
31+
-H "Authorization: Token ${RTD_TOKEN}" \
32+
"https://readthedocs.org/api/v3/projects/${RTD_PROJECT}/versions/${version}/builds/"

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
<p align="center">
2-
<img src="cellucid-logo.svg" alt="Cellucid logo" width="180">
1+
<p>
2+
<img src="cellucid-logo.svg" alt="Cellucid logo" width="320">
33
</p>
44

5+
[![PyPI version](https://img.shields.io/pypi/v/cellucid.svg)](https://pypi.org/project/cellucid/)
6+
[![Python versions](https://img.shields.io/pypi/pyversions/cellucid.svg)](https://pypi.org/project/cellucid/)
7+
[![Documentation Status](https://readthedocs.org/projects/cellucid/badge/?version=latest)](https://cellucid.readthedocs.io/en/latest/)
8+
59
# cellucid (Python)
610

711
Python utilities for exporting AnnData/numpy payloads into the manifest + binary format consumed by the Cellucid WebGL viewer. Everything here is independent of the website; generate data wherever you like, then copy the resulting files into the viewer’s `assets/exports/` directory when you host the site.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "cellucid"
7-
version = "0.1.0"
7+
version = "0.0.1a0"
88
description = "Utilities to export data for the 3D UMAP WebGL viewer."
99
readme = "README.md"
1010
requires-python = ">=3.10"

0 commit comments

Comments
 (0)