Commit graph

55 commits

Author SHA1 Message Date
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
Chadtech
e1bdad16ad tada emoji on build completion 2021-03-23 22:25:42 -04:00
Chadtech
5b07b1c946 Write html assets to build folder, and make sure it exists 2021-03-23 22:25:16 -04:00
Folkert
d91e810bd8 fix test compilation 2021-03-23 16:34:09 +01:00
Folkert
e3b65b1ce0 Merge remote-tracking branch 'origin/trunk' into import-builtin-mod 2021-03-23 15:40:27 +01:00
Folkert
589b579689 refactor 2021-03-23 14:31:35 +01:00
Chadtech
e38823b52a Delete commented out docs code 2021-03-22 00:54:07 -04:00
Chadtech
547ec2756d Docs test file 2021-03-21 22:46:16 -04:00
Chadtech
807250f3e3 Moved docs/src/main.rs to docs/src/lib.rs and imported it into the repl. Commented out doc code to avoid it deleting my entire roc project (which happened) 2021-03-21 22:37:39 -04:00
Folkert
cf905a13fa better parse error reporting in docs 2021-03-17 17:26:43 +01:00
Chadtech
a46a7ef06a builtin_defs_map passed in explicitly in many places that want to monomorphize, so that we can use a new test_builtin_defs in tests. Hash test works 2021-01-18 22:38:51 -05:00
Folkert
ab6cb7ac93 pass stdlib by reference 2021-01-14 16:49:55 +01:00
Jared Ramirez
acd11c8b9b Fix doc loading 2021-01-01 17:44:13 -06:00
Chadtech
4dbd4fa893 More instances of Map renamed to Dict 2020-12-08 01:40:08 -05:00
Pablo Hirafuji
ecfcdf7d79 Add docs multiparagraph tests 2020-11-06 14:36:30 -03:00
Richard Feldman
76432a9c2e Remove failing docs tests on Linux (for now!) 2020-11-05 23:35:18 -05:00
Pablo Hirafuji
fa901f2922 Add roc language to code block 2020-10-25 20:45:39 -03:00
Pablo Hirafuji
5278feb93b Remove unused code 2020-10-25 20:21:29 -03:00
Pablo Hirafuji
43f390d80c Add some tests for documentation gen 2020-10-25 20:08:43 -03:00
Folkert
432dbee422 switch docs to use the standard file load mechanism 2020-10-21 15:43:56 +02:00
Pablo Hirafuji
3d47cc701a Run cargo fmt 2020-09-27 20:56:33 -03:00
Pablo Hirafuji
0c0f70aba0 Add more docs files and check def exposition 2020-09-27 20:41:51 -03:00