Commit Graph
60 Commits
Author SHA1 Message Date
Jean Klingler 83e9b66e65 Add to_unsafe_atom/1 and soft-deprecate to_atom/1 (#15494) 2026-06-16 20:50:11 +09:00
José Valim 9b65902446 Deal with empty canonical on doc generation 2026-06-05 15:08:18 +02:00
Jonatan Männchen b5f1864d4e Use package.hexdocs.pm URL format instead of hexdocs.pm/package (#15429) 2026-05-30 22:19:31 +02:00
José Valim c494891344 Avoid warnings when generating docs 2026-05-22 10:05:14 +02:00
Jonatan Männchen 4602240192 Add Software Bill of Materials guide to the Documentation (#15067)
Introduces a new guide explaining SBoMs: what they are, why they matter
(vulnerability analysis, regulatory requirements, license compliance),
and how to generate them for Elixir projects using mix_sbom. Also covers
CI integration via GitHub Action and mentions ORT for deeper file-level
license scanning.
2026-02-26 10:07:12 +01:00
José Valim 44abf19c97 Generate markdown docs for Elixir 2026-01-20 17:02:56 +01:00
José Valim f1bbb2cd32 Infer types from guards and do post-inference on stdlib (#15032)
We now infer types from guards although we don't
yet infer conditional types (such as on `or`).
2026-01-02 19:48:45 +01:00
José Valim ff2b73861d Track domain keys when creating and updating maps (using the map syntax) (#14892) 2025-12-01 17:43:35 +01:00
Jonatan Männchen 0b4d0f360d Fix Plataformatec Copyright (#14970) 2025-11-28 10:35:10 +01:00
Eksperimental e55388d6e6 Do not crash when building docs from sources with no Git repo (#14950)
Closes https://github.com/elixir-lang/elixir/issues/14943
2025-11-22 10:47:11 -08:00
José Valim 260149951e Configure search engines in latest ExDoc 2025-10-23 21:00:49 +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
José Valim 59a53861fa Skip CLI and bootstrap modules from coverage (#14408) 2025-04-08 08:22:26 +02:00
José Valim 10cc7e995e Ensure more deprecated functionality is removed from coverage 2025-04-07 22:54:20 +02:00
Jonatan Männchen f3e8ceb5aa Implement Test Coverage Reporting (#14343) 2025-04-07 22:37:01 +02:00
José Valim a555900d87 Update mermaid version 2025-03-28 07:44:35 +01:00
Jean Klingler eda7b5e250 Fix usage of mermaid in ExUnit &co (#14376) 2025-03-28 07:41:58 +01:00
Jonatan Männchen 980500551c Inline Licence Info & Copyright for non-test files (#14256) 2025-02-07 21:11:09 +01:00
Jonatan Männchen e1d171e5c7 Add inline License / Copyright to Erlang files (#14255) 2025-02-05 13:50:00 +01:00
José Valim 4c1e9dac18 Use exdoc:loaded to reload mermaid graphs 2025-01-24 19:58:37 +01:00
José Valim 1637dc7184 Include latest and searchNodes metadata into hosted docs 2025-01-17 14:26:34 +01:00
José Valim 793c114721 Add JSON encoding and decoding (#14021) 2024-12-10 12:14:30 +01:00
José Valim 80993a465a Update docs generation config 2024-11-27 20:46:52 +01:00
José Valim bb028b951f Always consider Elixir modules on inference (#14000) 2024-11-19 13:40:16 +01:00
José Valim 485ca72ae2 Infer types and use them across remote calls (#13981)
This also unifies handling of deterministic builds with Erlang/OTP
as well as warnings_as_errors.
2024-11-09 18:00:27 +01:00
José Valim 6342bb2803 Exclude latest tags 2024-09-17 18:01:25 +02:00
José Valim ad3646e4fe Fix docs node generation 2024-09-17 09:36:39 +02:00
Jean Klingler 1286a6257f Replace unless/2 usages in the codebase (#13808) 2024-09-06 16:22:51 +09:00
Douglas Vought 5b742531b2 Load mermaid asynchronously (#13778)
If mermaid is synchronously loaded, a slow load can prevent the sidebar navigation from displaying. Instead, we load mermaid asynchronously and then call `mermaidLoaded()` when it loads.
2024-08-13 15:42:55 +02:00
José Valim 0fd44dd5e3 Add docs and changelog around gradual set-theoretic types 2024-05-05 11:17:30 +02:00
José Valim 68ac7b2d70 Perform dump diffs on non-reproducible binary beams 2024-05-02 13:57:03 +02:00
Theodor Fiedler 38f62a8543 Implement Duration and shift/2 for calendar types (#13385) 2024-04-04 12:27:33 +02:00
Wojtek Mach 3c8a005a03 Default defimpl to @moduledoc false (#13295) 2024-01-29 16:33:39 +01:00
José Valim 5c45ea6fed Fix docs link
Related to #13284.
2024-01-27 11:46:21 +01:00
Wojtek Mach cc9e986bde Update Windows installer to write Elixir install root to registry (#13157)
We don't need this right now but it could be useful in the future, if
anything to detect if Elixir was installed using this installer.

Demo:

    iex> {:ok, r} = :win32reg.open([:read])
    iex> :win32reg.change_key(r, ~c"\\hklm\\software\\wow6432node\\elixir\\elixir")
    iex> :win32reg.value(r, ~c"installroot")
    {:ok, ~c"C:\\Program Files\\Elixir"}
2023-12-07 00:28:04 +01:00
Wojtek Mach 374edd8fb4 Update Windows installer to register in Add/Remove Programs (#13156) 2023-12-06 22:43:53 +01:00
Wojtek Mach 6c1138d6f5 Improve Windows Installer (#12945)
1. If we couldn't verify installed OTP, don't quit but let user proceed with installing just Elixir

2. When checking installed OTPs, pick the recent most installed. Previously we were picking the first one which was basically guaranteed to be too old.

3. If we find an existing Elixir installation but it doesn't match the OTP version, offer to download the OTP version this Elixir installer was compiled against (which usually would be the newer version)

4. Add "Verify Erlang/OTP" button which re-checks for installed OTP.

Closes #12678.
2023-09-20 10:24:17 +02:00
José Valim 77abd0606f Have references come last 2023-09-17 11:29:16 +02:00
Wojtek Mach 3817c18619 Fix PATH handling on Windows Installer (#12900) 2023-08-30 17:04:40 +02:00
José Valim 7e273b8443 Generate ePUB format 2023-08-21 14:23:32 +02:00
José Valim 379f38e64e Add Enum cheatsheet 2023-08-21 13:16:59 +02:00
José Valim cb3725234b More fixes, add disclaimer 2023-08-18 00:58:02 +02:00
José Valim 4e76929e59 More renames to avoid ambiguity 2023-08-18 00:35:36 +02:00
José Valim 6151e30874 Rename guides to avoid conflicts 2023-08-17 22:44:18 +02:00
José Valim f7e33c70c8 Add Mermaid diagram to GenServer 2023-08-17 21:46:10 +02:00
Andrea Leopardi 51a9977b79 Move "Introduction to Mix" guide here (#12774) 2023-07-09 16:07:24 +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