Skip to content

[GR-63787] Add GraalWasm microsite. #11063

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference-manual/languages.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ If you are mostly interested in a specific language runtime on GraalVM, see the
* [Espresso](java-on-truffle/README.md)
* [GraalJS](https://github.com/oracle/graaljs/blob/master/docs/user/README.md)
* [GraalPy](https://www.graalvm.org/python/docs/)
* [GraalWasm](wasm/README.md)
* [GraalWasm](https://www.graalvm.org/webassembly/docs/)
* [LLVM Languages](llvm/README.md)
* [TruffleRuby](https://github.com/oracle/truffleruby/blob/master/doc/user/README.md)
* [FastR](https://github.com/oracle/fastr/blob/master/documentation/user/README.md)
2 changes: 1 addition & 1 deletion docs/reference-manual/reference-manuals.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are mostly interested in a specific language runtime on GraalVM, see the
* [Espresso](java-on-truffle/README.md)
* [GraalJS](https://github.com/oracle/graaljs/blob/master/docs/user/README.md)
* [GraalPy](https://github.com/oracle/graalpython/blob/master/docs/user/README.md)
* [GraalWasm](wasm/README.md)
* [GraalWasm](https://www.graalvm.org/webassembly/docs/)
* [LLVM Languages](llvm/README.md)
* [TruffleRuby](https://github.com/oracle/truffleruby/blob/master/doc/user/README.md)
* [FastR](https://github.com/oracle/fastr/blob/master/documentation/user/README.md)
9 changes: 0 additions & 9 deletions docs/reference-manual/wasm/guides/embed-c-in-java.md

This file was deleted.

6 changes: 0 additions & 6 deletions wasm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,6 @@ You can also use the WASI SDK toolchain to compile C programs into WebAssembly m

GraalWasm is licensed under the [Universal Permissive License](https://oss.oracle.com/licenses/upl/).

## Related Documentation

- [GraalWasm Options](../docs/reference-manual/wasm/Options.md)
- [Interoperability with WebAssembly Modules](../docs/reference-manual/wasm/Interoperability.md)
- [Embedding Languages documentation](../docs/reference-manual/embedding/embed-languages.md)

### Documentation for Contributors

- [Building GraalWasm](docs/contributor/Building.md)
Expand Down
2 changes: 2 additions & 0 deletions wasm/docs/site/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
_site
.jekyll-metadata
7 changes: 7 additions & 0 deletions wasm/docs/site/01-docs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
layout: docs
title: Documentation
permalink: docs/
---

{% gfm_docs ../user/README.md %}
33 changes: 33 additions & 0 deletions wasm/docs/site/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
source "https://rubygems.org"

gem "jekyll", "~> 4.3.4"

gem "graal-languages-jekyll-theme"

group :jekyll_plugins do
gem "jekyll-relative-links"
gem "jekyll-seo-tag"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1", :platforms => [:mingw, :x64_mingw, :mswin]

# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]

# Clean unused resources with `bundle exec siteleaf clean resources`
group :development do
gem 'siteleaf'
gem 'pry'
gem 'html-proofer'
# Run this with:
# bundle exec htmlproofer --swap-urls '^/python/:/' ./_site/
end
166 changes: 166 additions & 0 deletions wasm/docs/site/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
GEM
remote: https://rubygems.org/
specs:
Ascii85 (2.0.1)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
afm (0.2.2)
async (2.23.0)
console (~> 1.29)
fiber-annotation
io-event (~> 1.9)
metrics (~> 0.12)
traces (~> 0.15)
bigdecimal (3.1.8)
coderay (1.1.3)
colorator (1.1.0)
concurrent-ruby (1.3.4)
console (1.29.3)
fiber-annotation
fiber-local (~> 1.1)
json
csv (3.3.0)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
ethon (0.16.0)
ffi (>= 1.15.0)
eventmachine (1.2.7)
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
fiber-annotation (0.2.0)
fiber-local (1.1.0)
fiber-storage
fiber-storage (1.0.0)
forwardable-extended (2.6.0)
google-protobuf (4.28.3-arm64-darwin)
bigdecimal
rake (>= 13)
google-protobuf (4.28.3-x86_64-linux)
bigdecimal
rake (>= 13)
graal-languages-jekyll-theme (0.1.0)
jekyll (~> 4.3)
hashery (2.1.2)
html-proofer (5.0.10)
addressable (~> 2.3)
async (~> 2.1)
nokogiri (~> 1.13)
pdf-reader (~> 2.11)
rainbow (~> 3.0)
typhoeus (~> 1.3)
yell (~> 2.0)
zeitwerk (~> 2.5)
http_parser.rb (0.8.0)
httparty (0.22.0)
csv
mini_mime (>= 1.0.0)
multi_xml (>= 0.5.2)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
io-event (1.9.0)
jekyll (4.3.4)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-relative-links (0.7.0)
jekyll (>= 3.3, < 5.0)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-seo-tag (2.8.0)
jekyll (>= 3.8, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
json (2.10.1)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
method_source (1.1.0)
metrics (0.12.1)
mini_mime (1.1.5)
multi_xml (0.7.1)
bigdecimal (~> 3.1)
nokogiri (1.18.3-arm64-darwin)
racc (~> 1.4)
nokogiri (1.18.3-x86_64-linux-gnu)
racc (~> 1.4)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
pdf-reader (2.14.1)
Ascii85 (>= 1.0, < 3.0, != 2.0.0)
afm (~> 0.2.1)
hashery (~> 2.0)
ruby-rc4
ttfunk
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (6.0.1)
racc (1.8.1)
rack (3.1.8)
rainbow (3.1.1)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.3.9)
rouge (4.5.1)
ruby-rc4 (0.1.5)
safe_yaml (1.0.5)
sass-embedded (1.81.0-arm64-darwin)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-x86_64-linux-gnu)
google-protobuf (~> 4.28)
siteleaf (2.3.0)
httparty (>= 0.16.0)
jekyll (>= 1.4.1)
rack
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
traces (0.15.2)
ttfunk (1.8.0)
bigdecimal (~> 3.1)
typhoeus (1.4.1)
ethon (>= 0.9.0)
unicode-display_width (2.6.0)
webrick (1.9.0)
yell (2.2.2)
zeitwerk (2.7.2)

PLATFORMS
arm64-darwin-24
x86_64-linux

DEPENDENCIES
graal-languages-jekyll-theme
html-proofer
http_parser.rb (~> 0.6.0)
jekyll (~> 4.3.4)
jekyll-relative-links
jekyll-seo-tag
pry
siteleaf
tzinfo (>= 1, < 3)
tzinfo-data
wdm (~> 0.1)

BUNDLED WITH
2.5.9
23 changes: 23 additions & 0 deletions wasm/docs/site/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
baseurl: "/webassembly"
url: "https://graalvm.org"
github: "oracle/graal"
github_subdir: "/wasm"
license_path: "/blob/master/wasm/LICENSE"
language_version: 24.2.1
name: GraalWasm

permalink: pretty

plugins:
- jekyll-relative-links
- jekyll-seo-tag
- graal-languages-jekyll-theme

theme: graal-languages-jekyll-theme

sass:
quiet_deps: true

exclude:
- Gemfile
- Gemfile.lock
19 changes: 19 additions & 0 deletions wasm/docs/site/assets/img/home/webassembly-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions wasm/docs/site/assets/img/logos/webassembly-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions wasm/docs/site/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading