Anton-4
54180cc7a8
Merge pull request #5920 from roc-lang/output-flag
...
Add --output flag
2023-10-23 16:48:07 +02:00
Richard Feldman
9573cf827c
Make the favicon real
2023-10-22 15:17:21 -04:00
Richard Feldman
a96752a65a
Add --output CLI flag for roc docs
2023-10-19 17:21:27 -04:00
Richard Feldman
789090a514
Simplify some templatized links
2023-09-18 15:26:08 -05:00
Richard Feldman
fc7e069712
Generate docs for ability definitions
2023-08-11 21:19:18 -04:00
Richard Feldman
b7ebb01f88
Fix spaces in docs rendering for ->
in functions
2023-08-11 21:19:18 -04:00
Richard Feldman
9fe08cafd0
Render docs for abilities, tuples, and as
2023-08-11 20:59:40 -04:00
Anton-4
6bc090dc64
add issue to TODO
2023-07-31 13:38:10 +02:00
Anton-4
f8e53e33e5
fix docs root link
2023-07-31 13:26:48 +02:00
Richard Feldman
319e05b293
Merge pull request #5661 from roc-lang/docs-base-url
...
use html base for single source of truth
2023-07-25 10:45:52 -04:00
Anton-4
ae7c421cac
fmt
2023-07-15 11:43:54 +02:00
Anton-4
e627a58b67
link fixes
2023-07-15 11:28:11 +02:00
Ayaz Hafiz
44c4797d9a
Parameterize program solving on a FunctionKind
...
This new flag determines whether we should introduce a new kind to
represent lambda sets, or whether lambdas should be erased. The latter
is not yet implemented.
2023-07-12 13:53:50 -05:00
Folkert
ef39bad7c6
auto clippy fixes
2023-07-10 18:27:08 +02:00
Luke Boswell
65380b2cd5
remove docs syntax highlighting for inline snippets
2023-06-10 14:59:34 +10:00
Anton-4
af8c3ffd73
fixed docs index.html overwrite
2023-05-17 17:39:15 +02:00
Anton-4
9fd2224afa
clippy fix
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-05-15 19:58:49 +02:00
Anton-4
662a0beceb
fix roc-lang.org
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-05-15 19:21:38 +02:00
Bryce Miller
4603d8cc84
generate package index
2023-05-10 07:55:27 +02:00
Bryce Miller
ff3c209be8
eliminate unnecessary closures
2023-05-06 13:10:19 +02:00
Bryce Miller
54da8acb0c
slightly better error messages
2023-05-06 12:27:08 +02:00
Bryce Miller
8bd80406e6
read files relative to roc dir
2023-05-05 22:48:52 +02:00
Bryce Miller
ccbbf2b1ce
load static assets from fs for debug builds
2023-05-04 19:25:55 +02:00
Yuki Omoto
f0e223a6b3
Fix clippy error
2023-03-27 20:43:51 +09:00
Yuki Omoto
1be74346f4
Render parentheses at the right position in docs
2023-03-27 19:49:06 +09:00
Yuki Omoto
33ed87cacb
Add missing parentheses of type annotation in docs
...
This commit adds parentheses for type annotation of nested function
as in `mapWithIndex : List a, (a, Nat -> b) -> List b`.
This resolves #4698
2023-03-26 21:04:26 +09:00
Yuki Omoto
e8adfa5b71
Treat html as text in markdown parsing to disallow html in docs
2023-03-25 21:17:53 +09:00
itmuckel
97f68974a9
Code Review Changes
2023-03-20 19:53:38 +01:00
itmuckel
cc70413e05
Add github style links to docs sections
2023-03-20 19:53:31 +01:00
Luke Boswell
6e80b52d91
format and clippy
2023-03-08 17:33:49 +11:00
Luke Boswell
890f3db10a
update to support fenced code
2023-03-08 17:30:30 +11:00
Luke Boswell
ffcb91321e
clippy
2023-03-06 22:41:06 +11:00
Luke Boswell
25b3b61e07
cargo fmt
2023-03-06 22:37:56 +11:00
Luke Boswell
5e40e580cb
update docs syntax highlighting, remove unsused code
2023-03-06 22:20:49 +11:00
Joshua Warner
31a4eb2bfd
Fix parsing of tuple accessors after an identifier - e.g. myIdent.2
2023-01-30 21:12:01 -08:00
Folkert
92da3973e7
remove argument from load_and_typecheck
2022-12-29 16:50:19 +01:00
Richard Feldman
b9f8253c39
Always generate doc links to builtins
2022-12-24 22:32:15 -05:00
Richard Feldman
3f0060f492
Fix some formatting
2022-12-24 22:32:15 -05:00
Richard Feldman
1a2b2826ab
clippy
2022-12-24 22:32:14 -05:00
Richard Feldman
15d4c2ad68
Don't render undexposed types in docs
2022-12-24 22:32:13 -05:00
Richard Feldman
15590fb31b
Generate docs basde on package root .roc file
2022-12-24 22:32:13 -05:00
Richard Feldman
ab45d6c632
Fix docs generation of types
2022-12-24 22:32:12 -05:00
Richard Feldman
7d2fa63dca
Make roc_cache_dir() panic if it can't find $HOME
2022-11-20 20:54:03 -05:00
Richard Feldman
721841fa1f
Provide roc_cache_dir everywhere
2022-11-20 19:53:48 -05:00
Brian Carroll
b64514d7e4
Fix web REPL error formatting by routing the active Palette everywhere
2022-11-11 23:38:08 +00:00
Luke Boswell
cec67721e6
merge upstream/main
2022-11-06 09:27:46 +11:00
Christopher Duncan
4b808100b4
Amend List.walk
documentation with latest syntax
2022-11-05 06:16:27 -04:00
Luke Boswell
a3f901427a
correct formatting and removed duplicate image
2022-11-03 20:02:10 +11:00
Luke Boswell
f3bdb5f321
updating rust package documentation
2022-11-03 20:00:06 +11:00
Joshua Warner
07be8ec000
Refactor Parser trait to pass min_indent
...
This removes the need to explicitly pass thru min_indent when using the parser combinators.
My ultimate goal here is to evolve the current parser closer toward a purely combinator-based parser,
at which point we can more easily transition smoothly to a formal(ish) grammar, or expand the meanings of combinators
to include things like:
* Incremental (re)parsing
* Unified parsing and formatting code
* Better error recovery
* Using the main parser directly for syntax highlighting
2022-10-31 13:31:47 -07:00