Skip to content

Commit 980011e

Browse files
update docs
1 parent a8a6192 commit 980011e

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

docs/source/_static/pop-plankton.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,16 @@ var hpos = 'right:-' + (50 + Math.floor(Math.random() * 10)) + 'px;';
2222
var vpos = 'bottom:' + (Math.floor(Math.random() * 80) + 10) + '%;';
2323

2424
var img = document.createElement("img");
25-
// var img_path = $.get("_images/plankton-only.svg)
26-
img.src = "_images/plankton-only.svg";//"../_images/plankton-only.svg";
27-
if (document.location.pathname.split('/')[8]=='rst'){
28-
img.src = "../_images/plankton-only.svg";
25+
26+
//"../_images/plankton-only.svg";
27+
if ((document.location.pathname.split('/')).includes("rst")){
28+
img.src = "../../_images/plankton-only.svg";
29+
}
30+
else if ((document.location.pathname.split('/')).slice(-1)==""){
31+
img.src = "_images/plankton-only.svg";
2932
}
3033
else{
31-
img.src = "./_images/plankton-only.svg";
34+
img.src = "../_images/plankton-only.svg";
3235
}
3336

3437
img.id = "pop-plankton";

docs/source/rst/spatial-data.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
The SpatialData object:
2-
=======================
2+
=======================
3+
4+
The `plankton.SpatialData` object is at the center of the plankton.py workflow. It is designed to provide easy data handling and visualization using a pythonic syntax in a workflow based on IPython notebooks.

0 commit comments

Comments
 (0)