Skip to content

Commit 8ce6a42

Browse files
docs: tone down version warning on landing page
- Changed from 'warning' to 'info' admonition (less alarming) - Removed 'Which Version Am I Using?' section (too developer-focused for landing) - Made notice more concise and welcoming - Landing page is for broader ecosystem (Platform, Elements, coding users)
1 parent c9256cc commit 8ce6a42

1 file changed

Lines changed: 2 additions & 24 deletions

File tree

src/index.md

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,8 @@
11
# DataJoint Documentation
22

3-
!!! warning "DataJoint 2.0+ Documentation"
3+
!!! info "Documentation for DataJoint 2.0+"
44

5-
This documentation is for **DataJoint 2.0 and later**. All code examples use 2.0 syntax and APIs.
6-
7-
**Upgrading from pre-2.0 (0.14.x)?** Follow the [Migration Guide](how-to/migrate-to-v20.md) for step-by-step upgrade instructions.
8-
9-
**Legacy documentation:** For DataJoint 0.x documentation, visit [datajoint.github.io/datajoint-python](https://datajoint.github.io/datajoint-python).
10-
11-
## Which Version Am I Using?
12-
13-
??? question "How do I check my DataJoint version?"
14-
15-
```python
16-
import datajoint as dj
17-
print(dj.__version__)
18-
```
19-
20-
- **Version 2.0 or higher:** You're on the current version ✓
21-
- **Version 0.14.x or lower:** You're on legacy DataJoint
22-
23-
**What should I do?**
24-
25-
- **Learning DataJoint:** Use this documentation (2.0+)
26-
- **Existing pipeline on 0.x:** Follow the [Migration Guide](how-to/migrate-to-v20.md)
27-
- **Need 0.x documentation:** Visit [legacy docs](https://datajoint.github.io/datajoint-python)
5+
Python code examples in this documentation use DataJoint 2.0 syntax. If you're using DataJoint pre-2.0, see the [Migration Guide](how-to/migrate-to-v20.md) or visit [legacy docs](https://datajoint.github.io/datajoint-python).
286

297
## About DataJoint
308

0 commit comments

Comments
 (0)