Commit graph

150 commits

Author SHA1 Message Date
Luke Boswell
5a0a7289ba
update styles for docs 2023-03-12 16:44:05 +11:00
Luke Boswell
766385a561
make colors WCAG AA compliant 2023-03-10 13:27:43 +11:00
Luke Boswell
2bed7da218
improve token categories and color scheme 2023-03-10 11:38:42 +11: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
f5cb2d73a1
Merge branch 'precompiled-legacy' into https-packages 2022-11-24 04:29:56 -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
Richard Feldman
200d456b7b
Create single source of favicon truth 2022-11-19 06:23:46 -05:00
Richard Feldman
1e4cf52fd4
Merge pull request #4504 from roc-lang/fix-styles
Fix some web styles
2022-11-16 21:53:05 -05:00
Brian Carroll
b64514d7e4
Fix web REPL error formatting by routing the active Palette everywhere 2022-11-11 23:38:08 +00:00
Richard Feldman
e2891257ba
Don't use a style attribute for the builtins tip
This doesn't work because of our content-security policy!
2022-11-11 12:24:19 -05: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
Richard Feldman
7737aac810
Drop the trailing "/" in docs sidebar links 2022-10-23 21:10:35 -04:00
Richard Feldman
921ab885ce
Move where the "different name" tip goes 2022-10-23 18:55:41 -04:00
Richard Feldman
c15a1dde22
Restyle search key shortcut 2022-10-23 18:55:40 -04:00
Christopher Duncan
7131432e7c
Dynamically generate the documentation title 2022-10-16 09:04:53 -04:00
Anton-4
46920d3c08
simplify format
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-11 15:47:09 +02:00
Christopher Duncan
5ccd3c884d
Fix prefetch links in the Standard Library page 2022-10-11 08:00:11 -04:00
Luke Boswell
17aac69d92
fix for 's' keypress in search, and escape behaviour to reset sidebar elements 2022-10-09 20:42:19 +11:00
Richard Feldman
34f56371f7
Search docs with S instead of /
It turns out / on Firefox is already search,
and we don't want to override that.

Also adds a tip to make the shortcut discoverable.
2022-10-09 04:26:00 -04:00
Luke Boswell
2b47a4067b
updated quick search keyboard shortct in docs to / key, included escape out of input box 2022-10-09 17:56:28 +11:00
Luke Boswell
91a71a8550
added event listener to focus search box in docs 2022-10-09 16:12:21 +11:00
Richard Feldman
791340e2ae
Don't have docs print unnecessary parens or spaces 2022-09-12 20:32:46 -04:00
Richard Feldman
0a3a9584c4
Don't put spaces in types in docs 2022-09-12 20:32:46 -04:00
Richard Feldman
75a0eeacc7
Don't hardcode "roc/builtins 1.0.0" in docs 2022-09-12 20:32:45 -04:00
Richard Feldman
ce4aa4c502
Centralize sidebar link logic 2022-09-01 16:28:21 -04:00
Richard Feldman
bdd98e0276
Add prefetching to sidebar links 2022-09-01 14:24:40 -04:00
Richard Feldman
3136c5fb63
Allow testing interface modules 2022-08-03 19:49:48 -04:00
Richard Feldman
bf63c45b46
Compute src_dir from original filename
This fixed a bug where bindgen was providing cwd() for src_dir,
but actually the src_dir should have been based on the filename.
This prevents that problem from happening in the future!
2022-07-13 12:49:06 -04:00
Richard Feldman
a6d99aa357
Move src_dir into LoadStart 2022-07-08 18:16:07 -04:00
Mfon Eti-mfon
33a6c9e6c5
Docs UI: Style the currently active nav link 2022-07-04 04:18:12 +01:00
Mfon Eti-mfon
eee30fb58c
docs-ui: Add border to and style wrapping section 2022-07-04 00:17:34 +01:00
Mfon Eti-mfon
873142b473
docs-ui: Wrap module entry defs in section elements 2022-07-03 23:04:57 +01:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00