-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f38eef2
commit 3360cec
Showing
56 changed files
with
3,809 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,3 +88,7 @@ coverage/ | |
*.iws | ||
*.iml | ||
*.ipr | ||
|
||
|
||
# Doc | ||
doc/**/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
FROM alpine:latest AS BUILD | ||
|
||
RUN apk add npm | ||
|
||
WORKDIR /usr/app | ||
|
||
COPY doc-ui /usr/app | ||
|
||
RUN npm install | ||
RUN ./node_modules/gulp/bin/gulp.js bundle | ||
|
||
FROM alpine:latest AS UI | ||
|
||
COPY --from=BUILD /usr/app/build/ui-bundle.zip /usr/app/ui-bundle.zip | ||
|
||
|
||
FROM alpine:latest | ||
|
||
RUN apk add git | ||
RUN apk add npm | ||
RUN apk add ruby | ||
|
||
RUN mkdir /home/antora | ||
|
||
WORKDIR /home/antora | ||
|
||
COPY docs-site/package.json . | ||
COPY docs-site/package-lock.json . | ||
|
||
RUN npm install | ||
RUN gem install asciidoctor | ||
RUN gem install asciidoctor-pdf | ||
RUN gem install rouge | ||
RUN gem install kramdown-asciidoc | ||
|
||
ENV PATH="$PATH:/home/antora/node_modules/@antora/cli/bin/" | ||
|
||
COPY --from=UI /usr/app/ui-bundle.zip . | ||
|
||
WORKDIR /usr/app | ||
|
||
CMD ["antora", "--clean", "--stacktrace", "/usr/app/doc/docs-site/antora-playbook.yml"] |
Submodule doc-ui
added at
4651e2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
site: | ||
title: SysOn documentation | ||
start_page: syson::index.adoc | ||
|
||
output: | ||
clean: true | ||
|
||
content: | ||
sources: | ||
- url: /usr/app | ||
start_paths: doc/public | ||
branches: HEAD | ||
|
||
ui: | ||
bundle: | ||
url: /home/antora/ui-bundle.zip | ||
|
||
asciidoc: | ||
attributes: | ||
icons: font | ||
icon-set: fas | ||
sectanchors: | ||
sectlinks: | ||
sectnums: all | ||
page-toclevels: 3 |
Oops, something went wrong.