Commit Graph
235 Commits
Author SHA1 Message Date
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
José Valim ae2cb6bc43 Add the Windows wiki link to the README 2014-08-06 12:05:55 +02:00
Alexei Sholik b816c98877 Fix formatting in .md files 2014-05-26 15:34:52 +03:00
Kamil Kieliszczyk 80d81ed47a Add links to LEGAL and LICENSE files in README.md 2014-05-20 02:31:51 +02:00
Arthur Nogueira Neves 73eb206c86 Update travis badge [skip ci]
I know this is a bit lame, but the svg badge does look better =)
2014-05-07 08:44:29 -04:00
Martin Schürrer 14ead54ac6 Update erl version header in README
so people don't get confused whether elixir works on 17 RC1
2014-05-01 19:19:33 +02:00
Yuki Ito 09e7dbf3d5 Fix version scheme for Erlang/OTP 2014-04-10 01:35:36 +09:00
Josh Adams 21a231a914 Fix typo in Maps, add 2 examples to docs 2014-02-27 07:53:13 -06:00
John Warwick ef475b241b Added advice to clean when building into the README 2013-10-29 16:48:38 -04:00
John Warwick d360addc65 Fixed ex_doc path in README 2013-06-20 21:37:47 -04:00
Jonathan J Hunt ce55936b45 Added more informative error to Makefile when ex_doc is not available.
Added more information to README about building docs.

fixes #1151
2013-06-09 16:04:48 -07:00
José Valim 3cd6e54fe9 development and questions 2013-05-26 22:25:31 +02:00
José Valim 336b9cf126 Update mailing list links 2013-05-26 21:02:29 +02:00
José Valim 26640e3940 Start v0.9.0.dev work 2013-05-22 14:56:26 +02:00
José Valim 1bf4d053b9 Use level two headings when appripriate 2013-05-15 12:04:41 -06:00
José Valim 06f1f3ccd7 Improvements to contributing guide 2013-05-15 11:41:12 -06:00
Yurii Rashkovskii 96c84370e3 README: List all applications provided 2012-10-22 01:32:36 -07:00
José Valim aa8bd9e021 Update repo info 2012-07-14 12:37:03 +02:00
José Valim 5ea95d3048 Tidy up README 2012-07-09 23:04:21 +02:00
José Valim d5031b6347 Move all code to erlang style apps 2012-07-05 20:20:16 +02:00
José Valim 77d018758b Move Elixir's kernel to lib/kernel 2012-07-04 18:52:40 +02:00
José Valim 6052352b62 Release 0.5.0 \o/ 2012-05-24 21:27:52 +02:00
Sergey Nartimov 18022f235b specify master branch in the build status image 2012-05-13 21:11:53 +03:00
José Valim 87916ce42f Since we haven't released yet, bump to the logical 0.5 instead of 0.9 2012-04-26 15:23:21 +02:00
José Valim c94dd0a1db Bump to 0.9.0, because that's what we are aiming for. 2012-03-25 22:56:50 +02:00
Alexei Sholik 89e81fed13 Please don't violate the DRY principle 2012-03-24 10:10:26 +02:00
Alexei Sholik 8d2da11d79 Update the Travis-CI URL 2012-03-24 10:09:55 +02:00
Carlos Galdino 0ddd77dee0 Add link to vim-elixir in README 2012-03-08 11:19:05 -03:00
José Valim 0c47d25929 Update README.md [skip ci] 2012-03-05 15:51:42 +01:00
João Britto 75c41d1eec Minor rewording and grammar fixes 2012-03-05 11:44:52 -03:00
Tony Arcieri d7154f6b0c Serve logo image out of the elixir-lang repo 2012-03-02 01:34:47 -08:00
Tony Arcieri a2f90d7b63 Rock out the logo in the README 2012-03-02 01:13:43 -08:00
Josh Perez 8ada15d3c4 Fixes Getting Started link in Important links 2012-02-29 14:43:26 -08:00
José Valim b544f2162c Point to the new guides. 2012-02-29 21:54:02 +01:00
José Valim 3f4455aa46 Move to Apache 2 License. Copyright Plataformatec. 2012-02-28 16:18:27 +01:00
José Valim 58a206c756 Update travis. 2012-02-28 15:46:32 +01:00
José Valim 05848ec1a2 github.com/josevalim -> github.com/elixir-lang 2012-02-28 15:46:03 +01:00
José Valim fafb7f1f29 Revert "Temporarily remove build status as CI can't connect to Github."
This reverts commit b3e5246c06.
2012-02-20 21:04:14 +01:00