Commit Graph

67 Commits

Author SHA1 Message Date
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
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
15a2402208 Add .gitignore 2021-06-05 19:37:50 -04:00
Richard Feldman
adb9e6e1f8 Add www.roc-lang.org assets 2021-06-05 19:06:40 -04:00
Richard Feldman
2aaec3a808 Move www/ to other repo 2020-05-30 01:12:49 -04:00
Richard Feldman
be0f76e3e5 Fiddle with default colors a bit 2020-05-30 01:12:49 -04:00
Richard Feldman
891e15dbb7 Scoot the search button over a bit 2020-05-19 21:33:33 -04:00
Richard Feldman
5020dbc781 Go back to square corners on code areas.
This reverts commit 2a5dddaaed.
2020-05-19 21:32:08 -04:00
Richard Feldman
2a5dddaaed Try tapered corners on code areas 2020-05-19 21:31:56 -04:00
Richard Feldman
2b33fe7fbf Try octagonal code areas 2020-05-19 21:31:03 -04:00
Richard Feldman
607d443ee4 metallic logo 2020-05-19 18:05:41 -04:00
Richard Feldman
204c611729 Update logo.svg 2020-05-19 18:04:23 -04:00