Commit Graph

476 Commits

Author SHA1 Message Date
Anton-4
f7d492c73c
wip site path fix
right now a different css file is used depending on whether you go to `https://www.roc-lang.org/wip/` or `https://www.roc-lang.org/wip`

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-07-07 14:26:33 +02:00
Anton-4
832272dfd7
forgot dollar sign
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-07-07 10:37:59 +02:00
Anton-4
02f7039b14
fix java link
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-07-05 19:11:46 +02:00
Anton-4
9c40811da7
Merge branch 'main' into website-update
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-07-05 19:02:38 +02:00
Anton-4
ff4b4cb3a3
deploy wip website, minor changes 2023-07-05 18:54:28 +02:00
Anton-4
8bdbc22f29
basic-cli old docs site
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-06-27 16:11:54 +02:00
Anton-4
347a66cc61
Merge branch 'main' into patch-1 2023-06-26 19:16:17 +02:00
NoaVidovic
74ed31c5a9
Fix typo in tutorial.md
The first example of an app module header included `provides main to pf` instead of the correct `provides [main] to pf`

Signed-off-by: NoaVidovic <noavidovic0@gmail.com>
2023-06-25 22:09:56 +02:00
Anton-4
419f5a4f6a
add warning icon
This helps grab the attention.

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-06-25 19:39:52 +02:00
KekmaTime
69a67aca36 added-paragraph 2023-06-25 19:24:09 +05:30
Luke Boswell
fd18840bda
update css 2023-06-25 14:20:32 +10:00
Luke Boswell
d22d5a1202
more content for WIP website 2023-06-25 14:20:00 +10:00
Luke Boswell
97c4ca8b8d
update page title and descriptions 2023-06-24 20:15:52 +10:00
Luke Boswell
ebac468d24
Udpate structure of WIP website 2023-06-24 20:08:16 +10:00
Richard Feldman
bdb93fda5e
Update to basic-cli 0.4.0 2023-06-22 16:58:50 -04:00
Luke Boswell
cfe528c38d
add the Oct 2022 website update as a blog article 2023-06-22 16:18:13 +10:00
Luke Boswell
caf95cc811
Remove crash which was caussing issues 2023-06-22 16:17:49 +10:00
Luke Boswell
78c8854207
change binary name to reduce name conflicts 2023-06-22 16:16:49 +10:00
Luke Boswell
7151778261
fix error message in build script 2023-06-22 15:09:43 +10:00
Luke Boswell
da48918094
add wip_new_website 2023-06-21 21:59:41 +10:00
Luke Boswell
bab222a0d3
Merge remote-tracking branch 'remote/main' into restore-basic-cli-docs 2023-06-21 13:56:59 +10:00
Luke Boswell
a6654c6e37
WIP initial scope for website update 2023-06-20 21:39:33 +10:00
Anton-4
de93c96125
fix desugaring table
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-06-17 17:10:29 +02:00
Anton-4
48ba897590
tutorial small fixes
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-06-17 16:55:35 +02:00
Anton-4
31d41dbccb
add missing example
fixes #5556 

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-06-17 14:09:53 +02:00
Bryce Miller
29561372de
merge main 2023-06-05 20:21:44 -04:00
Bryce Miller
cb08225bf0
| -> where 2023-06-05 20:19:00 -04:00
Anton-4
29795e9896
accidental double curl
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-06-02 15:33:17 +02:00
Anton-4
21571f26b3
update ci to new release filename 2023-06-02 14:35:09 +02:00
Richard Feldman
f1745e087c
Remove incomplete paragraph tag 2023-05-23 11:29:10 -04:00
Anton-4
af8c3ffd73
fixed docs index.html overwrite 2023-05-17 17:39:15 +02:00
Ayaz
ba1f8ffe5f
Merge pull request #5272 from extemporalgenome/markdown-typos-20230410
markdown typo fixes
2023-05-03 10:24:52 -05:00
Anton-4
8d67c253e8
use basic-cli 0.3.2 2023-04-29 14:02:08 +02:00
Anton-4
cac2eac6de
remove duplicate keyword
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-04-25 16:54:01 +02:00
Luke Boswell
587cb21069
change to simple list, table wasn't working 2023-04-21 09:10:04 +10:00
human154
760b9bbe03
Tutorial: Add A Table Of Roc's Keywords
Signed-off-by: human154 <46430360+human154@users.noreply.github.com>
2023-04-20 14:37:18 -04:00
Kevin Gillette
0321f91c70
Kevin Gillette: markdown typo fixes
Luke Boswell: move Str.md as it looks more like a design doc than rust crate

