Richard Feldman
24a38c4a26
Merge remote-tracking branch 'origin/main' into remove-nat
2024-02-11 12:26:36 -05:00
Anton-4
3c7a834da1
update to new interpolation syntax
2024-02-02 13:39:10 +01:00
Anton-4
0d26203acd
improve errors, support nested snippets
2024-01-31 18:26:21 +01:00
Michael Pfeifer
b40803da9b
Remove unnecessary empty line
2024-01-29 00:05:06 +01:00
Richard Feldman
e7dde9bffc
Update Html static site gen
2024-01-26 16:00:33 -05:00
Michael Pfeifer
f08925736b
Merge branch 'main' into support-embedding-parts-of-files-with-static-site-gen-platform
2024-01-21 15:44:11 +01:00
Michael Pfeifer
74476531cf
Support embedding parts of files with the static site gen platform
2024-01-17 22:34:34 +01:00
Brendan Hansknecht
f9c0d54688
Stop using "rlib"
...
I don't know if this matters at all, but I don't think we should use "rlib".
The [rust docs](https://doc.rust-lang.org/reference/linkage.html ) suggest using "lib" by default.
"lib" probably just aliases to "rlib", but it lets the compiler pick what it wants.
I don't think this will fix anything, but I am half hopeful it will somehow fix #6121 .
2024-01-16 22:36:10 -08:00
Brian Teague
60c639b60e
Consolidate gitignore
...
Keep certain files with no file extension
Keep specific files with no file extension
Delete all gitignore files
2024-01-10 22:16:04 -05:00
Anton-4
8b21770146
add static-site-gen platform lock
2023-12-30 17:13:26 +01:00
Brendan Hansknecht
787d7f85ac
switch dbg arg ordering to make it backwards compatible
2023-12-02 21:18:32 -08:00
Brendan Hansknecht
13d2238536
update roc_dbg in platforms
2023-12-02 21:18:31 -08:00
Brendan Hansknecht
f5fb01fd53
Get tests passing
...
Add roc_dbg to some platforms.
Also start updating some roc_panic impls.
2023-11-29 21:05:49 -08:00
Richard Feldman
65c16bf3aa
Fix mobile header, re-add /examples
2023-11-15 21:38:05 -05:00
Richard Feldman
76488bde01
roc format
2023-11-02 23:18:53 -04:00
Richard Feldman
4ac5b12123
Fix some errors
2023-11-02 22:45:05 -04:00
Richard Feldman
9681994b09
Fix some HTML validation problems and a CSP issue
2023-11-02 21:07:43 -04:00
Richard Feldman
258ed94ce3
Use <header> instead of <div> for header
2023-10-31 22:54:15 -04:00
Richard Feldman
a4faaf7646
Add aria-label="primary" to main <nav>
2023-10-31 22:36:03 -04:00
Folkert
acfb8d7562
explicitly RocBox arguments when received as box
2023-10-07 17:43:16 +02:00
Richard Feldman
074401fbdf
Remove the whole #var1 thing
2023-09-17 06:31:51 -04:00
Brendan Hansknecht
75a035e12d
remove all definitions of roc_memcpy
2023-06-02 15:23:05 -07:00
Luke Boswell
ccaf874ad0
clarify cow_str usage
2023-04-12 17:17:18 +10:00
Luke Boswell
ac07ddcbaf
add highlighting for other languages
2023-04-10 13:21:24 +10:00
Luke Boswell
0820780e73
modify inline code to use 'roc!' prefix for highlighting
2023-04-10 12:11:02 +10: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
Luke Boswell
3832228a13
update to use file: prefix
2023-03-19 14:10:22 +11:00
Luke Boswell
c7f8ba6ded
fix subfolder generation
2023-03-17 12:58:40 +11:00
Luke Boswell
03443ec328
remove file accidentally added
2023-03-17 12:33:03 +11:00
Luke Boswell
bdca47cc54
check code before opening file
2023-03-17 12:31:31 +11:00
Luke Boswell
239f79d26f
roc format
2023-03-15 21:17:54 +11:00
Luke Boswell
bea3a4f2f7
add static code file import for site gen
2023-03-15 20:59:58 +11:00
Folkert
fdf1489df6
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-03-14 01:01:26 +01:00
Luke Boswell
3ce20f74d9
support recursive folders
2023-03-13 19:18:39 +11:00
Luke Boswell
b1e73dc8ef
add highlighting to tutorial inline snippets
2023-03-10 13:07:50 +11:00
Folkert
fe15a2e79c
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-03-08 19:46:00 +01:00
Anton-4
5bc4881c05
Merge remote-tracking branch 'upstream/main' into docs-highlight
2023-03-08 14:35:55 +01:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit
2023-03-06 19:47:57 -08:00
Brendan Hansknecht
43224dcca9
remove less important Cargo.lock files that we probably shouldn't track
2023-03-06 13:01:07 -08:00
Folkert
8546f2c52b
fix some clippy warnings in platforms
2023-03-06 21:18:30 +01:00
Luke Boswell
5e40e580cb
update docs syntax highlighting, remove unsused code
2023-03-06 22:20:49 +11:00
Folkert
d224992bc1
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-03-05 17:24:05 +01:00
Luke Boswell
fbc1c7af2a
support more Tokens including Idents
2023-03-05 13:23:56 +01:00
Luke Boswell
1b676ca140
fix static site
2023-03-05 13:23:56 +01:00
Luke Boswell
f51aef42bb
add support for slashes
2023-03-01 19:06:15 +11:00
Luke Boswell
093f8e297d
add qmark to static-site
2023-03-01 18:40:29 +11:00
Luke Boswell
0c7bb163d5
also separate out tokens for css styling
2023-03-01 18:17:52 +11:00
Luke Boswell
1590b30b19
Add a lexing-based 'highlight' mode to the parser
...
basic syntax highlighting
added more syntax highlighting coverage
add example of a markdown table with styling
move FIXED_TOKEN logic into highlight
refactor highlight, add support for backpassing
escape html from source code
fix bug with <pre> tag ordering
refactor out html from roc_parse
remove test, put highlight functionality into separate file
fix typo
2023-02-28 17:03:49 +11:00
Richard Feldman
4dfbb689e2
Fix smart quotes in tutorial
2023-01-25 14:55:18 -05:00
Luke Boswell
1643624911
added tutorial generated from static-site platform
2022-12-15 18:10:14 +11:00