Skip to content

Commit a057d1a

Browse files
Merge pull request #77 from crystal-lang/feature/docs-canonical-path
Use canonical base url for generating docs
2 parents e1704da + ef5d9f1 commit a057d1a

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)