Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
siibra-explorer
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiao Gui
siibra-explorer
Commits
fd9b9e0d
Commit
fd9b9e0d
authored
4 years ago
by
Xiao Gui
Browse files
Options
Downloads
Patches
Plain Diff
bugfix: do not use dockerbuild for auto gen screenshot
parent
f6f9b51c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/Dockerfile
+1
-33
1 addition, 33 deletions
docs/Dockerfile
mkdocs.yml
+10
-0
10 additions, 0 deletions
mkdocs.yml
with
11 additions
and
33 deletions
docs/Dockerfile
+
1
−
33
View file @
fd9b9e0d
# TODO using dockerfile will not work for readthedocs ...
# need to consider how to build for read the docs
FROM
xgui3783/pptr-docker:4383e79bc83452e4bdaf098039635c36c55ffb8f
as
img_autogen
COPY
. /iav
WORKDIR
/iav
# build aot first && install webdriver & pptr
RUN
npm i
# build-aot
RUN
npm run build-aot
# for selenium web driver
# RUN apt-get update && apt-get install default-jre -y
# update webdriver
RUN
npm run wd
--
update
--versions
.chrome
=
80.0.3987.106
# install pptr
RUN
npm i
--no-save
puppeteer@2.1.0
# install deploy folder
RUN
cd
deploy
&&
\
npm i
# auto generate screenshots
RUN
npm run e2e
--
--specs
./e2e/screenshots/gen.js
FROM
python:3.7
as
builder
COPY
. /iav
WORKDIR
/iav
RUN
pip
install
mkdocs mkdocs-material mdx_truly_sane_lists
COPY
--from=img_autogen /iav/docs/autogen_images /iav/docs/autogen_images
RUN
pip
install
mkdocs mkdocs-material mdx_truly_sane_lists errandkun
RUN
mkdocs build
...
...
This diff is collapsed.
Click to expand it.
mkdocs.yml
+
10
−
0
View file @
fd9b9e0d
...
...
@@ -14,6 +14,16 @@ markdown_extensions:
-
footnotes
-
mdx_truly_sane_lists
plugins
:
-
search
-
errandkun
:
extract_path
:
docs/autogen_images
external_resources
:
-
type
:
github
owner
:
fzj-inm1-bda
repo
:
interactive-viewer
workflow_name
:
e2e
pages
:
-
Home
:
'
index.md'
-
System requirements
:
'
requirements.md'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment