Mikael Muszynski
7c19db6727
Fix erroneous code snippet in documentation ( #9963 )
...
The return value in the code example is the opposite of what the code
would actually return, making the example misleading.
2020-04-25 18:12:20 +02:00
José Valim
8ec9860a4e
Ensure generated docs can be overridden without explicit clause
2020-04-25 00:35:04 +02:00
Alexei Sholik
2c8fe38a07
Improvements in Time.diff() docs ( #9955 )
2020-04-25 00:06:18 +02:00
Cohen Carlisle
2627fa49c5
Update Enum.join and map_join docs ( #9960 )
...
* reference string instead of binary for both functions
* remove outdated reference to list joiner in map_join
2020-04-25 00:05:51 +02:00
José Valim
1387035845
Do not assume all files have started to compile, closes #9943
2020-04-23 20:07:42 +02:00
José Valim
89f733e258
Do not attempt to load in memory beam files, closes #9788
2020-04-23 15:58:29 +02:00
José Valim
9b5cafe72a
Bring back String.normalize and fix infinite loop
2020-04-23 13:35:49 +02:00
José Valim
138c1bd9ed
Fixes to ExUnit.Diff, closes #9926
2020-04-21 20:24:09 +02:00
Wojtek Mach
b79a97a6b6
Add __mix_recompile__?/0 callback ( #9919 )
2020-04-21 13:40:47 +02:00
Ivan Rublev
29f29419a2
Add +++ and --- with right associativity to the list of custom operators ( #9954 )
2020-04-21 13:03:31 +02:00
Wojtek Mach
48ef163566
Update :skip_undefined_reference_warnings_on in docs.exs ( #9953 )
2020-04-20 09:51:54 +02:00
Michał Szajbe
62db05ded2
Remove references to module in local_function and local_macro events docs ( #9945 )
2020-04-16 12:04:20 +02:00
José Valim
4e8ff12bea
Add |/2 to special forms
2020-04-13 21:22:03 +02:00
Andrea Leopardi
e30525bdbb
Fix formatting in Application.compile_env!/3 docs
2020-04-12 14:23:02 +02:00
Aaron Renner
fc12dce7c3
Document that File.cd/1 affects the BEAM globally ( #9928 )
2020-04-11 16:52:48 +02:00
IanWizard
10a0fd8144
Fixed typo in naming conventions docs. ( #9929 )
...
A typo in naming-conventions.md caused a broken link on hexdocs.pm
2020-04-11 16:20:22 +02:00
Michael Wu
1c157bdc54
Fix typo in Macro docs ( #9927 )
2020-04-10 10:23:15 +02:00
Pablo Costas
110dfe67aa
Fix tokenizer emitting repeated warnings in the REPL ( #9924 )
...
Now we only emit tokenizer warnings upon tokenization success.
2020-04-10 00:48:49 +02:00
José Valim
3300016a85
Fix Erlang compiler bug on 21.0
2020-04-10 00:46:37 +02:00
Luca Peppe
ee9667848a
Fix supervisor docs ( #9925 )
2020-04-09 16:43:06 +02:00
José Valim
8742096f77
Do not emit warwnings for injected funs
2020-04-07 18:23:04 +02:00
José Valim
3be6098300
Improve docs and treat all missing as hidden
2020-04-06 17:14:06 +02:00
José Valim
3d3e233255
Refactor binary handling
2020-04-05 20:15:50 +02:00
José Valim
68ad287a58
Improve error message for nested binaries in match without specifiers, closes #9908
2020-04-04 12:35:46 +02:00
Tom Hoenderdos
101a801bdd
Add guard to Code.unrequire_files/1 ( #9921 )
2020-04-03 14:40:59 +02:00
Andrea Leopardi
9306ca9ea4
Improve some documentation in the String module
2020-03-29 10:32:12 +02:00
José Valim
5e3ef21c24
Show Erlang docs directly in the shell ( #9843 )
2020-03-28 20:43:45 +01:00
Wojtek Mach
97aef3c5db
Deprecate non-atom keys on put_env, get_env, fetch_env*, delete_env ( #9915 )
...
Typespecs already required an atom key but it was never enforced by
code. We're doing this because we eventually would like to support
passing a _path_ like:
Application.get_env(:myapp, [:key, :foo, :bar])
and this way we will be consistent with recently added
`Application.compile_env/3`.
2020-03-28 13:02:23 +01:00
José Valim
8491f0dc74
Fix improper regex use, closes #9914
2020-03-28 10:49:23 +01:00
Charlie
6db1b1258e
Minor documentation correction ( #9913 )
2020-03-27 16:18:17 +01:00
Wojtek Mach
2701169b1e
Use new ExDoc extras auto-links ( #9912 )
2020-03-27 00:05:48 +01:00
José Valim
f3806f82af
Revert "Use an empty keyword list instead of nil for empty definitions"
...
Closes #9910
This reverts commit 4477115675 .
2020-03-24 20:21:01 +01:00
José Valim
68c1ae2545
Fix formatting
2020-03-21 19:36:05 +01:00
Glenn Vanderburg
9a9b1f48bc
Document operators on the Operators page ( #9903 )
2020-03-21 08:50:23 +01:00
José Valim
644bc7c5d7
Skip sys_core_prepare pass on Erlang/OTP 23+
2020-03-18 14:21:13 +01:00
eric
6525df8c8a
Improves readability of Keyword module docs ( #9897 )
2020-03-18 00:27:22 +01:00
Everett Griffiths
b2270d7d3d
Includes an example of how to use ANSI functions to format output ( #9893 )
2020-03-17 11:47:19 +01:00
Fernando Tapia Rico
72cf0da6fb
Improve 'check_reproducible' script ( #9879 )
...
The new script performs a "BEAM-diff" in case of BEAM files.
2020-03-15 12:19:20 +01:00
José Valim
1a4efb79a1
Reduce the newlines count when they are immediately followed by a comment, closes #9873
2020-03-13 11:27:06 +01:00
José Valim
c36090f3a1
Notify the script has been tested for bash, closes #9890
2020-03-13 09:44:40 +01:00
Hans Bernhard Gödeke
593b3083c4
Warn when @doc attribute is replaced across clauses
...
Closes #9883
Closes #9888
2020-03-13 09:44:40 +01:00
Eric Meadows-Jönsson
cb2167600a
Remove list generator clause erlang comprehensions ( #9891 )
...
Erlang comprehensions are only used when all generators are binary.
2020-03-12 22:56:27 +01:00
José Valim
d375989b28
Do not warn on nullary calls without parens
2020-03-12 13:11:11 +01:00
Boris
862b6ebfee
Add default and enforce keys in Version struct ( #9886 )
...
String.Chars.to_string/1 was failing due to unexpected `nil` value in `pre` field.
2020-03-09 19:59:23 +01:00
Wojtek Mach
7d777ca739
Fix links ( #9882 )
2020-03-09 10:06:00 +01:00
Cohen Carlisle
e19c059a1b
Update String.replace/4 and String.split/3 docs ( #9876 )
2020-03-08 19:09:17 +01:00
José Valim
9550632e2c
Shutdowns can be any term, closes #9878
2020-03-07 00:20:16 +01:00
Fernando Tapia Rico
ea61a70953
Document version of :start/:stop events (tracers) ( #9871 )
2020-03-03 20:09:30 +01:00
Eric Meadows-Jönsson
31818a36e6
Do not propagate context between clauses ( #9869 )
2020-03-03 08:19:20 -08:00
José Valim
6055db482a
Add start and stop events to compilation tracers, closes #9868
2020-03-02 14:36:19 +01:00