Skip to content

Commit 413c1a5

Browse files
committed
[GR-63787] Add GraalWasm microsite.
PullRequest: graal/20462
2 parents ea00159 + cfafd59 commit 413c1a5

File tree

15 files changed

+535
-28
lines changed

15 files changed

+535
-28
lines changed

docs/reference-manual/languages.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ If you are mostly interested in a specific language runtime on GraalVM, see the
1414
* [Espresso](java-on-truffle/README.md)
1515
* [GraalJS](https://github.com/oracle/graaljs/blob/master/docs/user/README.md)
1616
* [GraalPy](https://www.graalvm.org/python/docs/)
17-
* [GraalWasm](wasm/README.md)
17+
* [GraalWasm](https://www.graalvm.org/webassembly/docs/)
1818
* [LLVM Languages](llvm/README.md)
1919
* [TruffleRuby](https://github.com/oracle/truffleruby/blob/master/doc/user/README.md)

docs/reference-manual/reference-manuals.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ If you are mostly interested in a specific language runtime on GraalVM, see the
2020
* [Espresso](java-on-truffle/README.md)
2121
* [GraalJS](https://github.com/oracle/graaljs/blob/master/docs/user/README.md)
2222
* [GraalPy](https://github.com/oracle/graalpython/blob/master/docs/user/README.md)
23-
* [GraalWasm](wasm/README.md)
23+
* [GraalWasm](https://www.graalvm.org/webassembly/docs/)
2424
* [LLVM Languages](llvm/README.md)
2525
* [TruffleRuby](https://github.com/oracle/truffleruby/blob/master/doc/user/README.md)

docs/reference-manual/wasm/guides/embed-c-in-java.md

-9
This file was deleted.

wasm/README.md

-6
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,6 @@ You can also use the WASI SDK toolchain to compile C programs into WebAssembly m
164164
165165
GraalWasm is licensed under the [Universal Permissive License](https://oss.oracle.com/licenses/upl/).
166166
167-
## Related Documentation
168-
169-
- [GraalWasm Options](../docs/reference-manual/wasm/Options.md)
170-
- [Interoperability with WebAssembly Modules](../docs/reference-manual/wasm/Interoperability.md)
171-
- [Embedding Languages documentation](../docs/reference-manual/embedding/embed-languages.md)
172-
173167
### Documentation for Contributors
174168
175169
- [Building GraalWasm](docs/contributor/Building.md)

wasm/docs/site/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
_site
2+
.jekyll-metadata

wasm/docs/site/01-docs.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: docs
3+
title: Documentation
4+
permalink: docs/
5+
---
6+
7+
{% gfm_docs ../user/README.md %}

wasm/docs/site/Gemfile

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
source "https://rubygems.org"
2+
3+
gem "jekyll", "~> 4.3.4"
4+
5+
gem "graal-languages-jekyll-theme"
6+
7+
group :jekyll_plugins do
8+
gem "jekyll-relative-links"
9+
gem "jekyll-seo-tag"
10+
end
11+
12+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
13+
# and associated library.
14+
platforms :mingw, :x64_mingw, :mswin, :jruby do
15+
gem "tzinfo", ">= 1", "< 3"
16+
gem "tzinfo-data"
17+
end
18+
19+
# Performance-booster for watching directories on Windows
20+
gem "wdm", "~> 0.1", :platforms => [:mingw, :x64_mingw, :mswin]
21+
22+
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
23+
# do not have a Java counterpart.
24+
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
25+
26+
# Clean unused resources with `bundle exec siteleaf clean resources`
27+
group :development do
28+
gem 'siteleaf'
29+
gem 'pry'
30+
gem 'html-proofer'
31+
# Run this with:
32+
# bundle exec htmlproofer --swap-urls '^/python/:/' ./_site/
33+
end

wasm/docs/site/Gemfile.lock

+166
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
Ascii85 (2.0.1)
5+
addressable (2.8.7)
6+
public_suffix (>= 2.0.2, < 7.0)
7+
afm (0.2.2)
8+
async (2.23.0)
9+
console (~> 1.29)
10+
fiber-annotation
11+
io-event (~> 1.9)
12+
metrics (~> 0.12)
13+
traces (~> 0.15)
14+
bigdecimal (3.1.8)
15+
coderay (1.1.3)
16+
colorator (1.1.0)
17+
concurrent-ruby (1.3.4)
18+
console (1.29.3)
19+
fiber-annotation
20+
fiber-local (~> 1.1)
21+
json
22+
csv (3.3.0)
23+
em-websocket (0.5.3)
24+
eventmachine (>= 0.12.9)
25+
http_parser.rb (~> 0)
26+
ethon (0.16.0)
27+
ffi (>= 1.15.0)
28+
eventmachine (1.2.7)
29+
ffi (1.17.0-arm64-darwin)
30+
ffi (1.17.0-x86_64-linux-gnu)
31+
fiber-annotation (0.2.0)
32+
fiber-local (1.1.0)
33+
fiber-storage
34+
fiber-storage (1.0.0)
35+
forwardable-extended (2.6.0)
36+
google-protobuf (4.28.3-arm64-darwin)
37+
bigdecimal
38+
rake (>= 13)
39+
google-protobuf (4.28.3-x86_64-linux)
40+
bigdecimal
41+
rake (>= 13)
42+
graal-languages-jekyll-theme (0.1.0)
43+
jekyll (~> 4.3)
44+
hashery (2.1.2)
45+
html-proofer (5.0.10)
46+
addressable (~> 2.3)
47+
async (~> 2.1)
48+
nokogiri (~> 1.13)
49+
pdf-reader (~> 2.11)
50+
rainbow (~> 3.0)
51+
typhoeus (~> 1.3)
52+
yell (~> 2.0)
53+
zeitwerk (~> 2.5)
54+
http_parser.rb (0.8.0)
55+
httparty (0.22.0)
56+
csv
57+
mini_mime (>= 1.0.0)
58+
multi_xml (>= 0.5.2)
59+
i18n (1.14.6)
60+
concurrent-ruby (~> 1.0)
61+
io-event (1.9.0)
62+
jekyll (4.3.4)
63+
addressable (~> 2.4)
64+
colorator (~> 1.0)
65+
em-websocket (~> 0.5)
66+
i18n (~> 1.0)
67+
jekyll-sass-converter (>= 2.0, < 4.0)
68+
jekyll-watch (~> 2.0)
69+
kramdown (~> 2.3, >= 2.3.1)
70+
kramdown-parser-gfm (~> 1.0)
71+
liquid (~> 4.0)
72+
mercenary (>= 0.3.6, < 0.5)
73+
pathutil (~> 0.9)
74+
rouge (>= 3.0, < 5.0)
75+
safe_yaml (~> 1.0)
76+
terminal-table (>= 1.8, < 4.0)
77+
webrick (~> 1.7)
78+
jekyll-relative-links (0.7.0)
79+
jekyll (>= 3.3, < 5.0)
80+
jekyll-sass-converter (3.0.0)
81+
sass-embedded (~> 1.54)
82+
jekyll-seo-tag (2.8.0)
83+
jekyll (>= 3.8, < 5.0)
84+
jekyll-watch (2.2.1)
85+
listen (~> 3.0)
86+
json (2.10.1)
87+
kramdown (2.4.0)
88+
rexml
89+
kramdown-parser-gfm (1.1.0)
90+
kramdown (~> 2.0)
91+
liquid (4.0.4)
92+
listen (3.9.0)
93+
rb-fsevent (~> 0.10, >= 0.10.3)
94+
rb-inotify (~> 0.9, >= 0.9.10)
95+
mercenary (0.4.0)
96+
method_source (1.1.0)
97+
metrics (0.12.1)
98+
mini_mime (1.1.5)
99+
multi_xml (0.7.1)
100+
bigdecimal (~> 3.1)
101+
nokogiri (1.18.3-arm64-darwin)
102+
racc (~> 1.4)
103+
nokogiri (1.18.3-x86_64-linux-gnu)
104+
racc (~> 1.4)
105+
pathutil (0.16.2)
106+
forwardable-extended (~> 2.6)
107+
pdf-reader (2.14.1)
108+
Ascii85 (>= 1.0, < 3.0, != 2.0.0)
109+
afm (~> 0.2.1)
110+
hashery (~> 2.0)
111+
ruby-rc4
112+
ttfunk
113+
pry (0.14.2)
114+
coderay (~> 1.1)
115+
method_source (~> 1.0)
116+
public_suffix (6.0.1)
117+
racc (1.8.1)
118+
rack (3.1.8)
119+
rainbow (3.1.1)
120+
rake (13.2.1)
121+
rb-fsevent (0.11.2)
122+
rb-inotify (0.11.1)
123+
ffi (~> 1.0)
124+
rexml (3.3.9)
125+
rouge (4.5.1)
126+
ruby-rc4 (0.1.5)
127+
safe_yaml (1.0.5)
128+
sass-embedded (1.81.0-arm64-darwin)
129+
google-protobuf (~> 4.28)
130+
sass-embedded (1.81.0-x86_64-linux-gnu)
131+
google-protobuf (~> 4.28)
132+
siteleaf (2.3.0)
133+
httparty (>= 0.16.0)
134+
jekyll (>= 1.4.1)
135+
rack
136+
terminal-table (3.0.2)
137+
unicode-display_width (>= 1.1.1, < 3)
138+
traces (0.15.2)
139+
ttfunk (1.8.0)
140+
bigdecimal (~> 3.1)
141+
typhoeus (1.4.1)
142+
ethon (>= 0.9.0)
143+
unicode-display_width (2.6.0)
144+
webrick (1.9.0)
145+
yell (2.2.2)
146+
zeitwerk (2.7.2)
147+
148+
PLATFORMS
149+
arm64-darwin-24
150+
x86_64-linux
151+
152+
DEPENDENCIES
153+
graal-languages-jekyll-theme
154+
html-proofer
155+
http_parser.rb (~> 0.6.0)
156+
jekyll (~> 4.3.4)
157+
jekyll-relative-links
158+
jekyll-seo-tag
159+
pry
160+
siteleaf
161+
tzinfo (>= 1, < 3)
162+
tzinfo-data
163+
wdm (~> 0.1)
164+
165+
BUNDLED WITH
166+
2.5.9

wasm/docs/site/_config.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
baseurl: "/webassembly"
2+
url: "https://graalvm.org"
3+
github: "oracle/graal"
4+
github_subdir: "/wasm"
5+
license_path: "/blob/master/wasm/LICENSE"
6+
language_version: 24.2.1
7+
name: GraalWasm
8+
9+
permalink: pretty
10+
11+
plugins:
12+
- jekyll-relative-links
13+
- jekyll-seo-tag
14+
- graal-languages-jekyll-theme
15+
16+
theme: graal-languages-jekyll-theme
17+
18+
sass:
19+
quiet_deps: true
20+
21+
exclude:
22+
- Gemfile
23+
- Gemfile.lock
Loading
Loading
Loading

wasm/docs/site/assets/logo.svg

+11
Loading

0 commit comments

Comments
 (0)