Commit Graph

82 Commits

Author SHA1 Message Date
Brian Carroll
1d3078cab3
Remove debug code 2022-05-20 12:55:33 +01:00
Anton-4
063f7d4a26
Don't ignore warnings, remove fuse-ld arg
see https://github.com/rust-lang/cargo/issues/8010 on why I removed RUSTFLAGS="-Awarnings"
2022-05-20 12:02:54 +02:00
Brian Carroll
b54c1e2bc5
Copy .js from wasm-bindgen too! 2022-05-17 08:44:54 +01:00
Brian Carroll
18380b7151
Add some CI debug lines 2022-05-17 08:15:13 +01:00
Brian Carroll
65bbd85cc7
Disable wasm-opt by default and run it when needed 2022-05-16 09:02:43 +01:00
Brian Carroll
da86920324
Try installing wasm-opt via apt 2022-05-16 08:18:05 +01:00
Brian Carroll
03ae3f3c47
Create netlify-install directory on Netlify 2022-05-15 15:48:43 +01:00
Brian Carroll
1b6c2fccef
Install wasm-opt on Netlify, since wasm-pack fails to do so 2022-05-15 13:45:37 +01:00
Brian Carroll
6a91e66192
Delete env var NO_ZIG_INSTALLED since Zig is now installed on Netlify 2022-05-15 12:57:37 +01:00
Brian Carroll
3e7928096d Clean up Netlify script 2022-05-14 10:09:50 +01:00
Brian Carroll
1c56280a2c Install Zig on Netlify 2022-05-14 09:44:28 +01:00
Brian Carroll
a62a8ab205 Build web REPL on Netlify 2022-05-11 06:48:54 +01:00
Richard Feldman
e43948ba4f
Have www/build.sh use cargo run --bin roc-docs 2022-05-08 22:03:15 -04:00
Richard Feldman
ddfa45eeb5
Fix URLs in docs generation 2022-05-02 20:14:48 -04:00
Richard Feldman
eb92d20189
Build builtin docs from builtins/roc 2022-05-01 15:30:50 -04:00
Brian Carroll
0cae9a0e14 repl_www: get rid of separate build directory, it's too annoying when editing JS/CSS. 2022-03-17 09:52:50 +00:00
Brian Carroll
3867b2da01 www: Change download URL for pre-built web REPL
I'm making changes more frequently to the REPL than we are to the source code.
I want to be able to deploy it from a script rather than opening new GitHub issues,
so I decided to just commit the assets into a branch of a GitHub repo.
The repo was only used as a prototype for the web REPL so I don't use it anymore.
2022-03-04 13:12:56 +00:00
Brian Carroll
22f571ef3c Simplify www build scripts by putting the REPL HTML where it needs to end up 2022-03-03 08:30:35 +00:00
Richard Feldman
70b739bbfc
Update CSP to allow wasm compilation in web repl 2022-03-03 00:23:19 -05:00
Richard Feldman
3938dd476d
Capitalize DOCTYPE html in index.html 2022-03-03 00:23:19 -05:00
Richard Feldman
5b4615764c
Don't use <base> in repl_www
It seems to work inconsistently across browsers.
2022-03-02 20:26:16 -05:00
Richard Feldman
25f0948cf6
Tell Netlify to always build on push 2022-03-02 18:45:55 -05:00
Richard Feldman
cc105b3ac2
Make a change to index.html so Netlify redeploys 2022-03-02 18:43:59 -05:00
Richard Feldman
7b489e81b9
Have web repl use /repl as its URL root 2022-03-02 18:34:47 -05:00
Brian Carroll
861117fb64 www: use relative path in script tag for repl.js 2022-03-02 22:42:02 +00:00
Brian Carroll
97e496eef1 www: avoid building the Web REPL on Netlify. Download it instead. 2022-03-02 08:40:13 +00:00
Richard Feldman
fbac24268b
Make an include_bytes! work on Netlify 2022-02-28 21:16:22 -05:00
Richard Feldman
1c116d71b3
Introduce www/netlify.sh 2022-02-28 19:43:50 -05:00
Richard Feldman
32058a3336
Format index.html 2022-02-28 19:17:55 -05:00
Brian Carroll
223a9edfd2 Add a REPL page to the website at /repl/index.html 2022-02-28 19:29:09 +00:00
Elijah Schow
39e03ee612
Improve website typography
This commit adds minimal styles to improve the reading experience on the placeholder website.

 - Set a max width
 - Increase leading (line height)
 - Center the content
 - Add space after list items to let them breath
 - Change the font to sans-serif*

___
*This change isn't strictly necessary, but sans-serif fonts are arguably more legible on digital displays than their serif counterparts. Your mileage may vary.
2022-02-18 21:08:13 -06:00
Richard Feldman
8146d19275
Add link to source code to www/index.html 2022-02-10 16:35:11 -05:00
Richard Feldman
30f91d1968
Comment out a bunch of stuff in build.sh to fix it for now. 2022-02-10 16:35:11 -05:00
Anton-4
ab665b7380 Merge branch 'trunk' of github.com:rtfeldman/roc into docs_markup 2021-10-05 11:58:45 +02:00
Richard Feldman
08a3f0fb9a Add 'a taste of roc' link to www 2021-10-01 13:06:35 -05:00
Chadtech
9e12f6d3ec ToHtml trait for docs and some rudimentary syntax highlighting that is definitely a work in progress 2021-08-22 15:53:26 -04:00
Richard Feldman
0f0f2f6a1c Build all the docs on CI 2021-08-08 20:04:29 -04:00
Richard Feldman
68e76f085b Build docs for Num and List on CI 2021-08-08 15:57:56 -04:00
Richard Feldman
c77670d25f Drop obsolete search.js 2021-08-08 00:30:35 -04:00
Richard Feldman
5382f5495a Build both Str.roc and Bool.roc in one command 2021-08-07 23:54:06 -04:00
Richard Feldman
d37e30560b Add a base href root to docs links 2021-08-07 23:40:49 -04:00
Richard Feldman
1653b5af9b Generate docs for Str in www builds. 2021-08-07 21:46:20 -04:00
Richard Feldman
303ea96548 Merge remote-tracking branch 'origin/www' into trunk 2021-08-04 09:15:25 -04:00
Richard Feldman
3e74e94e9d
Merge pull request #1528 from rtfeldman/new-talk-www
Added Philly ETE talk to roc-lang.org
2021-08-04 09:10:24 -04:00
Richard Feldman
b6ea44af27 Add code blocks to README 2021-08-04 09:01:49 -04:00
Richard Feldman
d639de857d Print cargo and rustc versions in www build 2021-08-04 08:57:32 -04:00
Anton-4
97b2fbea5d added README on how to update roc-lang.org 2021-08-04 14:12:57 +02:00
Anton-4
48cfed5500 Added philly ETE talk to index.html 2021-08-04 14:08:48 +02:00
Richard Feldman
b43314218b CSS tweaks for code blocks 2021-07-17 18:48:43 -04:00
Richard Feldman
b2875ac7fc Suppress warnings when generating www.roc-lang.org 2021-06-06 07:43:52 -04:00