Skip to content

Commit

Permalink
add subtitles to pages
Browse files Browse the repository at this point in the history
  • Loading branch information
bates64 committed Oct 12, 2023
1 parent 217ce48 commit d3f1262
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Run a Java application
subtitle: Convert a desktop app to a webapp
---

CheerpJ can run a Java application in the browser with little to no modifications. This page will help you getting started with CheerpJ and running your first Java application in the browser.
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/cheerpj3/12-reference/00-cheerpjInit.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: cheerpjInit
description: Set up and initialize the CheerpJ runtime environment
subtitle: Set up and initialize the CheerpJ runtime environment
---

`cheerpjInit` must be called once in the page to setup and initialise the CheerpJ runtime environment.
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/cheerpj3/12-reference/02-cheerpjRunJar.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: cheerpjRunJar
subtitle: Starts an application by executing its main class
subtitle: Execute the main class of a JAR
---

```ts
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: cheerpjRunLibrary
subtitle: Load a Java Library
---

Allows to load a Java Library into JavaScript.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: cheerpjCreateDisplay
description: Display GUI elements
subtitle: Display GUI elements
---

`cheerpjCreateDisplay` adds an element to the DOM which will be used for graphical rendering.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: cjGetRuntimeResources
subtitle: List resources that were loaded
---

Returns a JavaScript string representing the data that should be passed to [preloadResources]. Once parsed, it is an object containing the filenames that have been loaded from the runtime up to the time this function is called.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: cjGetProguardConfiguration
subtitle: Download a ProGuard configuration file
---

Triggers download of a configuration file which can be used to tree-shake JARs using [ProGuard].
Expand Down
1 change: 1 addition & 0 deletions src/content/docs/cheerpj3/13-examples/00-swingset3.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: SwingSet3
subtitle: Porting a Swing application to the web
---

In this tutorial, we'll run the SwingSet3 application in the browser. Here's what we'll build:
Expand Down

0 comments on commit d3f1262

Please sign in to comment.