Commit Graph

51 Commits

Author SHA1 Message Date
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
Folkert de Vries
de472015f6
Merge pull request #4505 from roc-lang/fix-web-repl-palette
Fix web REPL error formatting by routing the active Palette everywhere
2022-11-15 15:49:37 +01:00
Folkert
662bf1de99
more workspace dependencies 2022-11-13 16:10:02 +01: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
dependabot[bot]
33c34e3095
Bump peg from 0.8.0 to 0.8.1
Bumps [peg](https://github.com/kevinmehall/rust-peg) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/kevinmehall/rust-peg/releases)
- [Commits](https://github.com/kevinmehall/rust-peg/compare/0.8.0...0.8.1)

---
updated-dependencies:
- dependency-name: peg
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 23:01:08 +00:00
Folkert de Vries
3ee3f23836
Merge pull request #3971 from roc-lang/dependabot/cargo/bumpalo-3.11.0
Bump bumpalo from 3.10.0 to 3.11.0
2022-09-13 21:00:00 +02: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
dependabot[bot]
0079048944
Bump bumpalo from 3.10.0 to 3.11.0
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.10.0...3.11.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 21:08:56 +00:00
dependabot[bot]
d1c406812f
Bump pretty_assertions from 1.2.1 to 1.3.0
Bumps [pretty_assertions](https://github.com/rust-pretty-assertions/rust-pretty-assertions) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/rust-pretty-assertions/rust-pretty-assertions/releases)
- [Changelog](https://github.com/rust-pretty-assertions/rust-pretty-assertions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-pretty-assertions/rust-pretty-assertions/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: pretty_assertions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 05:28:00 +00: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
dependabot[bot]
55a9031ec1
Bump pulldown-cmark from 0.9.1 to 0.9.2
Bumps [pulldown-cmark](https://github.com/raphlinus/pulldown-cmark) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/raphlinus/pulldown-cmark/releases)
- [Commits](https://github.com/raphlinus/pulldown-cmark/compare/v0.9.1...v0.9.2)

---
updated-dependencies:
- dependency-name: pulldown-cmark
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-13 16:49:08 +00:00
Richard Feldman
26ee1a01bc
Merge pull request #3691 from rtfeldman/cargo_verson_change
changed Cargo versions from 0.1.0 to 0.0.1
2022-08-05 09:13:04 -04:00
Richard Feldman
3136c5fb63
Allow testing interface modules 2022-08-03 19:49:48 -04:00
Anton-4
6a15a7b41b
changed Cargo versions from 0.1.0 to 0.0.1 2022-08-03 11:41:19 +02: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