Upgrading lemmy-js-client to use the new docs. (#195)

This commit is contained in:
Dessalines 2023-06-22 10:39:48 -04:00 committed by GitHub
parent 7aef53b900
commit 6d3c6304ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

2
.gitmodules vendored
View file

@ -13,7 +13,7 @@
[submodule "lemmy-js-client"]
path = lemmy-js-client
url = https://github.com/LemmyNet/lemmy-js-client
branch = release/v0.17
branch = release/v0.18
[submodule "lemmy-stats-crawler"]
path = lemmy-stats-crawler
url = https://github.com/LemmyNet/lemmy-stats-crawler.git

View file

@ -15,7 +15,7 @@ COPY lemmy-docs ./lemmy-docs
RUN ./mdbook build lemmy-docs -d ../docs
# Build the typedoc API docs
FROM node:14-alpine as api
FROM node:alpine as api
WORKDIR /app
COPY lemmy-js-client lemmy-js-client
WORKDIR /app/lemmy-js-client
@ -23,7 +23,7 @@ RUN yarn
RUN yarn docs
# Build the isomorphic app
FROM node:14-alpine as builder
FROM node:alpine as builder
RUN apk update && apk add yarn python3 build-base gcc wget git --no-cache
WORKDIR /app
@ -50,7 +50,7 @@ COPY --from=api /app/lemmy-js-client/docs ./src/assets/api
RUN yarn
RUN NODE_OPTIONS="--max-old-space-size=8192" yarn build:prod
FROM node:14-alpine as runner
FROM node:alpine as runner
COPY --from=builder /app/dist /app/dist
COPY --from=builder /app/node_modules /app/node_modules

@ -1 +1 @@
Subproject commit 2eac19b2a21d77d711b8a0b0a534affe0d4d6851
Subproject commit 4553c749cb0fb74d62fd156ebd119dc479693dfd