Skip to content

Commit ef5d9f1

Browse files
Use canonical base url for generating docs
1 parent e1704da commit ef5d9f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN git clone https://github.com/crystal-lang/crystal \
99
&& cd crystal \
1010
&& git checkout ${crystal_sha1} \
1111
\
12-
&& make docs DOCS_OPTIONS='--json-config-url=/api/versions.json'\
12+
&& make docs DOCS_OPTIONS='--json-config-url=/api/versions.json --canonical-base-url="https://crystal-lang.org/api/latest/"'\
1313
&& git describe --tags --long --always 2>/dev/null > ./docs/revision.txt \
1414
&& mv ./docs ./${output_docs_base_name} \
1515
\

0 commit comments

Comments
 (0)