Commit Graph

96 Commits

Author SHA1 Message Date
Richard Feldman
06ef644995
Link to roc-lang/roc 2022-08-12 15:28:24 -04:00
Richard Feldman
f0cd968aa8
Update Netlify source code download URL 2022-08-12 15:27:24 -04:00
Richard Feldman
7b2c1a7e64
s/trunk/main/g 2022-08-12 15:24:37 -04:00
Richard Feldman
4505617c67
Merge pull request #3345 from roc-lang/authors
Serve AUTHORS from roc-lang/roc repo
2022-08-12 14:56:59 -04:00
Anton-4
720f02372c
use most compatible bash shebang 2022-08-12 11:45:02 +02:00
Brian Carroll
3f2089ef5c
www: change asset paths to work in prod as well as locally 2022-07-12 22:44:57 +01:00
Brian Carroll
e17ce60a93
www: Explicitly list downloaded REPL filenames, to fail build if not found 2022-07-12 08:03:00 +01:00
Brian Carroll
5246e3fa1c
www: move downloaded REPL assets to the right place 2022-07-12 07:50:52 +01:00
Brian Carroll
9f71126242
Link to the REPL from the main page 2022-07-09 10:09:31 +01:00
Brian Carroll
fd6d10a8be
Move web REPL assets into www folder and build script into repl_wasm crate 2022-07-09 10:02:24 +01:00
Anton-4
000d766c03
crates path fix 2022-07-02 14:46:57 +02:00
Richard Feldman
f8d24ba618
Serve AUTHORS from roc-lang/roc repo 2022-06-27 11:26:41 -04:00
Brian Carroll
17ceaa007c
www: go back to downloading Web REPL from external URL, to avoid Netlify timeout 2022-06-27 08:17:56 +01:00
Richard Feldman
6d3c8ae759
Update link to download source code
Looks like the old one got GC'd. This should last us until the repo is public, at which point this code can be removed!
2022-06-06 20:26:12 -04:00
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