Skip to content

Commit 20a802e

Browse files
Merge pull request #1082 from kabilar/master
Update documentation and readme
2 parents ee95f02 + 8fc4ecc commit 20a802e

File tree

9 files changed

+78
-26
lines changed

9 files changed

+78
-26
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
### Upcoming
44
- Fixed - Fix altering a part table that uses the "master" keyword - PR [#991](https://github.com/datajoint/datajoint-python/pull/991)
55
- Fixed - `.ipynb` output in tutorials is not visible in dark mode ([#1078](https://github.com/datajoint/datajoint-python/issues/1078)) PR [#1080](https://github.com/datajoint/datajoint-python/pull/1080)
6-
6+
- Changed - Readme to update links and include example pipeline image
7+
- Changed - Docs to add landing page and update navigation
8+
79
### 0.14.0 -- Feb 13, 2023
810
- Added - `json` data type ([#245](https://github.com/datajoint/datajoint-python/issues/245)) PR [#1051](https://github.com/datajoint/datajoint-python/pull/1051)
911
- Fixed - Activating a schema requires all tables to exist even if `create_tables=False` PR [#1058](https://github.com/datajoint/datajoint-python/pull/1058)

README.md

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
[![DOI](https://zenodo.org/badge/16774/datajoint/datajoint-python.svg)](https://zenodo.org/badge/latestdoi/16774/datajoint/datajoint-python)
2-
[![Build Status](https://travis-ci.org/datajoint/datajoint-python.svg?branch=master)](https://travis-ci.org/datajoint/datajoint-python)
32
[![Coverage Status](https://coveralls.io/repos/datajoint/datajoint-python/badge.svg?branch=master&service=github)](https://coveralls.io/github/datajoint/datajoint-python?branch=master)
43
[![PyPI version](https://badge.fury.io/py/datajoint.svg)](http://badge.fury.io/py/datajoint)
5-
[![Requirements Status](https://requires.io/github/datajoint/datajoint-python/requirements.svg?branch=master)](https://requires.io/github/datajoint/datajoint-python/requirements/?branch=master)
64
[![Slack](https://img.shields.io/badge/slack-chat-green.svg)](https://datajoint.slack.com/)
75

86
# Welcome to DataJoint for Python!
@@ -12,22 +10,32 @@ DataJoint for Python is a framework for scientific workflow management based on
1210
DataJoint was initially developed in 2009 by Dimitri Yatsenko in Andreas Tolias' Lab at Baylor College of Medicine for the distributed processing and management of large volumes of data streaming from regular experiments. Starting in 2011, DataJoint has been available as an open-source project adopted by other labs and improved through contributions from several developers.
1311
Presently, the primary developer of DataJoint open-source software is the company DataJoint (https://datajoint.com).
1412

15-
- [Getting Started](https://datajoint.com/docs/core/datajoint-python/latest/getting-started/)
16-
- [DataJoint Elements](https://datajoint.com/docs/elements/) - Catalog of example pipelines
17-
- [DataJoint CodeBook](https://codebook.datajoint.io) - Interactive online tutorials
18-
- Contribute
13+
## Data Pipeline Example
14+
15+
![pipeline](https://raw.githubusercontent.com/datajoint/datajoint-python/master/images/pipeline.png)
16+
17+
[Yatsenko et al., bioRxiv 2021](https://doi.org/10.1101/2021.03.30.437358)
18+
19+
## Getting Started
20+
21+
- Install from PyPI
22+
23+
```bash
24+
pip install datajoint
25+
```
26+
27+
- [Documentation & Tutorials](https://datajoint.com/docs/core/datajoint-python/)
28+
29+
- [Interactive Tutorials](https://github.com/datajoint/datajoint-tutorials) on GitHub Codespaces
1930

31+
- [DataJoint Elements](https://datajoint.com/docs/elements/) - Catalog of example pipelines for neuroscience experiments
32+
33+
- Contribute
2034
- [Development Environment](https://datajoint.com/docs/core/datajoint-python/latest/develop/)
35+
2136
- [Guidelines](https://datajoint.com/docs/community/contribute/)
2237

2338
- Legacy Resources (To be replaced by above)
2439
- [Documentation](https://docs.datajoint.org)
25-
- [Tutorials](https://tutorials.datajoint.org)
2640

27-
## Citation
28-
29-
- If your work uses DataJoint for Python, please cite the following Research Resource Identifier (RRID) and manuscript.
30-
31-
- DataJoint ([RRID:SCR_014543](https://scicrunch.org/resolver/SCR_014543)) - DataJoint for Python (version `<Enter version number>`)
32-
33-
- Yatsenko D, Reimer J, Ecker AS, Walker EY, Sinz F, Berens P, Hoenselaar A, Cotton RJ, Siapas AS, Tolias AS. DataJoint: managing big scientific data using MATLAB or Python. bioRxiv. 2015 Jan 1:031658. doi: https://doi.org/10.1101/031658
41+
- [Tutorials](https://tutorials.datajoint.org)

docs/docker-compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
context: ../
88
args:
99
- PACKAGE
10-
image: ${PACKAGE}-docs
10+
image: ${PACKAGE}_python-docs
1111
environment:
1212
- PACKAGE
1313
- UPSTREAM_REPO
@@ -16,7 +16,7 @@ services:
1616
- ..:/main
1717
user: ${HOST_UID}:anaconda
1818
ports:
19-
- 8080:80
19+
- 80:80
2020
command:
2121
- sh
2222
- -c

docs/mkdocs.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# ---------------------- PROJECT SPECIFIC ---------------------------
22

3-
site_name: DataJoint Python
3+
site_name: DataJoint Documentation
44
repo_url: https://github.com/datajoint/datajoint-python
55
repo_name: datajoint/datajoint-python
66
nav:
7-
- DataJoint Python: getting-started/index.md
7+
- DataJoint Python: index.md
88
- Getting Started: getting-started/index.md
99
- Existing Pipelines: concepts/existing-pipelines.md
1010
- Query Language:
@@ -18,6 +18,7 @@ nav:
1818
- Tutorials:
1919
- tutorials/json.ipynb
2020
- Develop: develop.md
21+
- Citation: citation.md
2122
- Changelog: about/changelog.md
2223
- API: api/ # defer to gen-files + literate-nav
2324

@@ -50,9 +51,6 @@ theme:
5051
name: Switch to light mode
5152
plugins:
5253
- search
53-
- redirects:
54-
redirect_maps:
55-
"index.md": "getting-started/index.md"
5654
- mkdocstrings:
5755
default_handler: python
5856
handlers:
@@ -95,11 +93,11 @@ markdown_extensions:
9593
- name: mermaid
9694
class: mermaid
9795
format: !!python/name:pymdownx.superfences.fence_code_format
96+
- pymdownx.magiclink # Displays bare URLs as links
97+
- pymdownx.tasklist: # Renders check boxes in tasks lists
98+
custom_checkbox: true
9899
extra:
99100
generator: false # Disable watermark
100-
analytics:
101-
provider: google
102-
property: !ENV GOOGLE_ANALYTICS_KEY
103101
version:
104102
provider: mike
105103
social:

docs/src/.overrides/partials/nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{#-
1515
Add DataJoint home link to navigation header, otherwise unchanged
1616
-#}
17-
<a href="https://datajoint.com/docs/" title="DataJoint">
17+
<a href="https://datajoint.com/docs/core/" title="DataJoint">
1818
⬅ Home
1919
</a>
2020
</label>

docs/src/citation.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Citation
2+
3+
If your work uses the DataJoint API for Python, please cite the following manuscript and Research Resource Identifier (RRID):
4+
5+
- Yatsenko D, Reimer J, Ecker AS, Walker EY, Sinz F, Berens P, Hoenselaar A, Cotton RJ, Siapas AS, Tolias AS. DataJoint: managing big scientific data using MATLAB or Python. bioRxiv. 2015 Jan 1:031658. doi: https://doi.org/10.1101/031658
6+
7+
- DataJoint API for Python - [RRID:SCR_014543](https://scicrunch.org/resolver/SCR_014543) - Version `Enter version here`

docs/src/index.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Welcome to the DataJoint API for Python!
2+
3+
The DataJoint API for Python is a framework for scientific workflow management based on relational principles. DataJoint is built on the foundation of the relational data model and prescribes a consistent method for organizing, populating, computing, and querying data.
4+
5+
DataJoint was initially developed in 2009 by Dimitri Yatsenko in Andreas Tolias' Lab at Baylor College of Medicine for the distributed processing and management of large volumes of data streaming from regular experiments. Starting in 2011, DataJoint has been available as an open-source project adopted by other labs and improved through contributions from several developers.
6+
Presently, the primary developer of DataJoint open-source software is the company [DataJoint](https://datajoint.com){:target="_blank"}.
7+
8+
## Data Pipeline Example
9+
10+
![pipeline](https://raw.githubusercontent.com/datajoint/datajoint-python/master/images/pipeline.png)
11+
12+
[Yatsenko et al., bioRxiv 2021](https://doi.org/10.1101/2021.03.30.437358){:target="_blank"}
13+
14+
## Getting Started
15+
16+
- Install from PyPI
17+
18+
```bash
19+
pip install datajoint
20+
```
21+
22+
- [Detailed Getting Started Guide](./getting-started)
23+
24+
- [Interactive Tutorials](https://github.com/datajoint/datajoint-tutorials){:target="_blank"} on GitHub Codespaces
25+
26+
- [DataJoint Elements](../../elements/) - Catalog of example pipelines for neuroscience experiments
27+
28+
- Contribute
29+
- [Development Environment](./develop)
30+
31+
- [Guidelines](../../community/contribute/)
32+
33+
- Legacy Resources (To be replaced by above)
34+
- [Documentation](https://docs.datajoint.org)
35+
36+
- [Tutorials](https://tutorials.datajoint.org)

images/pipeline.drawio

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

images/pipeline.png

1020 KB
Loading

0 commit comments

Comments
 (0)