Skip to content

Commit 2b6d3f8

Browse files
Fix canonical link in HTML docs (#10206)
The comments would add space to the CANONICAL variable, redering the link like <link rel="canonical" href="https://hexdocs.pm/elixir/v1.10/ /Kernel.html" />
1 parent 92cf894 commit 2b6d3f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ PREFIX ?= /usr/local
22
TEST_FILES ?= "*_test.exs"
33
SHARE_PREFIX ?= $(PREFIX)/share
44
MAN_PREFIX ?= $(SHARE_PREFIX)/man
5-
CANONICAL := master/ # master/ or vMAJOR.MINOR/
5+
#CANONICAL := vMAJOR.MINOR/
6+
CANONICAL ?= master/
67
ELIXIRC := bin/elixirc --ignore-module-conflict $(ELIXIRC_OPTS)
78
ERLC := erlc -I lib/elixir/include
89
ERL_MAKE := if [ -n "$(ERLC_OPTS)" ]; then ERL_COMPILER_OPTIONS=$(ERLC_OPTS) erl -make; else erl -make; fi

0 commit comments

Comments
 (0)