Commit Graph

95 Commits

Author SHA1 Message Date
Chadtech
d7b347bd1d Compute annotation instead of NoTypeAnn in docs code 2021-08-10 00:21:21 -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
6ca6539623 Drop obsolete insert_links tests 2021-08-01 10:24:37 -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
Richard Feldman
e8fc9c5e4c Thread dep_idents through to LoadedModule 2021-08-01 10:23:16 -04:00
Richard Feldman
f06370be43 Add roc_parse to docs crate 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
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