Skip to content

Commit fd59c9c

Browse files
committed
point to the live demo
1 parent 4550cae commit fd59c9c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/src/_docs/choose-your-tool.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ framework, and only use one of the many integrations that
2020
wasn’t machine generated, and want the absolute bare minimum in terms of
2121
limitations as to what JavaScript can be produced.
2222

23-
[Try](https://whimsy.apache.org/ruby2js) for yourself.
23+
[Try](/demo) for yourself.
2424
[Compare with Opal](https://opalrb.com/try/#code:).
2525

2626
And, of course, the right solution might be to use

docs/src/_docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ puts context.eval('d.getYear()')+1900
8888

8989
{% rendercontent "docs/note", extra_margin: true %}
9090
Conversions can be explored interactively using the
91-
[demo](/docs/running-the-demo) provided. (**[Online Version](https://whimsy.apache.org/ruby2js)**)
91+
[demo](/docs/running-the-demo) provided. (**[Online Version](/demo)**)
9292
{% endrendercontent %}
9393

9494
## Create a Configuration

docs/src/_docs/running-the-demo.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ top_section: Behind the Scenes
55
category: demo
66
---
77

8-
**Ruby2JS** provides a web + CLI based demo tool you can use to try out Ruby code and see how it converts to JavaScript. (This is same tool used for the [online demo](https://whimsy.apache.org/ruby2js)).
8+
**Ruby2JS** provides a web + CLI based demo tool you can use to try out Ruby code and see how it converts to JavaScript. (This is same tool used for the [online demo](/demo)).
99

1010
## Usage
1111

docs/src/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ layout: home
1010

1111
<button-group class="buttons is-centered mb-10">
1212
<a href="/docs" class="button is-info is-large has-mixed-case">Get Started</a>
13-
<a href="https://whimsy.apache.org/ruby2js" class="button is-warning is-large has-mixed-case" target="_blank">Try It Online!</a>
13+
<a href="/demo" class="button is-warning is-large has-mixed-case" target="_blank">Try It Online!</a>
1414
</button-group>
1515

1616
**Ruby2JS** is for Ruby developers who want to produce JavaScript that looks hand-crafted, rather than machine generated. You can convert Ruby-like syntax and semantics as cleanly and “natively” as possible. This means that (most of the time) you’ll get a line-by-line, 1:1 correlation between your source code and the JS output.

0 commit comments

Comments
 (0)