Skip to content

Commit 8736717

Browse files
authored
version bump on all docs and new release changelog (#395)
1 parent 2321c03 commit 8736717

31 files changed

Lines changed: 80 additions & 53 deletions

packages/astro-theme/components/ProductVersionSwitcher.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const { product } = Astro.props;
1414
class="px-2 py-1 rounded bg-transparent text-stone-400 font-medium"
1515
id="version-switcher"
1616
>
17-
<option value="cheerpj3" selected={product.id === "cheerpj3"}>v4.2</option>
17+
<option value="cheerpj3" selected={product.id === "cheerpj3"}>v4.3</option>
1818
<option value="cheerpj2" selected={product.id === "cheerpj2"}>v2.3</option>
1919
</select>
2020
</div>

sites/cheerpj/src/content/docs/00-overview.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import AppletRunnerButton from "@leaningtech/astro-theme/components/AppletRunner
1212

1313
<div class="not-prose flex gap-2 mb-2">
1414
<img
15-
src="https://img.shields.io/badge/version-4.0-orange"
16-
alt="Version 4.0"
15+
src="https://img.shields.io/badge/version-4.3-orange"
16+
alt="Version 4.3"
1717
/>
1818
<a href="https://discord.leaningtech.com/">
1919
<img
@@ -44,7 +44,7 @@ import AppletRunnerButton from "@leaningtech/astro-theme/components/AppletRunner
4444
</div>
4545

4646
```html
47-
<script src="https://cjrtnc.leaningtech.com/4.2/loader.js"></script>
47+
<script src="https://cjrtnc.leaningtech.com/4.3/loader.js"></script>
4848
```
4949

5050
<div class="mx-24">![](./explanation-diagram.png)</div>

sites/cheerpj/src/content/docs/10-getting-started/00-Java-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Let's create a basic HTML file like the following example. Please notice the Che
3333
<head>
3434
<meta charset="utf-8" />
3535
<title>CheerpJ Java App Example</title>
36-
<script src="https://cjrtnc.leaningtech.com/4.2/loader.js"></script>
36+
<script src="https://cjrtnc.leaningtech.com/4.3/loader.js"></script>
3737
</head>
3838
<body>
3939
<script>

sites/cheerpj/src/content/docs/10-getting-started/01-Java-applet.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ In order to integrate CheerpJ, you just need to add:
3838
1. A simple `<script>` within the `<head>` of your page with the CheerpJ runtime loader.
3939

4040
```html
41-
<script src="https://cjrtnc.leaningtech.com/4.2/loader.js"></script>
41+
<script src="https://cjrtnc.leaningtech.com/4.3/loader.js"></script>
4242
```
4343

4444
2. A second script calling [`cheerpjInit()`] to initialize CheerpJ's runtime environment.
@@ -57,7 +57,7 @@ For example:
5757
<head>
5858
<meta charset="utf-8" />
5959
<title>CheerpJ Applet Example</title>
60-
<script src="https://cjrtnc.leaningtech.com/4.2/loader.js"></script>
60+
<script src="https://cjrtnc.leaningtech.com/4.3/loader.js"></script>
6161
</head>
6262
<body>
6363
<applet

sites/cheerpj/src/content/docs/10-getting-started/02-Java-library.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Let's create a basic HTML file and include and initialize CheerpJ on your page.
3131
<head>
3232
<meta charset="utf-8" />
3333
<title>CheerpJ Library Mode Test</title>
34-
<script src="https://cjrtnc.leaningtech.com/4.2/loader.js"></script>
34+
<script src="https://cjrtnc.leaningtech.com/4.3/loader.js"></script>
3535
</head>
3636
<body>
3737
<script>
@@ -51,7 +51,7 @@ Now we can load your Java library by calling `cheerpjRunLibrary` which will load
5151
<head>
5252
<meta charset="utf-8" />
5353
<title>CheerpJ Library Mode Example</title>
54-
<script src="https://cjrtnc.leaningtech.com/4.2/loader.js"></script>
54+
<script src="https://cjrtnc.leaningtech.com/4.3/loader.js"></script>
5555
</head>
5656
<body>
5757
<script>

sites/cheerpj/src/content/docs/10-getting-started/03-JNLP.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Example of an HTML file for an app where the class name is included in the manif
118118
<head>
119119
<meta charset="utf-8" />
120120
<title>CheerpJ test</title>
121-
<script src="https://cjrtnc.leaningtech.com/4.2/loader.js"></script>
121+
<script src="https://cjrtnc.leaningtech.com/4.3/loader.js"></script>
122122
</head>
123123
<body>
124124
<script>
@@ -149,7 +149,6 @@ The `/app/`prefix is a virtual filesystem mount point that references the root o
149149
Take a close look to the `<applet-desc>` tag on your `.jnlp` and keep the following at hand:
150150

151151
- **Any applet tag parameters:**
152-
153152
- **The applet class name:** You can find it at the main-class attribute.
154153
- **The applet ideal size:** defined at `width` and `height` attributes.
155154
- **Applet parameters:** found as `<param>` within `<applet-desc>` if your applet requires it.
@@ -164,7 +163,7 @@ The HTML for an applet would look like this:
164163
<head>
165164
<meta charset="utf-8" />
166165
<title>CheerpJ applet test</title>
167-
<script src="https://cjrtnc.leaningtech.com/4.2/loader.js"></script>
166+
<script src="https://cjrtnc.leaningtech.com/4.3/loader.js"></script>
168167
</head>
169168
<body>
170169
<applet

sites/cheerpj/src/content/docs/11-guides/cheerpj-debug.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The reason your application isn't working could be quite simple. Try these check
1414
- You integrated CheerpJ into your web page by adding a `<script>` tag like this:
1515

1616
```html
17-
<script src="https://cjrtnc.leaningtech.com/4.2/loader.js"></script>
17+
<script src="https://cjrtnc.leaningtech.com/4.3/loader.js"></script>
1818
```
1919

2020
- The location of your JARs is correct and the prefix `/app/` is added when passing it to [`cheerpjRunJar`] or [`cheerpjRunMain`]. For more information visit the [virtual filesystem] guide.

sites/cheerpj/src/content/docs/11-guides/implementing-native-libraries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export default {
117117
<html>
118118
<head>
119119
<title>Native Library Example</title>
120-
<script src="https://cjrtnc.leaningtech.com/4.2/loader.js"></script>
120+
<script src="https://cjrtnc.leaningtech.com/4.3/loader.js"></script>
121121
</head>
122122
<body>
123123
<script>

sites/cheerpj/src/content/docs/11-guides/implementing-native-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Here, we provide an implementation for the `nativeAlert` method in the `Example`
108108
<html>
109109
<head>
110110
<title>Native Method Example</title>
111-
<script src="https://cjrtnc.leaningtech.com/4.2/loader.js"></script>
111+
<script src="https://cjrtnc.leaningtech.com/4.3/loader.js"></script>
112112
</head>
113113
<body>
114114
<script type="module">

sites/cheerpj/src/content/docs/11-guides/library-mode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Then, we’ll include that script from a minimal HTML page and run it in the bro
7373
<meta name="viewport" content="width=device-width, initial-scale=1" />
7474
<title>CheerpJ Library mode (Standard library)</title>
7575

76-
<script src="https://cjrtnc.leaningtech.com/4.2/loader.js"></script>
76+
<script src="https://cjrtnc.leaningtech.com/4.3/loader.js"></script>
7777
</head>
7878

7979
<body>
@@ -152,7 +152,7 @@ Next, in `index.html`, we include CheerpJ and `script.js`, provide a “Generate
152152
<meta name="viewport" content="width=device-width, initial-scale=1" />
153153
<title>CheerpJ Library Mode – PDF demo</title>
154154

155-
<script src="https://cjrtnc.leaningtech.com/4.2/loader.js"></script>
155+
<script src="https://cjrtnc.leaningtech.com/4.3/loader.js"></script>
156156

157157
<style>
158158
body {

0 commit comments

Comments
 (0)