Commit Graph
272 Commits
Author SHA1 Message Date
Chulki Lee 9f03c38d24 Use SPDX full name of Apache License 2.0 (#9104)
https://spdx.org/licenses/Apache-2.0.html

- Full name: Apache License 2.0
- Short identifier: Apache-2.0
2019-05-31 21:58:54 +02:00
Eksperimental 786a3d2adf Review of README.md (#9086) 2019-05-28 08:10:00 +02:00
José Valim da3c426478 Add a note that Erlang has to be installed before compiling from source
Closes #8877
2019-03-12 13:15:40 +01:00
José Valim acf2c4e9f2 Add Windows build badge 2019-01-29 17:15:13 +01:00
Cody Fuller 2b3227f131 Add note about generating epub docs (#8711) 2019-01-26 09:18:15 +01:00
eksperimental 4e7c652db3 Replace en-dash with regular hypen
Replace en-dash "–" (U+2013 EN DASH) with regular hyphen "-" (U+002D HYPHEN-MINUS).
While correct, it is reported in  #4408 that it will not display correctly em-dashes in
Windows terminals.
README file is updated accordingly for consistency.

While https://en.wikipedia.org/wiki/Jaro–Winkler_distance uses an en-dash,
it is replaced to avoid the problem in Windows terminals, since Wikipedia
takes care of the redirection.
2018-12-11 14:42:29 +01:00
José Valim 1c914f13f3 Remove APPENDIX from Apache 2 file 2018-11-07 20:02:31 +01:00
Eksperimental 3b61d2dd9d Swap order of commands in README file to run make test (#8314)
If the source code is not properly formatted, `make test` would not run.

[ci skip]
2018-10-21 22:25:06 +02:00
Eksperimental 4e3e6428b5 Link to https://elixir-lang.org instead of to http:// (#8272) 2018-10-10 09:45:52 +02:00
José Valim c6c508a99a Talk about the new announcement mailing list (#7996)
Promote the new announcements mailing list and how to retrieve
all security releases. Also promote the security disclosure link
more openly.
2018-07-27 15:40:34 +02:00
José Valim 35ac568044 Require Erlang/OTP 20+ 2018-07-12 12:12:00 +02:00
Eksperimental 5e987a702b Standardize use of Erlang, OTP and Erlang/OTP names (#7618)
This touches only messages directed to the end user,
so comments are ignored.

This is important, specially for newcomers, who may be confused
by the interchangeable use of Erlang and OTP.

The expressions used consistenly across the documentation are:
- Erlang/OTP version
- Erlang/OTP 20+
- Erlang/OTP release,
- Erlang/OTP documentation
- Erlang process
- Erlang project
- Erlang's error logger
- Erlang log message
- OTP application
- OTP behaviour
2018-04-28 07:34:26 -03:00
Kevin Busby 9ce15e568c Rewording for ease of reading (#7424)
* Simpler wording for clarity

Here are two small tweaks for faster reading comprehension.

1) “In case” usually evokes the sense “as a provision against
something”. “If” is unambiguous.
2) “… you can compile and run tests only for that particular file…”
could suggest a limitation on first reading.

* Clarify that testing just one file is optional

The wording has been further tweaked to emphasise that testing just one
file is an option (not a limitation).
2018-03-06 23:57:45 +01:00
José Valim ae8502d8cd Use tags on windows/unix and allow failures on appveyor (#7320) 2018-02-08 12:44:09 +01:00
José Valim 0db863d33f Fixes to readme and deprecation pages 2017-12-25 10:05:16 +01:00
José Valim 33d68631c4 Clarify the workflow for proposing new features 2017-10-20 11:51:15 +02:00
Pankaj Yadav a438177de0 Don't put a comma after the main clause when a dependent clause follows it (#6937) 2017-10-16 16:34:22 +02:00
Unnawut Leepaisalsuwanna 407135f3ab Fix README.md incorrect link to Getting Started guide (#6927) 2017-10-13 19:43:25 +02:00
José Valim fe5f63a6c2 Talk about style changes and "Allow edits from maintainers" 2017-07-18 11:52:40 +02:00
José Valim ca1ec8a86f Use proper Windows build badge 2017-05-26 12:52:30 +02:00
José Valim de967dddb4 Include Windows build in the README 2017-05-24 17:59:30 +02:00
Aleksei Magusev cac720d022 Rename clean_exbeam Make target to clean_elixir 2017-05-09 01:01:20 +02:00
Eksperimental fa8feaba59 Finish moving documentation links to hexdocs.pm (#6054) 2017-05-01 09:26:55 +02:00
Sam Davies 871de9aced Add extra documentation for developers (#6033) 2017-04-25 17:28:44 +02:00
José Valim 3fa4115ca7 Add a short summary about Elixir, closes #5823 2017-02-28 18:23:45 +01:00
Aleksei Magusev 280b9ab7a7 Improve test_stdlib usage paragraph in README 2016-12-22 19:40:29 +01:00
Tobias Pfeiffer b3c80b3a57 Clarify how to use test_stdlib instead of test_elixir (#5585)
I always thought test_elixir was broken as from the directory
structure I'd have expected it to only run the tests in elixir
e.g. the standard library which is what I mostly touch around
here :) However, it always ran almost everything.

A look at the Makefile reveals that this seems intentional but
that there's also test_stdlib, which seems for to point out in
the README imo.
2016-12-22 18:09:28 +01:00
shotat ab89595f4c fix typo (#5302) 2016-10-10 16:50:17 +02:00
José Valim 7d2c12b130 Make it clear pull requests are squashed on merge 2016-10-04 16:14:17 +02:00
Tim Heaney ace32ec67f Fix typo in README (#5283) 2016-10-02 20:07:02 +02:00
José Valim 316eb2d287 Update README.md 2016-09-21 14:33:08 +02:00
José Valim aeaf86695d Add link to security mailing list 2016-06-21 23:21:57 +02:00
José Valim cc31207718 Add responsibilities for proposing features 2016-05-13 08:42:29 +02:00
José Valim 74a8246ff6 Update README.md 2016-04-28 13:17:32 +02:00
Thijs Klaver abf6e7c28c Fix broken link in README 2016-04-20 14:58:48 +02:00
José Valim 633f8e8775 Make links to Elixir Core mailing list more prominent 2016-04-15 16:26:13 +02:00
José Valim 5e0b05de18 Use new issues template 2016-02-21 22:58:41 +01:00
Tejas Manohar 1932b5243e change irc:// URI to freenode's webchat
most IRC clients don't seem to support irc://, obviously not the command-line ones. additionally, GitHub doesn't consider irc:// a hyperlink so that's less useful but it does hyperlink this (and we're on freenode)

update webchat URL to have the correct channel
2015-10-05 11:44:06 -05:00
Wendy Smoak 03a7e43372 Clarify instructions for building the docs 2015-09-27 09:50:36 -04:00
eksperimental 0f7da65f87 Update README.md
* update license new license (EPL removed)
* format lines to be 72 char long
* update erlang requirements
2015-09-26 21:25:52 +07:00
eksperimental 6967a41472 License: Use NOTICE (remove LEGAL) 2015-09-26 18:54:32 +07:00
José Valim 34cf7b4880 Improve wording in COC links 2015-09-14 10:50:58 +02:00
optikfluffel dad7e203e3 add links to code of conduct 2015-09-14 10:44:48 +02:00
eksperimental ed5671b4f8 Standardize use of backticks and quotes; including Error messages and Title Case commands
This is a large commit that does the following:
* Removes backticks from messages and comments.
  All references to backticks have been replaced with double quotes everywhere the
  code is not interpreted as Markdown, (ie. anywhere outside documentation and
  markdown files, such as in code comments, or error messages).

* Variables in Exception messages are printed using `inspect`
  The way no-matching error message are printed, have changed because now we use inspect for printing
  variables. The following file and their respective test have been changed:
  - lib/elixir/lib/exception.ex
  - lib/elixir/lib/inspect/algebra.ex
  - lib/elixir/test/elixir/inspect_test.exs
  - lib/ex_unit/test/ex_unit/formatter_test.exs
  - lib/elixir/test/elixir/exception_test.exs

* Properly use Title Case for Mix, Git, Dializer

* Use backticks when citing a command

****************************************************
CONVENTION FOR RENAMING USING BACKTICKS AND QUOTES

https://github.com/elixir-lang/elixir/pull/3697#issuecomment-138811747

1. Backticks should never be printed in error messages, neither be included anywhere where Markdown code is not interpreted as such.

2. Do not use single quotes anywhere. We should favor double quotes everywhere, to avoid confusion

3. If you want to format something in error messages, use inspect. For example, if you want to show the dependency name and that is an atom, instead of the dependency "foo", let's show the dependency :foo. Less noise and may click better

4. Similarly, if you want to show something with double quotes, call inspect, as it handles escaping as well as the quotes

5. Things like "--all" just add verbosity, we can definitely read --all without ambiguity.

6. When using switches with a single hyphen (such as "-o"), we can make it explicit in the text: e.g. "... give the switch -o when choosing ..."

****************************************************
SHELL COMMANDS TO DETECT CODE BREAKING THE RULES

* Detect values surrounded by single-quotes where we want double-quotes.

    # regular variables
    ag "'#{"
    # constants or ENV variables
    ag "'[A-Z][A-Z0-9_-]+"
    # switches
    ag -i "(?<!(\[))'--?[a-z0-9][a-z0-9_-]+'"
    # atoms
    ag -i "(?<!(\[))':[a-z0-9][a-z0-9_-]+'"

    # DETECT BACKTICKS OUTSIDE DOCS
    ag "^\s+(?<!(#))#[^#\r\n]*\`" --ignore "*.md"
    ag '^\s+["%].*`' --ignore "*.md"
    ag -s '(raise|Error)\b(?!(`|/)).*\`'

* Spot mentions to running a command that is not using backticks:

    commands="elixir|elixirc|mix|iex|ex_doc|git|make|rebar|dialyzer|erl|rm|cd|mkdir|rmdir|ln|ls|pwd"
    actions="runs?|running|executes?|executing|types?|typing|enters?|entering|calls?|calling"
    ag '(?i)('${actions}')(?-i)\b[^`\r\n/]+[\ \t]+(?!(`))('${commands}')'
    ag '(?-i)\b(?!(`))('${commands}')[\ \t]+[^`\r\n/]+(?i)(commands?)'

* Spot where a command is mentioned:

    #commands="erlang|elixir|eex|iex|ex_unit|ex_doc|logger|elixirc|git|make|rebar|dialyzer|erl|rm|cd|mkdir|rmdir|ln|ls|pwd"
    commands="mix|elixirc|git|make|rebar|dialyzer|erl|rm|cd|mkdir|rmdir|ln|ls|pwd"
    ag -s '(?<!(\`))(?<!(\.))(?<!(/))(?<!(:))(?<!(_))\b('${commands}')\b(?!(:))(?!(\?))(?!(_))(?!(-))(?!(\.))(?!(\`))(?!(/))(?!(>))' \
    --ignore "*.erl" --ignore "*.yrl" --ignore "*.src"
2015-09-11 18:49:51 +07:00
eksperimental 7b2fa9192a Use Title Case and backticks for Erlang and Elixir applications
It includes Erlang, Elixir, ExUnit, ExDoc, Logger, IEx, elixirc

It leaves Mix for a different PR.

Command to spot these words:

    ag -s '(?<!(\`))(?<!(\.))(?<!(/))(?<!(:))(?<!(_))(erlang|elixir|eex|iex|ex_unit|ex_doc|logger|elixirc)(?!(:))(?!(\?))(?!(_))(?!(-))(?!(\.))(?!(\`))(?!(/))(?!(>))' \
    --ignore "*.erl" --ignore "*.yrl" --ignore "*.src"
2015-09-09 01:51:22 +07:00
eksperimental dcc7e4586f Fix markdown files
Corrects the indentation,
and change `bash` code blocks  to a more generic one: `sh`
2015-09-08 23:25:47 +07:00
eksperimental 51767139d4 update links to https. remove period adjacent to URLs. 2015-07-13 22:27:36 +07:00
Alex Marandon acc1818933 Fix doc build instructions
It is necessary to do a `deps.get` before calling `compile` or we get
this error:

    Unchecked dependencies for environment dev:
    * earmark (Hex package)
      the dependency is not available, run `mix deps.get`
    ** (Mix) Can't continue due to errors on dependencies
2014-12-08 23:05:05 +01:00
eksperimental 4f4eabc3a1 link to docs.html
updated as per jose's suggestions
2014-10-29 23:07:14 +11:00
eksperimental db042a6afd improve important links
* First link should be  Elixir Website
* Elixir documentation added.
* IRC line improved
2014-10-29 12:22:29 +11:00