diff --git a/Dockerfile b/Dockerfile index 35e0253..a22cfd0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,20 @@ +# Build the curl includes for the docs +FROM alpine:3 as docs_include +RUN apk add --no-cache curl bash +WORKDIR /app +COPY lemmy-docs ./lemmy-docs +WORKDIR /app/lemmy-docs +RUN ./update-includes.sh + # Build the docs FROM rust:slim as docs WORKDIR /app RUN cargo install mdbook \ - --git https://github.com/Nutomic/mdBook.git \ + --git https://github.com/Ruin0x11/mdBook.git \ --branch localization \ - --rev 0982a82 + --rev 9d8147c COPY lemmy-docs ./lemmy-docs +COPY --from=docs_include /app/lemmy-docs/include /app/lemmy-docs/include RUN mdbook build lemmy-docs -d ../docs # Build the typedoc API docs diff --git a/joinlemmy-translations b/joinlemmy-translations index cd76003..bf2581d 160000 --- a/joinlemmy-translations +++ b/joinlemmy-translations @@ -1 +1 @@ -Subproject commit cd7600376b5800e053e62fe76cbe26cd9ca9106a +Subproject commit bf2581dd19e07a5fa05abf08d33fd27bb515b6c9 diff --git a/lemmy-docs b/lemmy-docs index 9ca86ab..06a3da7 160000 --- a/lemmy-docs +++ b/lemmy-docs @@ -1 +1 @@ -Subproject commit 9ca86abb39fc4ea15b062faa3daf246ec7965ba4 +Subproject commit 06a3da7d4249c51e199a1981631b2de4fe6b1b56 diff --git a/lemmy-instance-stats b/lemmy-instance-stats index c9233bd..cbc165e 160000 --- a/lemmy-instance-stats +++ b/lemmy-instance-stats @@ -1 +1 @@ -Subproject commit c9233bd193e0cc9f145102b0ea0298f42db8ced0 +Subproject commit cbc165e92a1a36a1ebc96d0703cc43c2a57fdd11 diff --git a/lemmy-js-client b/lemmy-js-client index 93cdfa0..52b4568 160000 --- a/lemmy-js-client +++ b/lemmy-js-client @@ -1 +1 @@ -Subproject commit 93cdfa0eed1b4b958eb6dc2ac5885145f1952b4b +Subproject commit 52b456827de40be67de9598d08ec91d0d5e2cadc diff --git a/lemmy-translations b/lemmy-translations index 762cb69..a71f788 160000 --- a/lemmy-translations +++ b/lemmy-translations @@ -1 +1 @@ -Subproject commit 762cb699a98d11032fe924cf50bf09e252413f6e +Subproject commit a71f78847afa03c3ed1256838334616714a2c8fc