mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-22 04:11:15 +00:00
Fix docs extra fetches (#66)
* Updating submodules * Updating submodules * Fix to use new includes for lemmy-docs
This commit is contained in:
parent
fdb0b71983
commit
0906e227e4
6 changed files with 16 additions and 7 deletions
13
Dockerfile
13
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
|
# Build the docs
|
||||||
FROM rust:slim as docs
|
FROM rust:slim as docs
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN cargo install mdbook \
|
RUN cargo install mdbook \
|
||||||
--git https://github.com/Nutomic/mdBook.git \
|
--git https://github.com/Ruin0x11/mdBook.git \
|
||||||
--branch localization \
|
--branch localization \
|
||||||
--rev 0982a82
|
--rev 9d8147c
|
||||||
COPY lemmy-docs ./lemmy-docs
|
COPY lemmy-docs ./lemmy-docs
|
||||||
|
COPY --from=docs_include /app/lemmy-docs/include /app/lemmy-docs/include
|
||||||
RUN mdbook build lemmy-docs -d ../docs
|
RUN mdbook build lemmy-docs -d ../docs
|
||||||
|
|
||||||
# Build the typedoc API docs
|
# Build the typedoc API docs
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit cd7600376b5800e053e62fe76cbe26cd9ca9106a
|
Subproject commit bf2581dd19e07a5fa05abf08d33fd27bb515b6c9
|
|
@ -1 +1 @@
|
||||||
Subproject commit 9ca86abb39fc4ea15b062faa3daf246ec7965ba4
|
Subproject commit 06a3da7d4249c51e199a1981631b2de4fe6b1b56
|
|
@ -1 +1 @@
|
||||||
Subproject commit c9233bd193e0cc9f145102b0ea0298f42db8ced0
|
Subproject commit cbc165e92a1a36a1ebc96d0703cc43c2a57fdd11
|
|
@ -1 +1 @@
|
||||||
Subproject commit 93cdfa0eed1b4b958eb6dc2ac5885145f1952b4b
|
Subproject commit 52b456827de40be67de9598d08ec91d0d5e2cadc
|
|
@ -1 +1 @@
|
||||||
Subproject commit 762cb699a98d11032fe924cf50bf09e252413f6e
|
Subproject commit a71f78847afa03c3ed1256838334616714a2c8fc
|
Loading…
Reference in a new issue