Commit graph

79 commits

Author SHA1 Message Date
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
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
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
Chadtech
8036220b19 Remove handlebars templating and instead use new html_node() function some string replacement 2021-04-15 02:19:20 -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
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
e3b65b1ce0 Merge remote-tracking branch 'origin/trunk' into import-builtin-mod 2021-03-23 15:40:27 +01:00
Chadtech
e38823b52a Delete commented out docs code 2021-03-22 00:54:07 -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