Commit Graph

76 Commits

Author SHA1 Message Date
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
Anton-4
22d834ebd9 Merge branch 'trunk' of github.com:rtfeldman/roc into typos_ci 2021-06-07 12:33:26 +02:00
Chadtech
ef74f50ae7 A module like Json.Decode will now have its docs at Json/Decode/index.html 2021-06-07 01:02:20 -04:00
Richard Feldman
53da2a2d14 clippy 2021-06-06 10:10:51 -04:00
Richard Feldman
18be90649e Don't link to .html files anymore
We now generate index.html files, so the .html
suffix is no longer needed!
2021-06-06 10:01:44 -04:00
Richard Feldman
1a63bd570f Create index.html files in doc gen
This way, even when previewing them locally
you can see (for example) /Str instead of /Str.html
2021-06-06 01:31:47 -04:00
Anton-4
314503cf7f fixed typos, added typos checking to CI 2021-06-05 20:02:54 +02:00
Richard Feldman
c8ad4a2ca2 Fix missing cast 2021-06-04 21:27:42 -04:00
Richard Feldman
037d41d7c7 Don't hardcode ptr_bytes 2021-06-03 21:33:53 -04:00
Richard Feldman
1aa286bace Improve a panic message 2021-06-03 21:33:08 -04:00
Chadtech
4c1a5b3f62 Functions appear in docs 2021-05-30 19:48:16 -04:00
Chadtech
12c0067348 Created scope and idents for module docs, but they appear to be empty when the doc links function tries to use them 2021-05-22 14:06:56 -04:00
Chadtech
6df323ce12 Comply with clippy 2021-05-16 22:33:23 -04:00
Chadtech
1f2110b99e Read through markdown for words preceeded by a #, and then turn them into links 2021-05-15 17:19:33 -04:00
Chadtech
d1a18c8b6a Removed module docs and added detatched doc as a kind of doc entry 2021-05-02 16:34:48 -04:00
Richard Feldman
76561084a9 Comment out <title> and <meta> in docs for now 2021-04-29 19:26:16 -04:00
Chadtech
debbe6eedd Replace <br>s with new lines 2021-04-25 19:20:54 -04:00
Chadtech
5a90a6ac4f Use white-space: pre-wrap instead of non-breaking spaces 2021-04-25 19:15: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
0a42a04765 Records in docs rendering 2021-04-24 18:06:41 -04:00
Chadtech
d5c729b817 For loop in tags rendering 2021-04-24 18:06:32 -04:00
Richard Feldman
0a50b0b488 Change license to UPL-1.0
Closes https://github.com/rtfeldman/roc/issues/1199
2021-04-21 19:18:44 -04:00
Chadtech
11ffc707b5
Merge branch 'trunk' into docs-work 2021-04-18 18:02:06 -04:00
Chadtech
af10bb45f3 Reduce unqualified importing in markdown_to_html function 2021-04-18 17:58:47 -04:00
Chadtech
345dd0c071 Turn off all options on markdown parser 2021-04-18 17:58:18 -04:00
Chadtech
2c5e541705 Render entry docs as markdown 2021-04-18 17:42:58 -04: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
Richard Feldman
d2895c9e06 Drop superfluous '-present' copyright suffix 2021-04-15 18:33:31 -04:00
Chadtech
2d215418f7 Template index.html file 2021-04-15 02:36:06 -04:00
Chadtech
8036220b19 Remove handlebars templating and instead use new html_node() function some string replacement 2021-04-15 02:19:20 -04:00
Richard Feldman
792a18816a Update authors in Cargo.toml 2021-04-11 08:11:52 -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
4be3f04aba Pretty assertions in test_docs 2021-03-30 00:54:17 -04:00
Chadtech
1df89ccbbe Aliases now rendered in docs 2021-03-30 00:52:47 -04:00
Richard Feldman
4512c316d3 Improve docs CSS on mobile 2021-03-26 21:16:25 -04:00
Richard Feldman
a66c60cf4d
Merge pull request #1111 from rtfeldman/docs-improvements
Fix some docs styles on mobile
2021-03-26 08:21:55 -04:00
Richard Feldman
e0e08110f1 Fix some docs styles on mobile 2021-03-26 08:21:32 -04:00
Chadtech
90b1c57f1f
Merge branch 'trunk' into generated-docs-folder 2021-03-25 00:28:31 -04:00
Chadtech
884651b56e Use include_str! macro 2021-03-25 00:16:28 -04:00