Commit graph

34 commits

Author SHA1 Message Date
Chadtech
d1a18c8b6a Removed module docs and added detatched doc as a kind of doc entry 2021-05-02 16:34:48 -04:00
Chadtech
53c2a87161 Remove dbg 2021-05-02 14:38:00 -04:00
Chadtech
ad4402a67d Figure out module documentation by reading through the comments or new lines from the SpaceBefore the first entry to the module 2021-05-02 14:33:14 -04:00
Chadtech
be557d6147 Render label only record fields as they appear in the code 2021-04-25 14:12:47 -04:00
Chadtech
f7491cd9e9 Comply with clippy 2021-04-24 18:40:06 -04:00
Chadtech
09aad833d5 Do not show record type signature if it contains at least one private tag 2021-04-24 18:14:43 -04:00
Chadtech
6050776ff8 More while statements refactored to for loops 2021-04-24 18:14:31 -04:00
Chadtech
0a42a04765 Records in docs rendering 2021-04-24 18:06:41 -04:00
Folkert
700e7d9686 parse expect 2021-04-22 23:00:44 +02:00
Chadtech
406860f121 reference TypeAnnotation from ast as ast::TypeAnnotation so that the name TypeAnnotation can be reused in roc_load::docs 2021-04-18 16:17:59 -04:00
Chadtech
132d63764c Comply with clippy 2021-04-05 19:39:01 -04:00
Chadtech
6686c5b051 Doc type signatures for tag unions, and some additional types 2021-04-04 22:39:53 -04:00
Chadtech
ce6bdfc757 If the docs encounter a break in the comments, we should forget about the accumulated docs until then, since they did not pertain to what we were building docs for 2021-03-30 00:54:04 -04:00
Chadtech
1df89ccbbe Aliases now rendered in docs 2021-03-30 00:52:47 -04:00
Folkert
ce98da9d04 remove Nested from Def 2021-03-21 21:14:32 +01:00
Folkert
4db48d9f13 more clippy things 2020-11-19 22:20:00 +01:00
Sébastien Besnier
9b670bf092 remove unreachable branch 2020-11-08 13:45:47 +01:00
Sébastien Besnier
6dbde806d6 cargo-fmt 2020-11-08 13:43:11 +01:00
Sébastien Besnier
19bd75aa62 merge things from trunk 2020-11-08 13:43:11 +01:00
Sébastien Besnier
014131dabe handle AnnotatedBody everywhere. It compiles now! 2020-11-08 13:43:11 +01:00
Pablo Hirafuji
ecfcdf7d79 Add docs multiparagraph tests 2020-11-06 14:36:30 -03:00
Pablo Hirafuji
f441e1dbd1 Merge branch 'trunk' into fix/docs-tests 2020-11-03 10:59:05 -03:00
Brendan Hansknecht
d00189530a Add fuzzing to the parser.
As part of this, todos and panics where moved outside of this module
to elsewhere when they would cause fuzzing to fail.
2020-10-30 22:04:54 -07:00
Pablo Hirafuji
29f9364696 Merge branch 'trunk' into fix/docs-tests 2020-10-30 06:54:19 -03:00
Folkert
047746c716 use only references (no Vec) in canonical AST 2020-10-29 00:12:44 +01:00
Pablo Hirafuji
43f390d80c Add some tests for documentation gen 2020-10-25 20:08:43 -03:00
Folkert
7bff0b50c6 remove now unneeded code 2020-10-21 15:49:20 +02:00
Folkert
432dbee422 switch docs to use the standard file load mechanism 2020-10-21 15:43:56 +02:00
Richard Feldman
dfa61b4c18 Parse platform headers 2020-10-18 23:55:49 -04:00
Richard Feldman
2758c7f04c Always use a minimum of 1 worker 2020-10-12 09:33:11 -04:00
Richard Feldman
b8eff12767 Use parking_lot::Mutex 2020-10-10 20:30:33 -04:00
Pablo Hirafuji
ebdeecd5d2 Run cargo fmt [2] 2020-09-27 20:59:31 -03:00
Pablo Hirafuji
0c0f70aba0 Add more docs files and check def exposition 2020-09-27 20:41:51 -03:00
Pablo Hirafuji
aed612a75c Load docs from files 2020-09-27 19:40:54 -03:00