Co-authored-by: Luke Boswell <lukewilliamboswell@gmail.com>
2023-04-10 14:07:03 -06:00
Luke Boswell
ac07ddcbaf
add highlighting for other languages 2023-04-10 13:21:24 +10:00
Anton-4
06cf030527
update to basic-cli 3.1 2023-03-29 10:46:47 +02:00
Anton-4
9620f9e0e8
Merge pull request #5164 from yukiomoto/fix-tutorial-sample-code
Fix a field name in tutorial to match its context
2023-03-21 16:37:11 +01:00
Richard Feldman
2276c78d9f
Merge pull request #5093 from roc-lang/glue-getters-rtfeldman
Glue for functions and closures
2023-03-21 08:12:19 -04:00
Anton-4
8da9af94f2
use latest basic-cli, better error messages 2023-03-20 20:06:36 +01:00
Folkert de Vries
9aeaa5ca08
Merge pull request #5158 from itmuckel/fix-typo
Fix typo in walk tutorial
2023-03-20 15:41:36 +01:00
itmuckel
d6a4564cd2
Fix typo in walk tutorial 2023-03-19 17:47:44 +01:00
Yuki Omoto
3c95849914
Fix a sample code in tutorial to match its context 2023-03-19 21:21:34 +09:00
Anton-4
9c0d2a2eb0
some style changes 2023-03-18 14:22:52 +01:00
Seth Workman
4756781f25
fix mobile support for button container 2023-03-17 15:27:13 -05:00
Seth Workman
6471ce8a72
Merge branch 'roc-lang:main' into copy-button-#5137 2023-03-17 11:16:18 -05:00
Folkert de Vries
bd3982241e
Merge pull request #5036 from roc-lang/tutorial_updates
tutorial: update to basic-cli 0.2.1, fix typos
2023-03-17 11:46:36 +01:00
Seth Workman
efebf54011
added copy button to tutorial code blocks 2023-03-16 16:38:30 -05:00
Anton-4
44778c72fe
Merge pull request #5117 from human154/patch-3
Tutorial: add spaces before colons
2023-03-14 11:58:38 +01:00
Anton-4
fe066e5567
Merge branch 'main' of github.com:roc-lang/roc into tutorial_updates 2023-03-13 19:46:05 +01:00
Richard Feldman
cf67591d10
Merge pull request #5121 from itmuckel/tutorial-fix-unused-function
Fix unused function in tutorial
2023-03-13 06:42:48 -04:00
Richard Feldman
24110c824b
Merge pull request #5125 from roc-lang/tutorial-name-tweak
Tweak tutorial intro wording
2023-03-12 09:09:36 -04:00
Richard Feldman
e28b88119f
Tweak tutorial intro wording 2023-03-12 08:59:18 -04:00
Luke Boswell
373da8d5e1
update colors for tutorial 2023-03-12 15:42:43 +11:00
Luke Boswell
0e65f10744
remove inline styles from markdown tables 2023-03-12 13:23:07 +11:00
itmuckel
be6bd9a1ec Fix unused function in tutorial 2023-03-12 00:28:12 +01:00
Luke Boswell
a0b806b2ea
fix another colon space issue 2023-03-11 12:25:58 +11:00
human154
b077e76235
Update Tutorial: add spaces before colons
Signed-off-by: human154 <46430360+human154@users.noreply.github.com>
2023-03-10 15:13:19 -05:00
Luke Boswell
766385a561
make colors WCAG AA compliant 2023-03-10 13:27:43 +11:00
Luke Boswell
b1e73dc8ef
add highlighting to tutorial inline snippets 2023-03-10 13:07:50 +11:00
Luke Boswell
a8cf9616da
correct spaces for css indents 2023-03-10 11:59:06 +11:00
Luke Boswell
6dcd795651
fix tutorial highlighting css 2023-03-10 11:53:05 +11:00
Anton-4
37acc3a847
small edits
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-03-08 13:50:29 +01:00
Luke Boswell
8b96f6aa5c
add package modules to tutorial 2023-03-08 19:38:50 +11:00
Richard Feldman
6001cc9124
Restore generating basic-cli docs in build.sh 2023-03-01 17:25:00 -05:00
Richard Feldman
5551e3233d
Drop trailing spaces in build.sh 2023-03-01 17:20:36 -05:00
Luke Boswell
4e63ac597a
add tutorial.roc back 2023-03-01 20:14:01 +11:00
Luke Boswell
31e78062d6
convert tutorial html to markdown part 5 2023-03-01 20:10:20 +11:00
Luke Boswell
a50b9f3ef0
convert tutorial html to markdown part 4 2023-03-01 19:11:24 +11:00
Luke Boswell
fb241fdaf7
convert tutorial html to markdown part 3 2023-03-01 19:01:00 +11:00
Luke Boswell
ea8b39995d
convert tutorial html to markdown part 2 2023-03-01 17:43:29 +11:00
Luke Boswell
7dd5ae3830
Merge remote-tracking branch 'origin/main' into tutorial-syntax 2023-03-01 17:20:17 +11:00
Luke Boswell
781ec9999e
Merge remote-tracking branch 'origin/main' into correct-tutorial-bool 2023-02-26 15:08:13 +11:00
Luke Boswell
21b725de30
convert tutorial html to markdown part 1 2023-02-21 19:05:51 +11:00
Luke Boswell
bfaf96b058
change operator sugaring table to markdown 2023-02-21 18:29:19 +11:00
Giacomo Cavalieri
3acf16bc74
Wrap inline code on mobile devices
Signed-off-by: Giacomo Cavalieri <giacomo.cavalieri@icloud.com>
2023-02-20 21:38:18 +01:00
Luke Boswell
fe4d81a245
correct all uses of Bool.true 2023-02-20 15:19:27 +11:00
Richard Feldman
dafb0c007f
Merge pull request #5047 from Arkham/tutorial-code-tag
Make it so inline code tags are not split across newlines
2023-02-19 22:35:13 -05:00
Ju Liu
859cccf62c Make it so inline code tags are not split across newlines 2023-02-18 15:25:00 +00:00
human154
190d0a0ac5
Tutorial: add 3 more spaces before colons
Signed-off-by: human154 <46430360+human154@users.noreply.github.com>
2023-02-18 09:13:47 -05:00
Anton-4
431b4c2811
Merge branch 'main' of github.com:roc-lang/roc into tutorial_updates 2023-02-18 09:38:41 +01:00
human154
5bf4053a34
Add and remove incorrect spaces before colons and &
Signed-off-by: human154 <46430360+human154@users.noreply.github.com>
2023-02-17 01:31:05 -05:00
Anton-4
cb599551de
update to basic-cli 0.2.1, fix typos 2023-02-15 19:55:30 +01:00
Anton-4
25716eb7d1
Comma in record should be colon
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-02-15 15:49:08 +01:00
Anton-4
d8d2dca120
minor language changes
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-02-11 15:10:40 +01:00
Luke Boswell
e3d9bb098c
refer to Result for data modelling 2023-02-10 10:41:52 +11:00
Luke Boswell
e02b61c330
add description in strings for optional records 2023-02-10 10:40:28 +11:00
Luke Boswell
f35f5b3b4a
Apply suggestions from code review
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
Signed-off-by: Luke Boswell <lukewilliamboswell@gmail.com>
2023-02-10 10:24:42 +11:00
Luke Boswell
b46b76080b
make colon spacing consistent 2023-02-08 19:23:20 +11:00
Luke Boswell
f884b1ea76
adding optional records 2023-02-08 18:49:08 +11:00
Luke Boswell
21bd676681
adding module desciption and placeholders 2023-02-08 18:02:31 +11:00
Luke Boswell
7211cc1885
fix order of sub heading links 2023-02-08 17:24:11 +11:00
Anton-4
6bcca92578
improve opaque types intro
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-02-07 13:39:05 +01:00
Luke Boswell
24591b9ea0
grammar and spelling corrections 2023-02-07 18:59:30 +11:00
Luke Boswell
44faf64eb9
fix code sample 2023-02-07 18:52:31 +11:00
Luke Boswell
690d95dfee
added opaque types to tutorial 2023-02-07 18:44:18 +11:00
Richard Feldman
57110ab5a3
Merge pull request #4932 from jmkellenberger/patch-1
Fixes two typos in index.html
2023-01-27 19:39:26 -05:00
Richard Feldman
c60dcd763d
Merge pull request #4947 from roc-lang/tutorial
Tutorial Edits
2023-01-25 20:05:27 -05:00
Christopher Bertels
bd3e32ec16
Remove redundant indefinite article in tutorial
"represents an the set of all" ->
"represents the set of all"
2023-01-25 21:13:53 +01:00
Richard Feldman
31bb65c20a
Tutorial edits 2023-01-25 14:55:18 -05:00
Richard Feldman
64492cec0a
Fix some mobile CSS sizing issues 2023-01-25 14:55:18 -05:00
Richard Feldman
c8b06c57b5
Revise the List.walk section 2023-01-25 14:55:17 -05:00
Anton-4
5039a73d5c
Merge pull request #4945 from roc-lang/website_build_macos
WIP support www/build.sh on macos
2023-01-25 18:34:24 +01:00
Anton-4
91c0a6a7a1
aarch64->arm64
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-24 14:08:10 +01:00
Anton-4
188b1c09c1
remove rustc --version
this can cause problems with macos permissions

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-24 13:32:41 +01:00
Anton-4
f30811baac
Merge pull request #4949 from roc-lang/update_tutorial
update tutorial basic-cli release
2023-01-23 22:07:47 +01:00
Anton-4
6d115af11a
update tutorial basic-cli release 2023-01-23 20:11:32 +01:00
Anton-4
bf237765a8
replace wget with curl 2023-01-23 18:58:32 +01:00
Anton-4
a4cdf587c7
support www/build.sh on macos 2023-01-23 18:10:41 +01:00
Anton-4
be25da70b3
new nightly folder structure 2023-01-23 15:12:47 +01:00
Jack Kellenberger
2ca076852a
Fixes two typos in index.html
Signed-off-by: Jack Kellenberger <107156696+jmkellenberger@users.noreply.github.com>
2023-01-20 14:47:22 -05:00
Anton-4
fdec3afd2e
cli docs don't work right now 2023-01-20 18:17:28 +01:00
Anton-4
071e9f1f3e
disable mv 2023-01-17 13:21:31 +01:00
Anton-4
f4844df056
use one-top-level for now so that CI can pass 2023-01-17 11:58:22 +01:00
Anton-4
e643bdd9d4
untar now creates single dir 2023-01-17 11:28:08 +01:00
Anton-4
6ed6cfef18
build www improvements 2023-01-11 18:02:29 +01:00
Anton-4
728fe66650
added comment 2023-01-11 16:54:46 +01:00
Anton-4
3dac0397ad
rate limiting fix 2023-01-11 14:08:37 +01:00
Anton-4
fe4b8073af
link install to github getting-started
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-12-27 18:23:17 +01:00
Anton-4
3d5216a589
remove broken install link
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-12-27 17:37:17 +01:00
Anton-4
88c7bf2e33
build tutorial with roc nightly 2022-12-27 13:24:50 +01:00
Richard Feldman
f71622cf4d
Don't build tutorial.html from .md on Netlify 2022-12-26 15:19:16 -05:00
Richard Feldman
ec3bf22c9c
Build builtin docs using new package module 2022-12-24 22:32:14 -05:00
Richard Feldman
a69a1b395f
Update www/build.sh for new roc docs syntax 2022-12-24 22:32:13 -05:00
Anton-4
f1f35fd887
higher contrast colors, fixed scaling on mobile 2022-12-23 14:10:11 +01:00
Anton-4
be869f3caf
restructuring, cleanup, many minor edits 2022-12-20 20:11:21 +01:00
Luke Boswell
1643624911
added tutorial generated from static-site platform 2022-12-15 18:10:14 +11:00
Anton-4
4df317cbd9
Merge pull request #4722 from roc-lang/update_tutorial_macos
macos and release updates
2022-12-10 11:59:47 +01:00
Richard Feldman
f1d6a21ed9
Use basic-cli 0.1.3 in tutorial
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2022-12-09 21:30:18 -05:00
Anton-4
bf37b710b9
macos and release updates 2022-12-09 15:07:00 +01:00
Richard Feldman
6683d59c92
Merge pull request #4720 from roc-lang/fix-toc-close
Close tutorial ToC after clicking a link
2022-12-09 09:03:08 -05:00
Richard Feldman
6eef911982
Close the ToC when you press Esc 2022-12-08 22:05:07 -05:00
Richard Feldman
1fc8f1df37
Close tutorial ToC after clicking a link 2022-12-08 22:00:57 -05:00
Richard Feldman
f466ddb0dd
Drop obsolete tutorial note about dbg on Mac 2022-12-08 06:07:35 -05:00
Anton-4
b029775427
tutorial and docs improvements 2022-12-05 14:53:18 +01:00
Marc Walter
274dc886b2
Fix <code> tag in tutorial
I was following the cool tutorial and noticed this tiny typo.

