Commit Graph

110 Commits

Author SHA1 Message Date
Anton-4
be869f3caf
restructuring, cleanup, many minor edits 2022-12-20 20:11:21 +01:00
Anton-4
b029775427
tutorial and docs improvements 2022-12-05 14:53:18 +01:00
Richard Feldman
5570fe4108
Fix relative URLs in packages/basic-cli/
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2022-11-27 23:00:14 -05:00
Richard Feldman
11e2e20daa
Make destination dir for basic-cli package 2022-11-27 00:55:17 -05:00
Richard Feldman
956d3d1462
basic-cli docs --> roc-lang.org/packages/basic-cli 2022-11-26 19:04:35 -05:00
Richard Feldman
d3f39400b6
Remove downloaded-basic-cli once we're done 2022-11-26 19:04:35 -05:00
Richard Feldman
d4a23cbb18
Build CLI docs from the basic-cli repo 2022-11-26 19:04:35 -05:00
Georges Boris
860f27bbf4
chore: www/build.sh get fonts from commit tarball
Signed-off-by: Georges Boris <georgesboris@gmail.com>
2022-11-18 16:56:35 -03:00
Georges Boris
4d94b3ec87
chore: update www/build.sh using roc-lang/design-assets
Signed-off-by: Georges Boris <georgesboris@gmail.com>
2022-11-18 16:56:24 -03:00
Richard Feldman
1e4cf52fd4
Merge pull request #4504 from roc-lang/fix-styles
Fix some web styles
2022-11-16 21:53:05 -05:00
Georges Boris
770656d920 feat: prepare build.sh for PR 2022-11-13 16:20:58 -03:00
Richard Feldman
e2891257ba
Don't use a style attribute for the builtins tip
This doesn't work because of our content-security policy!
2022-11-11 12:24:19 -05:00
Richard Feldman
3658af39e8
Revert "Try out some favicon stuff"
This reverts commit ea8475002b.
2022-11-09 23:35:34 -05:00
Richard Feldman
ea8475002b
Try out some favicon stuff 2022-11-09 23:35:28 -05:00
Richard Feldman
338de0ac41
wip download fonts in build.sh 2022-11-09 09:55:52 -05:00
Richard Feldman
a7afdb641b
REVERT ME build.sh 2022-11-05 01:26:17 -04:00
Anton-4
85ce321c4d
Merge pull request #4347 from roc-lang/benchmarks-to-nix
moved earthly benchmarks to nix
2022-11-02 14:36:20 +01:00
Richard Feldman
921ab885ce
Move where the "different name" tip goes 2022-10-23 18:55:41 -04:00
Richard Feldman
87584a33ca
Add tip for builtins 2022-10-23 18:55:40 -04:00
Anton-4
54ad5d3416
moved benchmarks to nix 2022-10-17 17:40:35 +02:00
Jan Van Bruggen
527f39b8f2
Move Roc CLI testing examples to crates/ 2022-09-11 22:32:15 -06:00
Richard Feldman
85ac11171e
Exclude Effect.roc from cli docs generation 2022-09-03 21:12:39 -04:00
Richard Feldman
1505cb514e
Generate docs for CLI example platform 2022-09-03 21:06:41 -04:00
Brian Carroll
c835db8113
Update www build script for nightly REPL build 2022-08-25 08:41:26 +01:00
Richard Feldman
f0cd968aa8
Update Netlify source code download URL 2022-08-12 15:27:24 -04:00
Anton-4
720f02372c
use most compatible bash shebang 2022-08-12 11:45:02 +02: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
Anton-4
000d766c03
crates path fix 2022-07-02 14:46:57 +02: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
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
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
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
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
7b489e81b9
Have web repl use /repl as its URL root 2022-03-02 18:34:47 -05:00
Brian Carroll
97e496eef1 www: avoid building the Web REPL on Netlify. Download it instead. 2022-03-02 08:40:13 +00:00
Brian Carroll
223a9edfd2 Add a REPL page to the website at /repl/index.html 2022-02-28 19:29:09 +00: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
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
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
d639de857d Print cargo and rustc versions in www build 2021-08-04 08:57:32 -04:00
Richard Feldman
b2875ac7fc Suppress warnings when generating www.roc-lang.org 2021-06-06 07:43:52 -04:00
Richard Feldman
1a63bd570f Create index.html files in doc gen
This way, even when previewing them locally
you can see (for example) /Str instead of /Str.html
2021-06-06 01:31:47 -04:00
Richard Feldman
6ec8c7e944 Give each generated builtin doc its own index.html 2021-06-06 01:25:56 -04:00
Richard Feldman
9eee9df29b Don't use LLVM when building docs 2021-06-06 00:33:11 -04:00
Richard Feldman
e09696113c Allow running bash www/build.sh 2021-06-05 22:20:32 -04:00
Richard Feldman
cb7ee34f21 Generate builtins when buiding www site 2021-06-05 19:38:07 -04:00
Richard Feldman
adb9e6e1f8 Add www.roc-lang.org assets 2021-06-05 19:06:40 -04:00