Commit Graph
10609 Commits
Author SHA1 Message Date
B. Burt 9decffaf82 Fix a typo in the Kernel docs (#12815) 2023-07-23 08:29:53 +02:00
Ievgen Pyrogov 27fabde683 Mention :zip_input_on_exit in Task.Supervisor too (#12814)
It's mentioned in docs to Task.async_stream/5, but not here.
2023-07-23 08:28:58 +02:00
Vinícius Müller 48b471d055 Update diagnostics reporting format (#12813) 2023-07-20 18:49:55 +02:00
Jean Klingler 41a21175d2 IEx uses erlang shell rendering for erlang docs (#12803)
* IEx uses erlang shell render for erlang function docs

* Add tests for erlang module docs and types

* Handle erlang module docs with :shell_docs

* Handle erlang module types with :shell_docs

* Avoid fetching docs twice

* Cleanup unused erlang doc handling

* Use example that exists in OTP24
2023-07-19 23:56:14 +09:00
José Valim 4614de646a Optional arguments must be counted from the end, closes #10095 2023-07-19 14:31:53 +02:00
Artem Solomatin 7c1cc52c86 Update typespec for enum find_value (#12789) 2023-07-18 15:02:40 +02:00
B. Burt 3e42b9599c Fix some typos in the docs for List (#12807) 2023-07-18 07:54:16 +02:00
Artem Solomatin f53eaefa87 Add typespecs for min and max float (#12806) 2023-07-17 23:00:10 +02:00
B. Burt 097de75b2b Fix a typo in some docs (#12805) 2023-07-17 21:54:29 +02:00
José Valim 2904713b04 Remove backticks around Map 2023-07-17 18:03:46 +02:00
Ievgen Pyrogov 056042bc3e Update io.ex (#12800)
Fix newlines in documentation for IO module
2023-07-17 00:08:57 +02:00
Lucas Francisco da Matta Vegi 675d001e62 More Code-related anti-patterns added (Documentation) (#12790) 2023-07-16 20:19:39 +02:00
Andrea Leopardi 47c3390232 Add Supervisor.module_spec/0 type (#12793) 2023-07-15 09:24:53 +02:00
Andrea Leopardi 544ff7bb02 Clean up type docs in Supervisor 2023-07-14 23:19:40 +02:00
Artem Solomatin ff4344e973 Add typespec for Range.size (#12792) 2023-07-14 22:26:50 +02:00
Thibaut Barrère 5a5947c2d9 Clarify upgrade path for Regex.regex? (#12785) (#12786) 2023-07-12 18:04:35 +02:00
José Valim 01d11af42c Return :error tagged tuple 2023-07-12 16:06:54 +02:00
José Valim d34e68e1b0 Fix typos 2023-07-12 16:05:27 +02:00
José Valim c0ea321446 Adjustments to anti-patterns 2023-07-12 15:39:33 +02:00
Lucas Francisco da Matta Vegi a2a6379034 Code-related anti-patterns added (Documentation) (#12776) 2023-07-12 15:14:07 +02:00
Artem Solomatin 23793ee669 Fix typos and close brackets (#12783) 2023-07-12 00:08:17 +02:00
Artem Solomatin 43b423c61c Fix deprecations link for elixir 1.15 (#12781) 2023-07-11 23:18:59 +02:00
Artem Solomatin 289f4e1da8 Fix link in macros guide (#12780) 2023-07-11 21:33:02 +02:00
Andrea Leopardi 32cd48b398 Lint Markdown guides (#12775) 2023-07-10 11:45:01 +02:00
Andrea Leopardi 15ce8706e2 Fix many small typos 2023-07-09 16:23:18 +02:00
Andrea Leopardi c1f8bae16a Fix spelling of "file system" 2023-07-09 16:12:48 +02:00
Andrea Leopardi dd295f4bc7 Fix spelling of "hard-coded" 2023-07-09 16:08:12 +02:00
Andrea Leopardi 51a9977b79 Move "Introduction to Mix" guide here (#12774) 2023-07-09 16:07:24 +02:00
Andrea Leopardi 2f25dc2a51 Remove all <abbr>s from the guides
Earmark does not support inline HTML.
2023-07-09 09:40:05 +02:00
Jean Klingler 24efbdfb7c Document whitespace rules for keyword syntax (#12773) 2023-07-08 17:24:01 +09:00
Lucas Francisco da Matta Vegi 36e71050cb Remaining macro-anti-patterns (Anti-pattern documentation) (#12769) 2023-07-08 10:17:30 +02:00
Jean Klingler 4411dbe3f2 Expand captured args with regular context (#12763)
* Expand captured args with regular context

* Rewrite test depending on current line

* Display a different warning for captured arguments

* Mention the reason in a comment
2023-07-07 22:22:01 +09:00
José Valim 93ff4a22de Disable tail call optimization on file root entries 2023-07-07 13:37:44 +02:00
Iztok Fister Jr e374882c03 Revise the description of DSLs (#12762) 2023-07-06 21:50:27 +02:00
José Valim 999ecf73de Fix references in getting started guides 2023-07-06 16:08:36 +02:00
José Valim 1cd7e53875 Tidy up getting started guides conclusion 2023-07-06 16:07:30 +02:00
José Valim e55472e9b8 More guides 2023-07-06 15:49:05 +02:00
José Valim f7fcc160b8 More guides 2023-07-06 15:23:03 +02:00
José Valim 365cd44b1c More guides 2023-07-06 15:01:45 +02:00
José Valim 3a706f7a1a More guides 2023-07-06 13:54:36 +02:00
José Valim 58bb5194d3 Propagate diagnostics from inner compiler process 2023-07-06 09:41:57 +02:00
Lucas Francisco da Matta Vegi 1b33e7259e "Scattered process interfaces" (Anti-pattern documentation) (#12759) 2023-07-06 09:06:55 +02:00
Andrea LeopardiandJosé Valim 3c0efc1e2a Add "Comments" anti-pattern to the guides (#12758)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-07-05 20:37:12 +02:00
José Valim 970691db2d More guides 2023-07-05 19:15:16 +02:00
José Valim 5547e35ffb More guides 2023-07-05 18:45:09 +02:00
José Valim e9e6f23105 Fixes to anti-patterns 2023-07-05 18:24:13 +02:00
José Valim 2a97e7e0fb Initial getting started version 2023-07-05 18:24:04 +02:00
Andrea Leopardi e8409fe8fb Polish some anti-patterns in the guides 2023-07-05 10:54:03 +02:00
Andrea Leopardi 4a9c11def4 Use <h4> titles in anti-patterns guides 2023-07-05 10:42:09 +02:00
Andrea Leopardi a446fcc95c Clean up some process-related anti-patterns 2023-07-05 09:34:22 +02:00