File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1
1
REBAR ?= "$(CURDIR ) /rebar"
2
2
PREFIX ?= /usr/local
3
3
DOCS := v1.2
4
+ CANONICAL := stable
4
5
ELIXIRC := bin/elixirc --verbose --ignore-module-conflict
5
6
ERLC := erlc -I lib/elixir/include
6
7
ERL := erl -I lib/elixir/include -noshell -pa lib/elixir/ebin
@@ -128,7 +129,7 @@ clean_exbeam:
128
129
129
130
LOGO_PATH = $(shell test -f ../docs/logo.png && echo "--logo ../docs/logo.png")
130
131
SOURCE_REF = $(shell head="$$(git rev-parse HEAD ) " tag="$$(git tag --points-at $$head | tail -1 ) " ; echo "$${tag:-$$head}\c")
131
- COMPILE_DOCS = bin/elixir ../ex_doc/bin/ex_doc "$(1 ) " "$(VERSION ) " "lib/$(2 ) /ebin" -m "$(3 ) " -u "https://github.com/elixir-lang/elixir" --source-ref "$( call SOURCE_REF ) " $(call LOGO_PATH) -o doc/$(2 ) -p http://elixir-lang.org/docs.html $(4 )
132
+ COMPILE_DOCS = bin/elixir ../ex_doc/bin/ex_doc "$(1 ) " "$(VERSION ) " "lib/$(2 ) /ebin" -m "$(3 ) " -u "https://github.com/elixir-lang/elixir" --source-ref "v $( VERSION ) " $(call LOGO_PATH) -o doc/$(2 ) -a http://elixir-lang.org/docs/ $( CANONICAL ) / $( 2 ) / -p http://elixir-lang.org/docs.html $(4 )
132
133
133
134
docs : compile ../ex_doc/bin/ex_doc docs_elixir docs_eex docs_mix docs_iex docs_ex_unit docs_logger
134
135
You can’t perform that action at this time.
0 commit comments