Richard Feldman
63c1b14552
Add if/then/else to tutorial
2022-11-07 21:15:04 -05:00
Richard Feldman
d0e575f15d
Add if/then/else section to tutorial
2022-11-07 20:44:31 -05:00
Richard Feldman
ee83e47137
Finish "Building an application" tutorial section
2022-11-07 16:16:56 -05:00
Richard Feldman
fb59a89f0e
Fix some HTML validation errors
2022-11-07 16:01:23 -05:00
Richard Feldman
655a688906
Style <li> tags
2022-11-07 12:41:12 -05:00
Richard Feldman
dd004f1e59
Style tutorial footer
2022-11-07 12:26:30 -05:00
Richard Feldman
3df5ce78a9
Darken top bar
2022-11-07 12:01:03 -05:00
Richard Feldman
31c521d2dc
Fix top bar links
2022-11-07 11:46:16 -05:00
Richard Feldman
855cbaa177
Less margin between top bar links
2022-11-07 11:42:37 -05:00
Richard Feldman
1829a18391
Drop logo from top bar
2022-11-07 11:41:11 -05:00
Richard Feldman
79d43252e8
Fix dark mode link color
2022-11-07 11:41:11 -05:00
Richard Feldman
b5c29a162f
Make all the headings bigger
2022-11-07 11:36:58 -05:00
Richard Feldman
e147726f32
Re-add text-shadow to h3
2022-11-07 11:36:55 -05:00
Richard Feldman
3e1eb6667b
bigger h1
2022-11-07 11:36:50 -05:00
Richard Feldman
377a0e4d21
Revert "Get rid of top bar background color"
...
This reverts commit a50f6c87c3
.
2022-11-07 11:36:47 -05:00
Richard Feldman
a50f6c87c3
Get rid of top bar background color
2022-11-07 11:36:44 -05:00
Richard Feldman
4e204ee7d6
Grayscale top bar
2022-11-07 10:16:42 -05:00
Richard Feldman
572abc4b53
Fade the top bar a bit
2022-11-07 10:09:48 -05:00
Richard Feldman
ab7d58aada
Style top bar banner
2022-11-07 10:04:41 -05:00
Richard Feldman
636e798d34
Add a top bar to the tutorial
2022-11-07 09:30:38 -05:00
Richard Feldman
0bea0c2844
Tweak tutorial ToC more
2022-11-06 22:46:51 -05:00
Richard Feldman
fd10325e6a
Add ToC search box to tutorial
2022-11-06 22:24:43 -05:00
Richard Feldman
1ccaf72c6d
Add WIP table of contents to tutorial
2022-11-06 17:19:32 -05:00
Richard Feldman
7a4f816754
Go back to cyan headers
2022-11-06 16:16:51 -05:00
Richard Feldman
73b0ffa63e
Revert "Drop some text shadows"
...
This reverts commit d8704c98ce
.
2022-11-06 16:16:51 -05:00
Richard Feldman
9433e5dc45
Revert "Tweak tutorial colors a bit"
...
This reverts commit 85f33802305ccf30959a94084fb86665001676af.
2022-11-06 16:16:51 -05:00
Richard Feldman
d5139b342e
Tweak tutorial colors a bit
2022-11-06 16:16:51 -05:00
Richard Feldman
866baf620a
Add a repl link
2022-11-06 16:16:51 -05:00
Richard Feldman
d8704c98ce
Drop some text shadows
2022-11-06 15:58:52 -05:00
Richard Feldman
79b522338b
Revert "Try an inverted color scheme"
...
This reverts commit d200f19bbc
.
2022-11-06 15:53:08 -05:00
Richard Feldman
d200f19bbc
Try an inverted color scheme
2022-11-06 15:53:01 -05:00
Richard Feldman
36494b47ad
Further CSS stylings for tutorial
2022-11-06 15:13:46 -05:00
Richard Feldman
4aefb897e2
Restyle tutorial
2022-11-06 04:47:05 -05:00
Richard Feldman
1b29a60fe5
Use HTTPS package download in tutorial
2022-11-06 01:34:33 -04:00
Richard Feldman
4513257289
start on "Building an Application" in tutorial
2022-11-05 15:07:40 -04:00
Richard Feldman
d505ae8c93
Add tutorial section on calling functions
2022-11-05 14:34:26 -04:00
Richard Feldman
247f6cd9b9
Use double-click for repl prompt selector
2022-11-05 14:13:07 -04:00
Richard Feldman
41591177b6
Add more tutorial content and repl prompt selector
2022-11-05 13:33:34 -04:00
Richard Feldman
0f05e7ff76
Add string interpolation to tutorial
2022-11-05 02:25:35 -04:00
Richard Feldman
4bb86b05e3
Explain REPL auto-vars in tutorial
2022-11-05 01:26:17 -04:00
Richard Feldman
a7afdb641b
REVERT ME build.sh
2022-11-05 01:26:17 -04:00
Richard Feldman
6d261e75fb
Move the tutorial from md to HTML
2022-11-05 01:26:15 -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
c36393bdec
Drop unused CSS declaration
2022-10-23 18:55:41 -04:00
Richard Feldman
8d48923607
Add different-names html
2022-10-23 18:55:41 -04: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
Brian Carroll
8e65462887
www: fix REPL link
2022-10-11 08:13:25 +01:00
Richard Feldman
60c0ec5944
Add Netlify link so we can get an Open Source plan
2022-10-10 11:32:40 -04:00
Richard Feldman
caacc0a4e5
Call out closures as being notably performant
2022-10-10 11:32:40 -04:00
Richard Feldman
0faafb60b1
Mention hot code loading not started yet
2022-10-10 11:32:40 -04:00
Richard Feldman
f0c8f2688f
Revise the performance goals section more
2022-10-10 11:32:39 -04:00
Richard Feldman
a6c2dcedf3
Revise monomorphization description on homepage
...
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2022-10-10 11:32:39 -04:00
Richard Feldman
2bd9870995
Expand list of Roc's applications on homepage
...
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2022-10-10 11:32:39 -04:00
Richard Feldman
0690812ac6
Revise wording of performance section.
2022-10-10 11:32:39 -04:00
Richard Feldman
753ae12f50
Revise some explanations of dev backend
2022-10-10 11:32:39 -04:00
Richard Feldman
92c1a78f00
Fix typo
2022-10-10 11:32:39 -04:00
Richard Feldman
c9d0ed8490
Extract out homepage.css
2022-10-10 11:32:38 -04:00
Richard Feldman
287cde00cd
Update roc-lang.org homepage
2022-10-10 11:32:38 -04:00
Jan Van Bruggen
8ada13cc3b
Merge pull request #4015 from roc-lang/simplify_examples
...
Drastically simplify examples directory
2022-10-08 03:46:12 -06:00
Anton-4
c6ec3d5d30
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples
2022-10-07 16:00:32 +02:00
Brian Carroll
5ef7cb2750
www: handle empty input in web REPL
2022-10-07 08:26:31 +01:00
Brian Carroll
76a8a60547
Web REPL: ensure we only try to append to DOM Elements, not text nodes
2022-10-06 08:27:50 +01:00
Anton-4
0ddc69e066
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples
2022-09-24 16:49:50 +02:00
Brian Carroll
2b3e386345
www: Disable Web REPL input until the compiler .wasm has loaded
2022-09-12 23:00:22 +01:00
Jan Van Bruggen
527f39b8f2
Move Roc CLI testing examples to crates/
2022-09-11 22:32:15 -06:00
Jan Van Bruggen
3cad172c79
Simplify & generalize comment
2022-09-11 10:25:02 -06:00
Jan Van Bruggen
f967466346
Rephrase "your machine" to "the current machine"
2022-09-11 10:25:02 -06:00
Jan Van Bruggen
4625a0a869
Rephrase CPU-related "platform"/"host" to "target"/"your machine"
2022-09-11 10:25:02 -06:00
Jan Van Bruggen
30fec8eacd
Add missing h1
s
2022-09-09 01:12:32 -06:00
Jan Van Bruggen
072a6bd002
Eliminate consecutive newlines
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md012
2022-09-09 01:12:30 -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
Richard Feldman
debcea0f8f
Set cache-control headers on Netlify
2022-09-01 14:24:40 -04:00
Brian Carroll
c835db8113
Update www build script for nightly REPL build
2022-08-25 08:41:26 +01:00
Anton-4
26f3f22479
put important text in bold
2022-08-24 14:48:08 -04:00
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
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
Richard Feldman
cee061c64f
Bump font size on module-name on mobile
2020-05-19 17:37:54 -04:00
Richard Feldman
2773576014
Fix some more styling and accessibility issues
2020-05-19 17:35:28 -04:00
Richard Feldman
62a399c569
Make things mobile-friendly
2020-05-18 23:21:36 -04:00
Richard Feldman
fd05ba041c
Give the sidebar more room.
2020-05-18 00:07:57 -04:00
Richard Feldman
3749f906f5
Fix some resizing behavior
2020-05-18 00:06:39 -04:00
Richard Feldman
e05a3f6015
Revise widths
2020-05-17 23:06:28 -04:00
Richard Feldman
40bb94fe04
Revise <code> and layout more
2020-05-17 22:43:26 -04:00
Richard Feldman
94c220b967
Fix a contrast issue
2020-05-17 17:51:34 -04:00
Richard Feldman
2f9b6cac93
Lots more styling
2020-05-17 17:46:26 -04:00
Richard Feldman
425d1c74f6
Space out the module name a bit more
2020-05-17 12:01:15 -04:00
Richard Feldman
50774a0965
Restyle sidebar
2020-05-17 11:56:24 -04:00
Richard Feldman
b69d4965ca
Tapered corners
2020-05-17 11:30:12 -04:00
Richard Feldman
7b67f04383
Revise solid logo
2020-05-17 03:03:12 -04:00
Richard Feldman
bfa8ffce12
Revised logo svg
2020-05-17 02:57:30 -04:00
Richard Feldman
746125282b
Add favicon
2020-05-17 02:38:00 -04:00
Richard Feldman
b82b407eb7
Use logo-solid
2020-05-17 02:15:08 -04:00
Richard Feldman
009de003b4
Add a mockup of a package docs page
2020-05-17 02:08:32 -04:00