I saw no PR to fix it, so I created one.

Signed-off-by: Marc Walter <walter.marc@outlook.com>
2022-12-03 08:20:46 +01:00
Richard Feldman
9bd5351970
Make mobile-friendly breakpoint smaller 2022-11-28 17:08:35 -05:00
Richard Feldman
08957b291b
Different comment colors on dark mode 2022-11-28 16:58:58 -05:00
Richard Feldman
8764836c18
Use font-size: 16px on mobile 2022-11-28 16:54:28 -05:00
Richard Feldman
8688674013
Revise styles on mobile tutorial contents toggle 2022-11-28 16:48:52 -05:00
Richard Feldman
030a7f87a2
Revert "Add white-space:nowrap to <code> tags"
This reverts commit 883daf9fa7.
2022-11-28 16:25:15 -05:00
Richard Feldman
930ae96514
Fix some comment styling 2022-11-28 16:23:20 -05:00
Richard Feldman
21cf221f27
Revert body bg and header colors 2022-11-28 16:22:38 -05:00
Richard Feldman
4772bf960d
Give comments a more reasonable color 2022-11-28 16:22:29 -05:00
Richard Feldman
883daf9fa7
Add white-space:nowrap to <code> tags 2022-11-28 16:22:15 -05:00
Richard Feldman
a667648fc8
Merge pull request #4624 from georgesboris/main
fix: tutorial on mobile
2022-11-28 15:45:31 -05:00
Anton-4
f91523baa9
update tutorial, cleanup 2022-11-28 20:13:39 +01:00
Georges Boris
195a9bbfa1
fix: tutorial on mobile 2022-11-28 16:11:15 -03:00