Commit Graph

109 Commits

Author SHA1 Message Date
Folkert
c663a35e16 final phase 2022-01-26 15:44:24 +01:00
Joshua Warner
f22f96843e Refactor ParseProblem
* Remove the `pos` field, which was always being assigned Position::default()
* Remove one use of this `pos`, by removing the never-used SyntaxError::ConditionFailed variant
* Adjust the other use to do what was probably intended - which is to say, pointing to the beginning of the def with the error
* Rename to FileError, reuse `SourceError` as an inner field, to avoid duplicating the `bytes`
2022-01-03 20:10:50 -08:00
Joshua Warner
4d7070ce3b Always combine line,column into Position 2021-12-22 20:32:46 -08:00
Joshua Warner
49818343dd extract state 2021-12-16 17:13:53 -08:00
Anton-4
4f0526c8f9 fmt 2021-10-19 18:13:48 +02:00
Anton-4
bb715e0f84 cleanup 2021-10-19 17:51:47 +02:00
Anton-4
c7c421b2f5 fixed scope lookup bug 2021-10-19 16:45:28 +02:00
Anton-4
0a77b3f334 debugging wrong id in docs test 2021-10-18 19:58:03 +02:00
Anton-4
a272765fc7 started using scope properly, improved error backtrace conversion 2021-10-16 19:37:20 +02:00
Anton-4
2158686a0a fmt, improved todo 2021-10-15 19:29:48 +02:00
Anton-4
e003725f21 cleanup unwrap 2021-10-15 19:01:41 +02:00
Anton-4
d3f2b95f7a addes test to docs for function 2021-10-15 15:02:37 +02:00
Anton-4
78e3609498 minor cleanup 2021-10-05 14:51:57 +02:00
Anton-4
4324b08a30 cleanup+fmt+clippy 2021-10-05 11:58:11 +02:00
Anton-4
548d806a88 def->MarkupNode working 2021-10-04 19:26:31 +02:00
Anton-4
c6066cc629 expr working, debugging def 2021-10-02 19:47:46 +02:00
Anton-4
bc50280c0e markup to html progress 2021-10-01 19:53:51 +02:00
Anton-4
f63c276a5f docs flow working with mocked markup to html 2021-10-01 18:22:27 +02:00
Anton-4
28cf11a1d9 started on docs to markup to html 2021-09-29 20:05:03 +02:00
Chadtech
1ff614b2f1 Merge branch 'trunk' of github.com:rtfeldman/roc into docs-parse-code-blocks 2021-08-22 15:54:28 -04:00
Chadtech
9e12f6d3ec ToHtml trait for docs and some rudimentary syntax highlighting that is definitely a work in progress 2021-08-22 15:53:26 -04:00
Chadtech
c72400c619 Merge branch 'trunk' of github.com:rtfeldman/roc into docs-parse-code-blocks 2021-08-10 00:31:06 -04:00
Chadtech
d7b347bd1d Compute annotation instead of NoTypeAnn in docs code 2021-08-10 00:21:21 -04:00
Chadtech
68147e7703 docs Syntax highlight function set up, and test set up for syntax highlighting 2021-08-09 20:21:03 -04:00
Richard Feldman
235a68d332 Fix relative fragments for DocDef 2021-08-08 23:32:37 -04:00
Richard Feldman
457c85e5aa Restyle code links in docs 2021-08-08 23:25:43 -04:00
Richard Feldman
0291d5d0c0 Emit code blocks for auto-links in docs 2021-08-08 23:25:33 -04:00
Richard Feldman
c1e65ce340 Update a comment 2021-08-08 15:48:58 -04:00
Richard Feldman
4bfa82b679 Fix asset links for docs 2021-08-08 00:44:26 -04:00
Richard Feldman
1018cdce37 Load search.js from the correct dir 2021-08-08 00:30:46 -04:00
Richard Feldman
d37e30560b Add a base href root to docs links 2021-08-07 23:40:49 -04:00
Richard Feldman
4c0c09374d Improve error message for a docs problem 2021-08-07 21:46:20 -04:00
Folkert
ceb5cc66fa use IdentStr 2021-08-03 21:14:36 +02:00
Richard Feldman
9fb0a7946e
Merge pull request #1512 from rtfeldman/docs-exposed-values-in-sidebar
Sidebar only shows exposed values
2021-08-01 22:02:15 -04:00
Chadtech
f3c009d653 Filter side nav items by what the module exposes 2021-08-01 14:14:21 -04:00
Richard Feldman
07de1837e4 Fix some comments 2021-08-01 10:23:16 -04:00
Richard Feldman
b7c666e5e7 Switch to [Str.join] syntax for doc links 2021-08-01 10:23:16 -04:00
Folkert
e805e63db6 typos 2021-07-30 16:54:22 +02:00
Folkert
899cbeabd7 fix extra ampersands 2021-07-29 17:32:08 +02:00
Chadtech
aea7e536de comply with clippy 2021-07-11 17:23:36 -04:00
Chadtech
3fbb0ed60f is multiline check for docs type annotation rendering 2021-07-11 14:58:46 -04:00
Chadtech
00acb6c289 Record rendering had unnecessary new lines and indents 2021-07-11 11:51:35 -04:00
Chadtech
6d00171cd7 Links to different modules require relative href 2021-07-10 11:14:55 -04:00
Chadtech
e091c254ba Fix doc links 2021-07-05 12:40:50 -04:00
Chadtech
62d5633546 Fixed problems with docs failing to render and included test to validate that behavior 2021-07-03 14:51:40 -04:00
Chadtech
38ef2a915a Only render exposed values 2021-06-27 20:24:05 -04:00
Chadtech
9d2976f14f Module aliases passed into LoadedModule, and used in docs to generate docs for aliases exposed by the module 2021-06-19 13:35:57 -04:00
Chadtech
f53339a595 Clippy fix 2021-06-12 19:09:00 -04:00
Chadtech
ebbdf671ae Look into values exposed by host and only add those entries to the documentation html 2021-06-12 18:57:59 -04:00
Anton-4
47f606d588
Merge branch 'trunk' into typos_ci 2021-06-07 15:01:55 +02:00