Commit Graph
578 Commits
Author SHA1 Message Date
Theodor Fiedler bc5cf4c4db Consolidate spelling of life cycle (#13541) 2024-05-06 11:56:13 +02:00
Theodor Fiedler d884cbc3ca Fix random typos (#13540) 2024-05-06 11:55:48 +02:00
Tim Chambers 8d0ecb5268 Correct typo in set-theoretic types doc (#13538) 2024-05-05 21:16:09 +02:00
José Valim 0043b1e1af Use dynamic(type) on pretty printing 2024-05-05 15:29:42 +02:00
José Valim 0fd44dd5e3 Add docs and changelog around gradual set-theoretic types 2024-05-05 11:17:30 +02:00
José Valim 5422815fde Include max cases in ExUnit reports (#13521)
Some CI environments may report the wrong number
of cores to the Erlang VM. So we choose to print
the number of max cases along side the seed
(both which affect randomness of tests) at the
top of each suite.
2024-05-02 11:09:32 +02:00
José Valim 80a20d20bb More improvements to module attributes guides 2024-05-02 10:29:20 +02:00
José Valim 00818b6045 More clarifications to module attributes as constants 2024-05-02 01:17:16 +02:00
José Valim 813c5aaba2 Update docs for module attributes
It is not necessary to push module attributes as a mechanism
for constants. In fact, regular functions are a better default
for constants in the majority of the cases.
2024-04-27 21:52:09 +02:00
Jean Klingler cb9c303bc0 Add GenServer.format_status/1 callback (#13511) 2024-04-25 00:08:22 +09:00
Nathan Long 388b69ee7a Expand description of how catch works (#13501) 2024-04-20 22:01:17 +02:00
Jean Klingler f5d1aa2c8e Document supported OTP versions for 1.17 (#13478) 2024-04-06 19:52:42 +09:00
José Valim ad8da2ab2f Fix markdown lint 2024-04-02 11:08:57 +02:00
José Valim 928125d05e Update library and exceptions guidelines 2024-04-02 11:05:44 +02:00
Isaac Yonemoto 2415133d4d Add more naming conventions to the list (#13463) 2024-04-02 08:52:21 +02:00
wiehann 6138838ff8 Fix sentence in basic-types documentation (#13450) 2024-03-28 19:43:39 +01:00
José Valim eb5258a9ae Add parens to private macro example, closes #13411 2024-03-13 12:28:15 +01:00
June Kelly 2d38526bde Fix typo: remove stray '_' from front of 'unexpected' (#13403) 2024-03-09 20:49:02 +01:00
José Valim 966a73532a Consistent use of the word guide in docs 2024-03-06 20:57:45 +01:00
Artem Solomatin df828114c9 Update strings typespecs and add comment (#13380) 2024-03-01 12:11:30 +01:00
José Valim dd13c508e8 Add mix test --breakpoints 2024-02-29 14:48:54 +01:00
Artem Solomatin d9005ebdca Add example and update links in debugging doc (#13376) 2024-02-29 00:23:43 +01:00
José Valim 9dcdc1a5b2 Add get_in/1 with safe nil-handling for access and structs (#13370) 2024-02-27 08:04:36 +01:00
Cameron Duley c1b54c6125 Add callout to full bitstring reference in the getting started guide (#13360) 2024-02-22 08:51:34 +01:00
José Valim d68c8d6cdd Unify handling of .. and ... 2024-02-07 12:26:39 +01:00
Steve Johns cd12b15238 Clarify "shorthands" in type specifications (#13311) 2024-02-01 20:13:17 +01:00
Steve Johns b705597dda docs: fix grammar errors in syntax reference docs (#13302) 2024-01-30 14:49:34 +01:00
Steve Johns 5e13403068 Add explicit clarification that values like 0 and "" are truthy in Elixir (#13300) 2024-01-30 09:57:29 +01:00
José Valim 92db97eab2 Revert "Fix some broken links in the guides (#13297)"
This reverts commit 96110c84c1.
2024-01-29 17:47:49 +01:00
shionryuu 96110c84c1 Fix some broken links in the guides (#13297) 2024-01-29 17:05:18 +01:00
Colin Caine f5cbd03f56 docs: minor simplification of anti-patterns page (#13293) 2024-01-29 08:23:07 +01:00
Steve Johns 810140b86b Fix string interpolation example in basic-types.md (#13292) 2024-01-28 18:07:38 +01:00
José Valim 5c45ea6fed Fix docs link
Related to #13284.
2024-01-27 11:46:21 +01:00
Jean KlinglerandJosé Valim a75371ad18 Make c/e/fprof clickable links in doc (#13290)
* Make c/e/fprof clickable links in doc

* Update lib/elixir/pages/getting-started/debugging.md

Co-authored-by: José Valim <jose.valim@gmail.com>

* Fix links

---------

Co-authored-by: José Valim <jose.valim@gmail.com>
2024-01-27 18:00:05 +09:00
Ben Swift f7b17e6e2f Fix typo in Typespecs reference (#13282) 2024-01-25 08:59:33 +01:00
Michał Łępicki b66c7c0e74 Improve wording in iex -S mix test --trace doc (#13272)
avoid -> prevents
2024-01-21 13:35:32 +01:00
José Valim 91de7e13b5 Add logo to docs 2024-01-21 11:12:04 +01:00
José Valim 97caaa56ab More docs to debug projects 2024-01-21 09:18:27 +01:00
Roman 2fe859ef83 Macro anti-patterns: fix incorrect error message in code examples (#13259) 2024-01-16 21:15:26 +01:00
Roman 06fb7c0330 Fix the explanation to match the explained code example in docs (#13255)
The description incorrectly states that both processes are initialized with 0, while in the code the second process receives a non-default initial value.
2024-01-15 13:42:31 +01:00
Jean Klingler 8cde231bbd behaviour -> behavior when not about OTP behaviours (#13240) 2024-01-09 15:25:14 +09:00
Jean Klingler 1e05b6ee29 Replace single quotes in charlist in doc (#13233) 2024-01-08 18:05:11 +09:00
José Valim 14895c98f3 Remove uneeded code comment 2024-01-02 18:05:17 +01:00
José Valim f91038aaea Improve anti-pattern titles 2024-01-02 16:42:12 +01:00
M.Yasoob Ullah Khalid ☺ 03f6ac30af Fixed a typo in code-anti-patterns.md (#13218)
Fixed a small typo
2024-01-01 13:35:24 +09:00
Will DouglasandWill Douglas 16ca292659 Fix typo in docs: for -> force (#13215)
Co-authored-by: Will Douglas <will.cavalcanti@vmtecnologia.io>
2023-12-29 15:55:16 +01:00
Adebisi AdeyeyeandAdebisi Adeyeye b8e4d0e56f Fix typo in docs: initial_valye -> initial_value (#13211)
Co-authored-by: Adebisi Adeyeye <adebisi.adeyeye@proebb.com>
2023-12-28 01:00:13 +01:00
Hussien Liban c3da2b8faa Update design-anti-patterns.md (#13210)
Not setting an option returns just the integer
2023-12-27 12:56:30 +01:00
José Valim dc270f0661 Add more examples to app config anti-pattern (#13204) 2023-12-26 09:55:51 +01:00
Travis Vander Hoop 509b8ffbef Fix typos and tweak language in anti-pattern docs (#13208) 2023-12-26 09:55:05 +01:00