Skip to content

Commit b6e3964

Browse files
olyagplfniephausmsimacek
committed
Split website for two audiences: Python and Java developers
Co-authored-by: Fabio Niephaus <fabio.niephaus@oracle.com> Co-authored-by: Michael Simacek <michael.simacek@oracle.com>
1 parent 9a99730 commit b6e3964

15 files changed

+1559
-760
lines changed

docs/site/01-jvm-developers.md

Lines changed: 487 additions & 0 deletions
Large diffs are not rendered by default.

docs/site/01-python-developers.md

Lines changed: 320 additions & 29 deletions
Large diffs are not rendered by default.

docs/site/02-downloads.md

Lines changed: 0 additions & 339 deletions
This file was deleted.
Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
---
22
layout: docs
3-
title: Java Developers
4-
permalink: docs/java-developers/
5-
docs_index: java-developers
6-
nav_order: 2
3+
permalink: jvm-developers/docs/
4+
audience_identifier: jvm
5+
title: Documentation
76
---
87

9-
# GraalPy for Java Developers
8+
# Documentation for JVM Developers
109

11-
**For Java developers who need to use Python libraries from their Java applications or migrate from legacy Jython code.**
10+
**For JVM developers who need to use Python libraries from their JVM applications or migrate from legacy Jython code.**
1211

1312
You do not need to install GraalPy separately - you can use GraalPy directly in Java with Maven or Gradle.
1413
This lets you call Python libraries like NumPy, pandas, or any PyPI package from your Java application.
@@ -36,4 +35,4 @@ Below are the options you can set on contexts for GraalPy.
3635
{% gfm_docs ../user/Test-Tiers.md %}
3736
{% gfm_docs ../user/Troubleshooting.md %}
3837

39-
{% copy_assets ../user/assets %}
38+
{% copy_assets ../user/assets %}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
layout: docs
3+
permalink: python-developers/docs/
4+
audience_identifier: python
5+
title: Documentation
6+
---
7+
8+
# Documentation for Python Developers
9+
10+
**You want to use GraalPy instead of the standard Python from python.org.**
11+
12+
Install GraalPy on your machine and use it like any Python interpreter.
13+
You get better performance, the ability to compile to native binaries, and access to the GraalVM ecosystem.
14+
15+
{% gfm_docs ../user/Version-Compatibility.md %}
16+
17+
{% gfm_docs ../user/Platform-Support.md %}
18+
19+
These guides cover everything you need to know:
20+
21+
{% gfm_docs ../user/Standalone-Getting-Started.md %}
22+
{% gfm_docs ../user/Python-Runtime.md %}
23+
{% gfm_docs ../user/Python-Standalone-Applications.md %}
24+
{% gfm_docs ../user/Native-Extensions.md %}
25+
{% gfm_docs ../user/Performance.md %}
26+
{% gfm_docs ../user/Tooling.md %}
27+
28+
<h3 id="python-context-options">
29+
<a href="#python-context-options" class="anchor-link">Python Context Options</a>
30+
</h3>
31+
Below are the options you can set on contexts for GraalPy.
32+
{% python_options ../../graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/PythonOptions.java %}
33+
34+
{% gfm_docs ../user/Test-Tiers.md %}
35+
{% gfm_docs ../user/Troubleshooting.md %}
36+
37+
{% copy_assets ../user/assets %}

docs/site/03-compatibility.md renamed to docs/site/03-jvm-developers-compatibility.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
layout: base
3+
permalink: jvm-developers/compatibility/
4+
audience_identifier: jvm
35
title: Compatibility
4-
permalink: compatibility/
5-
nav_order: 3
66
---
77

88
<style>
@@ -60,6 +60,7 @@ img.pylogo {
6060
#compatibility-stats-not-supported {
6161
padding-left: 0.5em;
6262
}
63+
6364
</style>
6465

6566

@@ -575,7 +576,7 @@ img.pylogo {
575576
<div class="compatibility">
576577
<div class="container">
577578
<div class="comp-info">
578-
<img class="info-icon" src='{{ "/assets/img/python/info-icon.svg" | relative_url }}' alt="info icon">
579+
<img class="info-icon" src='{{ "/assets/img/icon-set-general/info-icon.svg" | relative_url }}' alt="info icon">
579580
<h5 class="compatibility-text">Many more Python packages work on GraalPy than are listed here. If there is a package you are interested in that is not included, chances are that it might just work. If it does not, feel free to create an issue for us on <a href="https://github.com/oracle/graalpython/issues" target="_blank">GitHub</a>.</h5>
580581
</div>
581582
<div class="package__row">

0 commit comments

Comments
 (0)