Commit Graph
132 Commits
Author SHA1 Message Date
José Valim ce47442332 Remove Erlang Syntax crash course link
Closes #15680.
2026-07-27 10:08:55 +02:00
Alexander Gubarev aaaa921781 Fix pages code examples (#15663) 2026-07-24 08:32:58 +02:00
Patric f9a7552ab5 Fix incorrect examples and typos in guides (#15620)
The guide pages under lib/elixir/pages are not doctests, so some
example outputs drifted from what current Elixir prints. I re-ran
each example on main (1.21.0-dev, OTP 29) with a clean IEx and
updated the blocks to match the actual output. Also fixes two typos.
Map ordering examples were left untouched since small-map print
order is not guaranteed across OTP versions.

Signed-off-by: Patric Vinicios <psdev7@gmail.com>
2026-07-16 17:29:46 +02:00
José Valim 66ca149315 Clarify protocols come later, closes #15529 2026-06-26 16:55:25 +02:00
Barna Kovacs 7ad36f1bcc Correct :as_list typo to :as_lists in inspect examples (#15464)
Fixes occurrences where :as_list was used instead of :as_lists
for the :charlists option in List documentation and the getting
started guide.
2026-06-12 13:15:13 +02:00
José Valim 28734f03d0 Clarify aliases is part of the next chapter, closes #15401 2026-05-18 20:50:15 +02:00
Dinesh Anbazhagan 25cbbfe5d2 Fix errors in getting-started and mix-and-otp guides (#15289) 2026-04-20 20:34:28 +02:00
José Valim 8df8f92030 Fix introduction to the next topic in some pages, closes #15205 2026-03-22 20:04:55 +01:00
José Valim ec8156aad9 Tiny cleanup on sigil chapter 2026-03-13 11:53:10 +01:00
Jean Klingler 10902df940 More cleanup of older OTP versions (#15170)
* More cleanup since we require OTP 27

* Remove mentions to OTP25- in docs

* Use same versions in Getting Started as in Mix guide
2026-03-10 19:49:17 +09:00
Jean Klingler 2817a70680 Remove mentions to OTP27+ versions from docs, comments and tests (#15165)
* Remove mentions of "since OTP27+"

* Remove test code for OTP26-
2026-03-10 15:39:03 +09:00
José Valim 5abcc33267 Improve error message and docs for headless clauses, closes #15104 2026-02-18 09:54:04 +01:00
Dave Lucia 8d8111af07 Convert (most) links to https (#15028) 2025-12-30 09:21:23 +01:00
Jack Smith c80fc6da1a Fix grammatical error in getting started docs (#14911) 2025-11-14 12:26:14 +09:00
Leslieandwolfgang 9a1c722737 Fix struct update example in guide (#14877)
Co-authored-by: wolfgang <wolfgang.yin@gmail.com>
2025-10-30 22:52:31 +09:00
Jérémy Aubé 5bcfbd38be Fix typo (#14859) 2025-10-24 20:42:02 +02:00
Eksperimental da20a70810 Elixir v1.19 introduces a warning related to structs, (#14818)
hint: given pattern matching is enough to catch typing errors, you may optionally convert the struct update into a map update. For example, instead of:

         user = some_fun()
         %User{user | name: "John Doe"}

     it is enough to write:

         %User{} = user = some_fun()
         %{user | name: "John Doe"}

Since this could be seen by new-comers to the language, offering a better user experience by avoiding abbreviations. Favoring the usage of "some_function" instead of "some_fun"
2025-10-07 15:59:08 +02:00
Eksperimental dd45d9666f Use backticks around literals in documentation (#14733) 2025-08-30 19:28:10 +02:00
Eksperimental 9ae79d1385 Format numbers with underscores to improve readability (#14735) 2025-08-30 19:25:48 +02:00
ice_cap 06ff083e48 Update structs.md (#14683) 2025-08-04 08:55:34 +02:00
Benjamin Milde fb8f6900fa Docs updates und restructuring (#14636) 2025-07-12 22:07:34 +02:00
José Valim ce64fc364d Revamp Mix & OTP guides (#14637) 2025-07-11 15:51:18 +02:00
Gary Rennie be9352ed70 Add ETS to the Erlang Term Storage section of erlang libs (#14644)
This will ensure that it appears in the short search results on ExDoc
instead of having to navigate through to the search results.
2025-07-11 15:05:33 +02:00
José Valim c710b2afb7 Remove explicit mentions to elixirc, as it isn't used in practice 2025-07-10 10:21:49 +02:00
Eksperimental 352f2723a9 Use backticks around literals in documentation (#14633) 2025-07-10 09:36:20 +02:00
Christopher Keele 66753a868b Improve docs for "textual sigils" (#14591) 2025-06-19 11:10:55 -07:00
Ahmed Elawad 638ec9d0ac docs: Debugging page typo (#14502) 2025-05-18 09:00:58 +02:00
João Paulo Abreu 84c64807bc Doc: Fix markdown link formatting in debugging section (#14487) 2025-05-10 17:13:00 +02:00
Markus Krogemann e967d58273 Fix typo (#14447) 2025-04-23 08:36:48 +02:00
Jason Florentino 901e066083 Fix typo in anonymous-functions.md (#14295) 2025-02-24 09:13:05 +01:00
Jonatan Männchen 980500551c Inline Licence Info & Copyright for non-test files (#14256) 2025-02-07 21:11:09 +01:00
Jean Klingler adcb7c6c09 Fix String.split/3 example in guide and add note in docs (#14223) 2025-01-25 07:11:26 +09:00
Jean Klingler 08d844a206 Add and simplify links to erlang documentation (#14179)
* Link more erlang modules in docs

* Fix epmd link

* Use `:atom` syntax to link erlang modules
2025-01-12 18:58:38 +09:00
Sebastia Ramon 68a17aea7e Fix typo in alias-require-and-import.md (#14086) 2024-12-20 09:56:09 +01:00
José Valim 87bba10b00 Add support for :group doc metadata and use it in IEx.Autocomplete 2024-12-16 13:52:46 +01:00
Albin Kocheril Chacko 2539f85355 Fix a typo in the docs (#13937) 2024-10-29 15:24:41 +01:00
Ellyse 5bbe055037 Updates to keywords_and_maps documentation (#13935) 2024-10-29 00:34:53 +01:00
José Valim d133c704ac Improvements to documentation chapter 2024-10-28 22:46:54 +01:00
newton 139f96c84e Fix typo on new updated docs (#13934) 2024-10-28 22:29:23 +01:00
José Valim c5cae45963 More updates to keywords and maps 2024-10-28 17:25:48 +01:00
José Valim 31e5f5ba1e Simplifying keywords and guards 2024-10-28 17:21:45 +01:00
José Valim bd254aa815 Simplify IO and file system chapter 2024-10-28 17:02:44 +01:00
José Valim 6740246636 Simplify streams examples 2024-10-28 16:50:03 +01:00
José Valim db0e336eae Improvements to recursion guide 2024-10-28 16:38:52 +01:00
José Valim 5f5961284e Improvements to modules and functions guides 2024-10-28 16:31:32 +01:00
José Valim 5d6648b10a Improve introduction to capture syntax shorthand 2024-10-28 16:05:04 +01:00
José Valim 7f64c51fa3 Improvements to cond introduction 2024-10-28 14:54:35 +01:00
Ahmed Kamal bd899cc399 Reword some docs in the getting started guide (#13888) 2024-10-10 20:40:04 +02:00
Jean Klingler 2551fbd1a7 Move fun/arity explanation later in getting started (#13890) 2024-10-08 21:24:16 +09:00
Jean Klingler 39d1ecb499 Various small improvements in guides and docs (#13887) 2024-10-08 18:05:38 +09:00